building package 'base'
make[6]: Entering directory
`/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/src/library/base'
mkdir -p -- ../../../library/base/demo
mkdir -p -- ../../../library/base/po
mkdir -p -- ../../../library/base/man
make[6]: Leaving directory
`/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/src/library/base'
/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/bin/exec/R:
/usr/local/lib/sage-4.2/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
`/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/src/library/base'
make[4]: *** [R] Error 1
make[4]: Leaving directory
`/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/src/library'
make[3]: *** [R] Error 1
make[3]: Leaving directory
`/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src/src'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/usr/local/lib/sage-4.2/spkg/build/r-2.9.2/src'
Error building R.
real 3m49.903s
user 2m4.240s
sys 0m52.419s
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 /usr/local/lib/sage-4.2/install.log. Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/lib/sage-4.2/spkg/build/r-2.9.2 and type 'make'.
Instead type "/usr/local/lib/sage-4.2/sage -sh"
in order to set all environment variables correctly, then cd to
/usr/local/lib/sage-4.2/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 `/usr/local/lib/sage-4.2/spkg'
real 4m13.172s
user 2m18.193s
sys 0m53.587s
Error building Sage.
any help would be welcome
A possible workaround [1]:
Try copying/linking the system's libgcc_s.so.1 to
SAGE_ROOT/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/libgcc_s.so
and running "make" again. This worked for me even though "gcc -v"
reports a different version.
+1 although my vote shouldn't count 100% because I essentially never use
Fortran, i.e. I don't care about subtle issues that might arise.
Martin
--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinr...@jabber.ccc.de
> Hi,
>
> I vote for removing FORTRAN for Linux for the next Sage release.
> Thoughts?
> That would solve this problem at its core, shrink the Sage source
> tarball a lot, and also result in better, more consistent, faster
> fortran-related code in Sage.
>
> When we included fortran in Sage in 2007, it was because Fortran
> wasn't in the GCC's that everybody used. Now-a-days Fortran is trivial
> to install on any Linux distribution.
So you we would be adding fortran as a dependancy on linux? If most
people have it (and its easy to check for) I'm +1 for this idea.
- Robert
Yes, definitely. The preqreq script would be changed to require
gfortran on *all* platforms except OS X, since Fortran isn't included
in Xcode so is a pain to require there.
William
This sounds fine, but I'd like to see a way to test this. Can someone
make a "4.2-nofortran" version of Sage with instructions on what Fortran
package to install? Performance regressions and doctest failures seem
very unlikely, but it's best to find out for sure.
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
Francois