Minh Nguyen wrote:
Hi Richard,

On Wed, Feb 17, 2010 at 1:41 AM, rvaug...@gmail.com <rvaug...@gmail.com> wrote:
It would be good if we could see a copy of config.log.
Install.log is over 25K lines, too large for posting.
See it here: http://www.physics.rutgers.edu/~rvaughn/install.log

A likely candidate for the build failure is that the version of GCC on
your system is too old. This snippet is from the beginning of the
install log you posted:

checking g++ version... 3.4.6
configure: Good, gcc and g++ are the same version (3.4.6)
configure: Later, it will be checked if GCC 3.4.6 is suitable
configure: WARNING: ******************************************************
configure: WARNING: ******************************************************
configure: WARNING: ******************************************************
configure: WARNING: GCC 3.4.6 is too old and can not build Sage.
configure: WARNING: Please use a gcc of at least 4.0.1
configure: WARNING: if you just want Sage to build without problems.
configure: WARNING:
configure: WARNING: However, rather than exit as this point, the Sage
configure: WARNING: build will continue, in case you want to debug
configure: WARNING: a package, that will not build without a later GCC,
configure: WARNING: but you want to try getting it to work with
configure: WARNING: GCC 3.4.6. At the time of writing, (28th Sept 2009)
configure: WARNING: 'ratpoints' was a program, needing GCC 4.0.1
configure: WARNING: which is later than would be ideal.
configure: WARNING: ******************************************************
configure: WARNING: ******************************************************
configure: WARNING: ******************************************************

If you are unable to upgrade your system or your system's version of
GCC, I'm not sure how to help. Perhaps someone else could help out.


A later version of Sage will in fact exit at this point, though it is possible to override it by setting an environment variable SAGE_USE_OLD_GCC (or some name like that).

But basically, that version of gcc is too old.

However, it should be possible to build a later gcc with that version of gcc. I have built the latest gcc (4.4.3) on Solaris using the gcc 3.4.3 supplied by Sun, which is even older. So 3.4.6 should build 4.4.3 without any trouble.

One can always use:

./configure --prefix=/my/home/directory/gcc-4.4.3

and then gcc will be installed at  /my/home/directory/gcc-4.4.3/bin/gcc.

It would be wise to add /my/home/directory/gcc-4.4.3/lib to LD_LIBRARY_PATH

That would not need root access to do any of this.

Dave

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

Reply via email to