Hi Andrea, Francois, and Jeroen. Thanks for the advice. It was really helpful.
I corrected LD_LIBRARY_PATH and reinstalled gfortran. Resumed compiling. Ran into another error, but I used a 'workaround' from here: https://groups.google.com/forum/?fromgroups=#!topic/sage-support/UJ9bz5PX-D0 I'll let you know how it turns out. Thanks again. Sorry I was so slow in getting back to you. Amar On Tuesday, October 16, 2012 6:44:31 PM UTC-4, Amar Shah wrote: > > Trying to build Sage 5.3 from source code on a Linux platform (Ubuntu > 12.04, laptop with Intel Centrino Duo). > > Build halted with an Error installing package lapack-20071123.p2. > > For some reason (perhaps because my group membership is pending), I cannot > attach the relevant log file. Instead I am copy-pasting the text below. > Many apologies for this. > > Please let me know how I can assist you in resolving this problem. Thanks > so much for helping. > > Error Log file: /spkg/logs/lapack-20071123.p2.log > > lapack-20071123.p2 > ==================================================== > Extracting package > /home/amar/sage-5.3/spkg/standard/lapack-20071123.p2.spkg > -rw-r--r-- 1 amar amar 3423099 Oct 12 2010 > /home/amar/sage-5.3/spkg/standard/lapack-20071123.p2.spkg > Finished extraction > **************************************************** > Host system: > Linux amar-Satellite-A135 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 > 16:17:36 UTC 2012 i686 i686 i386 GNU/Linux > **************************************************** > C compiler: gcc > C compiler version: > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper > Target: i686-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro > 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr > --program-suffix=-4.6 --enable-shared --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 > --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > --enable-gnu-unique-object --enable-plugin --enable-objc-gc > --enable-targets=all --disable-werror --with-arch-32=i686 > --with-tune=generic --enable-checking=release --build=i686-linux-gnu > --host=i686-linux-gnu --target=i686-linux-gnu > Thread model: posix > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > **************************************************** > make[2]: Entering directory > `/home/amar/sage-5.3/spkg/build/lapack-20071123.p2/src' > ( cd INSTALL; make; ./testlsame; ./testslamch; \ > ./testdlamch; ./testsecond; ./testdsecnd; ./testversion ) > make[3]: Entering directory > `/home/amar/sage-5.3/spkg/build/lapack-20071123.p2/src/INSTALL' > sage_fortran -fPIC -c lsame.f -o lsame.o > sage_fortran -fPIC -c lsametst.f -o lsametst.o > sage_fortran -o testlsame lsame.o lsametst.o > sage_fortran -fPIC -c slamch.f -o slamch.o > sage_fortran -fPIC -c slamchtst.f -o slamchtst.o > sage_fortran -o testslamch slamch.o lsame.o slamchtst.o > sage_fortran -fPIC -c dlamch.f -o dlamch.o > sage_fortran -fPIC -c dlamchtst.f -o dlamchtst.o > sage_fortran -o testdlamch dlamch.o lsame.o dlamchtst.o > sage_fortran -fPIC -c second_INT_CPU_TIME.f -o second_INT_CPU_TIME.o > sage_fortran -fPIC -c secondtst.f -o secondtst.o > [INFO] : TIMER value: INT_CPU_TIME (given by make.inc) > sage_fortran -o testsecond second_INT_CPU_TIME.o secondtst.o > sage_fortran -fPIC -c dsecnd_INT_CPU_TIME.f -o dsecnd_INT_CPU_TIME.o > sage_fortran -fPIC -c dsecndtst.f -o dsecndtst.o > [INFO] : TIMER value: INT_CPU_TIME (given by make.inc) > sage_fortran -o testdsecnd dsecnd_INT_CPU_TIME.o dsecndtst.o > sage_fortran -fPIC -c tstiee.f -o tstiee.o > sage_fortran -o testieee tstiee.o > sage_fortran -fPIC -c ilaver.f -o ilaver.o > sage_fortran -fPIC -c LAPACK_version.f -o LAPACK_version.o > sage_fortran -o testversion ilaver.o LAPACK_version.o > make[3]: Leaving directory > `/home/amar/sage-5.3/spkg/build/lapack-20071123.p2/src/INSTALL' > ./testlsame: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testlsame) > ./testslamch: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testslamch) > ./testdlamch: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testdlamch) > ./testsecond: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testsecond) > ./testdsecnd: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testdsecnd) > ./testversion: /home/amar/lingo13/bin/linux32/libgfortran.so.3: version > `GFORTRAN_1.4' not found (required by ./testversion) > make[2]: *** [lapack_install] Error 1 > make[2]: Leaving directory > `/home/amar/sage-5.3/spkg/build/lapack-20071123.p2/src' > Error compiling lapack. > > real 0m2.516s > user 0m0.980s > sys 0m0.308s > ************************************************************************ > Error installing package lapack-20071123.p2 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /home/amar/sage-5.3/spkg/logs/lapack-20071123.p2.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /home/amar/sage-5.3/spkg/build/lapack-20071123.p2 and type 'make' or > whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/home/amar/sage-5.3/spkg/build/lapack-20071123.p2' && > '/home/amar/sage-5.3/sage' -sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.