In reply to your requested tests I find

Rumdewan:~ donpaul$ which g++
/usr/bin/g++
Rumdewan:~ donpaul$ g++  --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Rumdewan:~ donpaul$ fink dumpinfo -ePATH gmp5
Information about 10261 packages read in 6 seconds.
PATH=/sw/var/lib/fink/path-prefix-10.6:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin


Thanks for taking the time to help

Don
------------------------------------------------------------------
Professor Don Paul
Superconductivity & Magnetism Group
Department of Physics
University of Warwick
Coventry CV4 7AL
United Kingdom

        email    ph...@warwick.ac.uk
        tel             024 76 523603
------------------------------------------------------------------



On 23 May 2011, at 19:46, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I didn't reproduce the issue here.
> 
> At the same point in my build I have:
> 
> Making check in cxx
> make  t-assign t-binary t-cast t-constr t-headers t-istream t-locale
> t-misc t-ops t-ostream t-prec t-rand t-ternary t-unary
> g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../..
> - -I../../../tests  -fexceptions -I/sw32/include  -m32 -O2 -pedantic
> - -fomit-frame-pointer -mtune=core2 -march=core2 -c -o t-assign.o
> ../../../tests/cxx/t-assign.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -m32 -O2 -pedantic
> - -fomit-frame-pointer -mtune=core2 -march=core2  -L/sw32/lib -o t-assign
> t-assign.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
> ../../libgmp.la
> libtool: link: g++ -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2
> - -march=core2 -o .libs/t-assign t-assign.o
> - -L/sw32/src/fink.build/gmp5-5.0.2-1/gmp-5.0.2/build/.libs -L/sw32/lib
> ../../tests/.libs/libtests.a ../../.libs/libgmpxx.dylib
> /sw32/src/fink.build/gmp5-5.0.2-1/gmp-5.0.2/build/.libs/libgmp.dylib
> ../../.libs/libgmp.dylib
> 
> which doesn't look obviously different to me.
> 
> It's probably worth verifying a couple of things at this point.  What do
> you get from the following commands?
> 
> which g++
> g++  --version
> fink dumpinfo -ePATH gmp5
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> 
> 
> On 5/23/11 7:52 AM, Don Paul wrote:
>> Its a new installation on my laptop. I'm using XCODE Version 3.2.6 (1761)
>> 
>> Don
>> ------------------------------------------------------------------
>> Professor Don Paul
>> Superconductivity & Magnetism Group
>> Department of Physics
>> University of Warwick
>> Coventry CV4 7AL
>> United Kingdom
>> 
>>      email    ph...@warwick.ac.uk
>>      tel             024 76 523603
>> ------------------------------------------------------------------
>> 
>> 
>> 
>> On 23 May 2011, at 12:45, Alexander Hansen wrote:
>> 
>> On 5/23/11 4:30 AM, Don Paul wrote:
>>>>> I'm trying to install kile but seem to be prevented by a gmp problem.
>>>>> 
>>>>> Making check in cxx
>>>>> make  t-assign t-binary t-cast t-constr t-headers t-istream t-locale 
>>>>> t-misc t-ops t-ostream t-prec t-rand t-ternary t-unary
>>>>> g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../.. 
>>>>> -I../../../tests  -fexceptions -I/sw/include  -m32 -O2 -pedantic 
>>>>> -fomit-frame-pointer -mtune=i386 -march=i386 -c -o t-assign.o 
>>>>> ../../../tests/cxx/t-assign.cc
>>>>> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -m32 -O2 -pedantic 
>>>>> -fomit-frame-pointer -mtune=i386 -march=i386  -L/sw/lib -o t-assign 
>>>>> t-assign.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la 
>>>>> ../../libgmp.la 
>>>>> libtool: link: g++ -m32 -O2 -pedantic -fomit-frame-pointer -mtune=i386 
>>>>> -march=i386 -o .libs/t-assign t-assign.o  
>>>>> -L/sw/src/fink.build/gmp5-5.0.2-1/gmp-5.0.2/build/.libs -L/sw/lib 
>>>>> ../../tests/.libs/libtests.a ../../.libs/libgmpxx.dylib 
>>>>> /sw/src/fink.build/gmp5-5.0.2-1/gmp-5.0.2/build/.libs/libgmp.dylib 
>>>>> ../../.libs/libgmp.dylib
>>>>> Undefined symbols:
>>>>> "___sync_fetch_and_add_4", referenced from:
>>>>>     check_mpq()    in t-assign.o
>> <snip>
>> 
>>>>> ld: symbol(s) not found
>>>>> collect2: ld returned 1 exit status
>>>>> make[4]: *** [t-assign] Error 1
>>>>> make[3]: *** [check-am] Error 2
>>>>> make[2]: *** [check-recursive] Error 1
>>>>> make[1]: *** [check-recursive] Error 1
>>>>> make: *** [check] Error 2
>>>>> ### execution of /var/tmp/tmp.2.tswA7W failed, exit code 2
>>>>> Removing runtime build-lock...
>>>>> Removing build-lock package...
>>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-gmp5-5.0.2-1
>>>>> (Reading database ... 319902 files and directories currently installed.)
>>>>> Removing fink-buildlock-gmp5-5.0.2-1 ...
>>>>> Failed: phase compiling: gmp5-5.0.2-1 failed
>>>>> 
>> 
>> <snip>
>> 
>>>>> 
>>>>> vpn-40-228:~ donpaul$ fink -V
>>>>> Package manager version: 0.30.0
>>>>> Distribution version: selfupdate-rsync Sun May 22 22:04:51 2011, 10.6, 
>>>>> i386
>>>>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
>>>>> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk3aq4AACgkQB8UpO3rKjQ+ypACfXHuchJBpXfGH1Tc/fWEcOfbe
> NKsAmwQHMRsXprWFQSIF1gbAzjLlULe5
> =Ym4Z
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to