Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/24/10 6:09 PM, Omar Cuevas wrote: > >> Dear Fink's people, >> I have the follow error when I try to install octave in a snow leopard. >> It is the last part: >> >> libtool: link: >> /sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./gcc/xgcc >> -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./gcc/ >> -B/sw/lib/gcc4.4/i686-apple-darwin10/bin/ >> -B/sw/lib/gcc4.4/i686-apple-darwin10/lib/ -isystem >> /sw/lib/gcc4.4/i686-apple-darwin10/include -isystem >> /sw/lib/gcc4.4/i686-apple-darwin10/sys-include -dynamiclib -o >> .libs/libjavamath.dylib .libs/gnu_java_math_GMP.o >> ../../../native/jni/classpath/.libs/jcl.o /usr/local/lib/libgmp.a >> -install_name /sw/lib/gcc4.4/lib/gcj-4.4.1-10/libjavamath.dylib >> -Wl,-single_module >> ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n >> from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use >> '-read_only_relocs suppress' to enable text relocs >> collect2: ld returned 1 exit status >> make[6]: *** [libjavamath.la] Error 1 >> make[5]: *** [all-recursive] Error 1 >> make[4]: *** [all-recursive] Error 1 >> make[3]: *** [all-recursive] Error 1 >> make[2]: *** [all-recursive] Error 1 >> make[1]: *** [all-target-libjava] Error 2 >> make: *** [all] Error 2 >> ### execution of /var/tmp/tmp.1.VmLRkc failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000 >> (Reading database ... 101234 files and directories currently installed.) >> Removing fink-buildlock-gcc44-4.4.1-1000 ... >> Failed: phase compiling: gcc44-4.4.1-1000 failed >> >> Of course I try with "fink-selfupdate" and "fink update" but the problem >> is the same. >> Any idea please. >> Thanks in advance >> >> Omar >> >> --------------------------------------------------------------------------------------- >> Prof. Omar Cuevas Ahumada >> Meteorólogo >> Grupo de Astrometeorología, Universidad de Valparaíso, Chile >> Teléfono: +56 32 2508457 Fax: +56 32 2508135 >> Av. Gran Bretaña 1111, Playa Ancha, Valparaíso. >> email: [email protected] , [email protected] >> www.dfa.uv.cl/astromet >> ---------------------------------------------------------------------------------------- >> PhD(c) Meteorologist in Ludwig-Maximilian-Universität (LMU) >> München, Germany >> email: [email protected] >> >> > A) Your problem has absolutely _nothing_ to do with octave, because you > aren't even building octave yet. > B) You didn't mention whether you're using a 32-bit or 64-bit > installation of Fink--which is generally good practice but not needed > here, because > C) Your issue is with /usr/local/lib/libgmp.a, which is _not_ in the > Fink distribution or from the system software. We have had a number of > reports of gcc44 not building correctly against third-party gmp > libraries; this is a special case of a general FAQ: > > http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs > > The solution is to move /usr/local out of the way, at least temporarily, > when you build Fink packages. > - -- > Alexander Hansen > Fink User Liaison > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuqjCEACgkQB8UpO3rKjQ/5ngCfTFpA78gWZaohEt1GBKwUyrxh > vlYAn3IDN9Ts2xf+katSuvVrwkTh0ZUc > =YGwQ > -----END PGP SIGNATURE----- > > > Thank you, with your solution I fixed it. Snow Leopard Intel dual core 32bit MacBook pro.
Regards, Omar ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
