- build failed for libiml @ linking stage replacing '/local/home/ldemo/software/sage-2.8.3.rc2/local/lib/libgmp.so' with '-lgmp' would solve the problem.
i guess the libtool script is responsible for the error. solving this by hand however is hard because make (in the root tree) does rebuild the local Makefile, which results in running into the same problem. - system Linux 2.6.15-1.2054_FC5 #1 SMP Tue Mar 14 15:57:06 EST 2006 ppc64 ppc64 ppc64 GNU/Linux (mac pro quadcore with fedora core 5 installed) - versions sage-2.8.3.rc2 sage-2.8.2 both throw the same error while building greetings L build log pieces: ------------------ Finished extraction **************************************************** Host system uname -a: Linux xxxxxxxxxxxxxxxxxxx 2.6.15-1.2054_FC5 #1 SMP Tue Mar 14 15:57:06 EST 2006 ppc64 ppc64 ppc64 GNU/Linux **************************************************** **************************************************** GCC Version gcc -v Using built-in specs. Target: ppc64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-secureplt --with-long-double-128 --host=ppc64-redhat-linux --build=ppc64-redhat-linux --target=ppc64-redhat-linux --with-cpu=default32 Thread model: posix gcc version 4.1.0 20060304 (Red Hat 4.1.0-3) **************************************************** checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes .... Default checking path = /usr /usr/local checking for GMP >= 3.1.1... found checking whether GMP is 4.0 or greater... yes checking for ATLAS >= 3.0... configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating repl/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands ------------------------------------------------------------------------ Configuration: Source code location: . Compiler: gcc Compiler flags: -I. -g -O2 Linker flags: -lm Host System Type: powerpc64-redhat-linux-gnu Install path: /local/home/ldemo/software/sage-2.8.3.rc2/local See config.h for further configuration information. ------------------------------------------------------------------------ make[2]: Entering directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src' make all-recursive make[3]: Entering directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src' Making all in repl make[4]: Entering directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/repl' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/repl' Making all in config make[4]: Entering directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/config' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/config' Making all in src make[4]: Entering directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/local/home/ldemo/software/sage-2.8.3.rc2/local/include -I. -g -O2 -MT libiml_la-basisop.lo -MD -MP -MF ".deps/libiml_la-basisop.Tpo" -c -o libiml_la-basisop.lo `test -f 'basisop.c' || echo './'`basisop.c; \ then mv -f ".deps/libiml_la-basisop.Tpo" ".deps/libiml_la-basisop.Plo"; else rm -f ".deps/libiml_la-basisop.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/local/home/ldemo/software/sage-2.8.3.rc2/local/include -I. -g -O2 -MT libiml_la-basisop.lo -MD -MP -MF .deps/libiml_la-basisop.Tpo -c basisop.c -fPIC -DPIC -o .libs/libiml_la-basisop.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/local/home/ldemo/software/sage-2.8.3.rc2/local/include -I. -g -O2 -MT libiml_la-basisop.lo -MD -MP -MF .deps/libiml_la-basisop.Tpo -c basisop.c -o libiml_la-basisop.o >/dev/null 2>&1 ... /bin/sh ../libtool --tag=CC --mode=link gcc -I/local/home/ldemo/software/sage-2.8.3.rc2/local/include -I. -g -O2 -lm -o libiml.la -rpath /local/home/ldemo/software/sage-2.8.3.rc2/local/lib libiml_la-basisop.lo libiml_la-certsolve.lo libiml_la-error.lo libiml_la-latreduce.lo libiml_la-memalloc.lo libiml_la-mtrans.lo libiml_la-nonsysolve.lo libiml_la-padiclift.lo libiml_la-reconsolu.lo libiml_la-RNSop.lo libiml_la-nullspace.lo -L/local/home/ldemo/software/sage-2.8.3.rc2/local/lib -lgmp ../repl/librepl.la gcc -shared .libs/libiml_la-basisop.o .libs/libiml_la-certsolve.o .libs/libiml_la-error.o .libs/libiml_la-latreduce.o .libs/libiml_la-memalloc.o .libs/libiml_la-mtrans.o .libs/libiml_la-nonsysolve.o .libs/libiml_la-padiclift.o .libs/libiml_la-reconsolu.o .libs/libiml_la-RNSop.o .libs/libiml_la-nullspace.o -Wl,--whole-archive ../repl/.libs/librepl.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/local/home/ldemo/software/sage-2.8.3.rc2/local/lib -Wl,--rpath -Wl,/local/home/ldemo/software/sage-2.8.3.rc2/local/lib -L/local/home/ldemo/software/sage-2.8.3.rc2/local/lib /local/home/ldemo/software/sage-2.8.3.rc2/local/lib/libgmp.so -lm -Wl,-soname -Wl,libiml.so.0 -o .libs/libiml.so.0.0.0 /local/home/ldemo/software/sage-2.8.3.rc2/local/lib/libgmp.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[4]: *** [libiml.la] Error 1 make[4]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6/src' Error building IML real 0m39.979s user 0m23.960s sys 0m13.332s sage: An error occured while installing iml-1.0.1.p6 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /local/home/ldemo/software/sage-2.8.3.rc2/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem, yourself *don't* just cd to /local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6 and type 'make'. Instead (using bash) type "source local/bin/sage-env" from the directory /local/home/ldemo/software/sage-2.8.3.rc2 in order to set all environment variables correctly, then cd to /local/home/ldemo/software/sage-2.8.3.rc2/spkg/build/iml-1.0.1.p6 make[1]: *** [installed/iml-1.0.1.p6] Error 1 make[1]: Leaving directory `/local/home/ldemo/software/sage-2.8.3.rc2/spkg' real 33m3.363s user 22m20.184s sys 9m45.776s --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---