Hello,
I have tried to install gcc44 through fink and, as predictable,
it is not working. I have got this:

............many many many words and then:

libtool: compile:
/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 -DHAVE_CONFIG_H -I.
-I../../../../../../../gcc-4.4.1/libjava/classpath/native/jni/java-math
-I../../../include
-I../../../../../../../gcc-4.4.1/libjava/classpath/include
-I../../../../../../../gcc-4.4.1/libjava/classpath/native/jni/classpath
-I../../../../../../../gcc-4.4.1/libjava/classpath/native/jni/native-lib
-I/sw/include -W -Wall -Wmissing-declarations -Wwrite-strings
-Wmissing-prototypes -Wno-long-long -I/usr/include -g -O2 -MT
gnu_java_math_GMP.lo -MD -MP -MF .deps/gnu_java_math_GMP.Tpo -c
../../../../../../../gcc-4.4.1/libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c
 -fno-common -DPIC -o .libs/gnu_java_math_GMP.o
/bin/sh ../../../libtool --tag=CC --mode=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 -W -Wall
-Wmissing-declarations -Wwrite-strings -Wmissing-prototypes
-Wno-long-long  -I/usr/include -g -O2   -version-info 0:0:0
-no-undefined -lgmp  -o libjavamath.la -rpath
/sw/lib/gcc4.4/lib/gcj-4.4.1-10 -version-info 0:0:0 -no-undefined
-lgmp -avoid-version gnu_java_math_GMP.lo
../../../native/jni/classpath/jcl.lo
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.egCo1S failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000
(Lettura del database ... 8560 file e directory attualmente installati.)
Rimozione di fink-buildlock-gcc44-4.4.1-1000 ...
Failed: phase compiling: gcc44-4.4.1-1000 failed

I hope that this is enough to understand the problem.
I have cut the lines to fit the window
Thank you for you help!
Marco





Hanspeter Niederstrasser <fink <at> snaggledworks.com> writes:

>
> On 05/20/2010 2:40 AM, Marco La Cognata wrote:
> > Dear all,
> > I have been trying to install cernlib2005-gfortran-dev through fink
> > but without success.
> > After some time, I get this message:
> >
> > "many many words..."
> > 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.a5Xxzc failed, exit code 2
> > Removing runtime build-lock...
> > Removing build-lock package...
> > /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000
> > (Lettura del database ... 8560 file e directory attualmente installati.)
> > Rimozione di fink-buildlock-gcc44-4.4.1-1000 ...
> > Failed: phase compiling: gcc44-4.4.1-1000 failed
>
> The failure is in fact with gcc44 (which cernlib will eventually need).
>
> "many many words..." is a useless diagnostic and what it replaced is in
> fact the important part of the crash report (the rest that you included
> here is standard boilerplate after a build failure and is almost
> identical for all failures).  Send the list the last few lines before
> the "collect2: ld" line you did include.
>
> Hanspeter
>
> -----------------------------------------------------------------------------
-
>


Marco La Cognata
INFN-LNS & University of Catania

------------------------------------------------------------------------------

_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to