Fw: Install GMP 5.0.1

Marten Alex martenscience at yahoo.com
Sat Feb 20 11:53:22 CET 2010

Coud you please help me to solve this problem ?
I am trying to install gmp- 4.3.1 on my laptop , but before fininshing the installation steps it report the following three errors:
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
make[3]: Entering directory `/home/Marten/gmp-4.3.1'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
 /bin/sh ./libtool --mode=install /bin/install -c  'libgmp.la' '/usr/local/lib/libgmp.la'
/bin/install -c .libs/libgmp.lai /usr/local/lib/libgmp.la
./libtool: /bin/install: Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 126
make[3]: Leaving directory `/home/Marten/gmp-4.3.1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/Marten/gmp-4.3.1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Marten/gmp-4.3.1'
make: *** [install] Error 2
The error in step number  11 make install.
I followed the following steps:
How to Download GMP
1) Download http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download

2) Download http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download

3) Install both (to C:\GMP\MinGW and C:\GMP\1.0)

3.1) Said y, y and c:/GMP/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.2.2.tar.gz and moved the zip to C:\DC\1.0\home\Marten

6) Ran MSYS again

7) Typed "gunzip gmp-4.3.1.tar.gz"

8) Typed "tar -xvf gmp-4.3.1.tar" (and it started unpacking a whole bunch of stuff)

9) Typed "cd gmp-4.3.1" (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.1.tar.gz 
and move the zip to C:\DC\1.0\home\Marten

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"
Thanks very much,


More information about the gmp-discuss mailing list