![]() |
|
|
#151 | |
|
"William"
May 2003
New Haven
2·7·132 Posts |
Quote:
William |
|
|
|
|
|
|
#152 |
|
May 2005
Copenhagen, Denmark
172 Posts |
I'm not a genius to this kind of stuff but I tried and I tried to compile GMP-ECM, but it kept saying that it couldn't find gmp.h every time I wanted to ./configure --with-gmp=/usr/local. Then I went into the GMP folder and ran that ./configure stuff and it did a lot of things so I continued following Jes's guide and typed make. Then it worked for some time.
But when it finished I still couldn't find any ecm.exe, so I went back to the GMP-ECM directory and tried both ./configure and make commands but it still couldn't find gmp.h AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
#153 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
It's hard to tell what exactly went wrong from an error report this vague... what system are you on, and which steps exactly did you take, in which order?
Odds are that the installation of GMP and/or GMP-ECM is somewhat borked now. You might try deleting the gmp and ecm-gmp directories and start over, following Jes' instructions step-by-step, in the correct order (it matters). Alex |
|
|
|
|
|
#154 |
|
May 2005
Copenhagen, Denmark
12116 Posts |
Okay. Now I'm writing this post while I do the stuff...
1) Download http://prdownloads.sf.net/mingw/MinG...1.exe?download 2) Download http://prdownloads.sf.net/mingw/MSYS...0.exe?download 3) Install both (to C:\DC\MinGW and C:\DC\1.0) 3.1) Said y, y and c:\DC\MinGW to the DOS-box at the MSYS installation 4) Started MSYS from desktop and shut it down again 5) Download http://ftp.sunet.se/pub/gnu/gmp/gmp-4.1.4.tar.gz and moved the zip to C:\DC\1.0\home\joh04y18 6) Ran MSYS again 7) Typed "gunzip gmp-4.1.4.tar.gz" 8) Typed "tar -xvf gmp-4.1.4.tar" (and it started unpacking a whole bunch of stuff) 9) Typed "cd gmp-4.1.4" (changed directory) 10) Typed "./configure" (and it started checking and creating a bunch of stuff) 11) Typed "make install" (and it came up with a whole bunch of weird stuff) 12) Download http://home.in.tum.de/~kruppa/ecm-6.0.tar.gz and moved the zip to C:\DC\1.0\home\joh04y18 13) Back in the ~ directory I typed "gunzip ecm-6.0.tar.gz" 14) Typed "tar -xvf ecm-6.0.tar" (and it unpacked) 15) Went into the ecm-6.0 directory and typed "./configure --with-gmp=/usr/local" (and it checked stuff) 16) Typed "make" 17) Sat puzzled, suddenly realizing that now it was able to make ecm.exe 18) Hit myself with a hammer As you can see, I apparently screwed up somewhere before. Thanks guys! |
|
|
|
|
|
#155 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
>Thanks guys!
A pleasure, and congrats! One thing though, the latest version of GMP-ECM is 6.0.1 which incorporates several bug fixes. It is at http://home.in.tum.de/~kruppa/ecm-6.0.1.tar.gz I recommend using that one. It means you'll have to compile GMP-ECM again (sorry about that) but not GMP, i.e. restart at step 12), like so: 12) Download http://home.in.tum.de/~kruppa/ecm-6.0.1.tar.gz and move the zip to C:\DC\1.0\home\joh04y18 13) Back in the ~ directory type "gunzip ecm-6.0.1.tar.gz" 14) Type "tar -xvf ecm-6.0.1.tar" (and it will unpack) 15) Go into the ecm-6.0.1 directory and type "./configure --with-gmp=/usr/local" (and it'll check stuff) 16) Type "make" Alex |
|
|
|
|
|
#156 | |
|
May 2005
Copenhagen, Denmark
172 Posts |
Quote:
Just kidding, actually. That was easy as pie. Thanks again, 6.0.1 ecm.exe created
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GMP 6.1.0 released | jwaltos | Software | 0 | 2015-11-10 03:36 |
| GTX 960 Released | Mark Rose | GPU Computing | 12 | 2015-06-12 09:51 |
| GCC 4.8 released | Dubslow | Programming | 0 | 2013-03-24 07:37 |
| PRPNet 4.0.1 Released | Joe O | Sierpinski/Riesel Base 5 | 1 | 2010-10-22 20:11 |
| PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |