On 12/8/12 6:52 PM, Luca Jovine wrote: > Hello, > > Fink is trying to update my gcc47 installation to 4.7.2-1000, but - * > even after moving away /usr/local/ (to /usr/local-ok as below, or even > away from /usr) * - it keeps failing with the following error: > > OSX> ls -l /usr > total 16 > lrwxr-xr-x 1 root wheel 8 Oct 29 21:04 X11 -> /opt/X11 > lrwxr-xr-x 1 root wheel 8 Oct 29 21:04 X11R6 -> /opt/X11 > drwxr-xr-x 1146 root wheel 38964 Nov 19 09:52 bin > drwxr-xr-x 283 root wheel 9622 Nov 8 10:56 include > drwxr-xr-x 3 root wheel 102 Mar 21 2011 java > drwxr-xr-x 325 root wheel 11050 Nov 8 11:22 lib > drwxr-xr-x 143 root wheel 4862 Nov 3 19:33 libexec > drwxr-xr-x 7 root wheel 238 Jun 16 11:02 llvm-gcc-4.2 > drwxr-xr-x 134 root wheel 4556 Dec 7 06:28 local-ok > drwxr-xr-x 271 root wheel 9214 Nov 3 19:33 sbin > drwxr-xr-x 62 root wheel 2108 Nov 3 19:33 share > drwxr-xr-x 4 root wheel 136 Jul 29 18:01 standalone > OSX> fink update-all
<snip> > if [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib > ]; then > echo "-----WARNING-----WARNING-----WARNING-----" > echo "You seem to have GMP installed in /usr/local." > echo "This is known to cause gcc47 to fail to build." > echo "Please move aside /usr/local and try again." > echo "-----WARNING-----WARNING-----WARNING-----" > exit 1 > fi > -----WARNING-----WARNING-----WARNING----- > You seem to have GMP installed in /usr/local. > This is known to cause gcc47 to fail to build. > Please move aside /usr/local and try again. > -----WARNING-----WARNING-----WARNING----- <snip> > > What am I doing wrong? > > Thanks, > > Luca > > ---------------------------------------------------------------- > Luca Jovine, Ph.D. > Assistant Professor & EMBO Young Investigator > Karolinska Institutet > Department of Biosciences and Nutrition & Center for Biosciences > Hälsovägen 7, SE-141 83 Huddinge, Sweden > Voice: +46.(0)8.524-81136 FAX: +46.(0)8.6081-501 > E-mail: [email protected] <mailto:[email protected]> > W3: http://jovinelab.org > ---------------------------------------------------------------- > That's very strange. The build procedure literally only runs what was shown above: [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib ] to test for externally installed gmp files. Just by way of verification, what do you get if you run the following: [ -e /usr/local/lib/libgmp.a ] && echo "test1" [ -e /usr/local/lib/libgmp.dylib ] && echo "test2" -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
