On 03/31/11 05:44 AM, Roy Joshua wrote:
Hi,

I tried the suggestion to use the command
SAGE64=yes
export SAGE64
that was suggested as response to my last  message by David Kirkby.
(My last message was that I could not install sage-4.6.2 to a machine
running Centos 5.5. This is a 64 bit machine with i7 8 core processor.)

However that seems to cause another bug with patch-2.5.9.
I am attaching a screen-shot. Hope someone can suggest a solution.

Roy Joshua

Sorry to here about your troubles Roy.

Your report actually highlighted a bug, as the bzip2 package did not try to build 64-bit. It is only trying that on Solaris and OS X which is a bug.

But as soon as you tried to build GNU patch, Sage tried to build that 64-bit, and it failed. This is the critical bit.


gcc -v
Using built-in specs.
Target: i386-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,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
****************************************************
Creating a 64-bit version of GNU patch
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
Error configuring GNU patch

real    0m0.129s
user    0m0.043s
sys     0m0.095s
sage: An error occurred while installing patch-2.5.9

This is clearly a 64-bit machine, but do you have a 32-bit operating system installed? This seems rather an old version of gcc (2008), so I'm wondering if you have an old release of the operating system.

I think before spending much time on this, you should decide whether this is really the operating system you want to run.

It could also be that somehow the BIOS in the machine is stopping this being seen as 64-bit. But for whatever reason, your machine is behaving like a 32-bit one.

That in itself should not stop Sage building. Sage builds fine on 32-bit operating systems and whilst Solaris is 64-bit, Sage does not work very well 64-bit on there, so we have to build that 32-bit for now.

So your problem with ATLAS is not the 32-bit isssue, but I do wonder if you should consider upgrading, or sorting out your hardware in some way, before worrying too much about why ATLAS is not building. It would be pointless spending a lot of time over that, if you realise your system is configured sub-optimally and you want to put another operating system on it.

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