[Ecm-discuss] Building GMP-ECM on MacOS Leopard

James Wanless james at grok.ltd.uk
Ven 11 Juil 19:16:11 CEST 2008


Hi Paul,
I've got one suggestion:
You could try DarwinPorts/MacPorts?
J

On 11 Jul 2008, at 15:46, Paul Leyland wrote:

> I've recently gained access to a MacOS 10.5 (Leopard) system but can't
> seem to build ecm-6.2.1
>
> First step was to install the dev tools; all went well.
> Second was to download the GMP 4.2.2 tarball.  Again, all went well.
> Each of configure, make and make check ran completely without error.
>
> Final step was to download the ECM 6.2.1 tarball.  No matter what I've
> tried so far, I can't get configure to work.   Run it without  
> arguments
> and it complains about GMP not being available --- as expected  
> because I
> didn't "make install" for GMP.
>
> Sundry attempts to specify the with-gmp arguments all fail.   This
> snippet is typical:
>
>
> mollie:ecm-6.2.1 paul$ ./configure --with-gmp-build=../gmp-4.2.2  -- 
> with-gmp-lib=../gmp-4.2.2  --with-gmp-include=../gmp-4.2.2
>
>
> ...
>
>
> checking for getrusage... yes
> checking for memmove... yes
> checking for signal... yes
> checking for malloc_usable_size... no
> checking gmp.h usability... yes
> checking gmp.h presence... yes
> checking for gmp.h... yes
> checking for recent GMP... yes
> checking if gmp.h version and libgmp version are the same... no
> configure: error: 'gmp.h' and 'libgmp' have different versions! you  
> have to properly reinstall GMP.
> mollie:ecm-6.2.1 paul$ uname -a
> Darwin mollie.gen.cam.ac.uk 9.4.0 Darwin Kernel Version 9.4.0: Mon  
> Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
> mollie:ecm-6.2.1 paul$ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- 
> checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/ 
> s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/ 
> usr/lib --build=i686-apple-darwin9 --with-arch=apple --with- 
> tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> mollie:ecm-6.2.1 paul$
>
>
>
> I've now run out of ideas.  Any advice?
>
>
> Paul
>
> _______________________________________________
> Ecm-discuss mailing list
> Ecm-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/ecm-discuss






Plus d'informations sur la liste de diffusion Ecm-discuss