You will want to replace /local/jec/sage-4.3.rc0/local/
lib/gcc-lib/i686-pc-linux-gnu/4.0.3/libgcc_s.so.1 with your local version of
libgcc_s.so. Alternatively, you can set $SAGE_FORTRAN and $SAGE_FORTRAN_LIB
to your system's fortran compiler and library. This is caused by the fortran
spkg building its own libgcc, iirc.


On Sat, Dec 12, 2009 at 12:00 AM, John Cremona <john.crem...@gmail.com>wrote:

> I reported this before, hoping for some help from a build guru, with
> no success, so I'll try again.
>
> My desktop machine was upgraded over the summer (it's an official
> university-supported version of Suse:
> cat /proc/version
> Linux version 2.6.27.37-0.1-pae (ge...@buildhost) (gcc version 4.3.2
> [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-10-15
> 14:56:58 +0200)
>
> and since then I have not been able to build or run Sage.  the build
> fails near the end of building R, like this:
>
> ...
> mkdir -p -- ../../../library/base/po
> mkdir -p -- ../../../library/base/man
> make[6]: Leaving directory
> `/local/jec/sage-4.3.rc0/spkg/build/r-2.9.2/src/src/library/base'
> /home/masgaj/local/sage-4.3.rc0/spkg/build/r-2.9.2/src/bin/exec/R:
>
> /local/jec/sage-4.3.rc0/local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3/libgcc_s.so.1:
> version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
> make[5]: *** [all] Error 1
> make[5]: Leaving directory
> `/local/jec/sage-4.3.rc0/spkg/build/r-2.9.2/src/src/library/base'
> make[4]: *** [R] Error 1
> make[4]: Leaving directory
> `/local/jec/sage-4.3.rc0/spkg/build/r-2.9.2/src/src/library'
> make[3]: *** [R] Error 1
> make[3]: Leaving directory
> `/local/jec/sage-4.3.rc0/spkg/build/r-2.9.2/src/src'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/local/jec/sage-4.3.rc0/spkg/build/r-2.9.2/src'
> Error building R.
>
> real    1m18.944s
> user    0m50.663s
> sys     0m20.685s
> sage: An error occurred while installing r-2.9.2
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/masgaj/local/sage-4.3.rc0/install.log.  Describe your
> computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/masgaj/local/sage-4.3.rc0/spkg/build/r-2.9.2 and type 'make'.
> Instead type "/home/masgaj/local/sage-4.3.rc0/sage -sh"
> in order to set all environment variables correctly, then cd to
> /home/masgaj/local/sage-4.3.rc0/spkg/build/r-2.9.2
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/r-2.9.2] Error 1
> make[1]: Leaving directory `/local/jec/sage-4.3.rc0/spkg'
>
> real    68m40.725s
> user    58m34.888s
> sys     7m30.928s
> Error building Sage.
>
>
> Here's the gcc version:
>
> gcc -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
> --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
> --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
> --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
> --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
> --with-pkgversion='SUSE<http://bugs.opensuse.org/%0A--with-pkgversion=%27SUSE>Linux'
>  --disable-libgcj --disable-libmudflap
> --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit
> --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
> --enable-version-specific-runtime-libs --program-suffix=-4.3
> --enable-linux-futex --without-system-libunwind --with-cpu=generic
> --build=i586-suse-linux
> Thread model: posix
> gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)
>
> The full install log is at
> http://www.warwick.ac.uk/staff/J.E.Cremona/install.log.gz
>
> John
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com<sage-devel%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to