When trying to build sage-1.5 on an ia64-Linux machine,
the build of tachyon-0.97 fails:

: gcc -m64 -Wall -O6 -fomit-frame-pointer -ffast-math -DLinux -DLP64 -DTHR
: -D_REENTRANT  -DUSEPNG
-I/home/kate/sage/sage-1.5-ia64-Linux/local/include  -c ..
/src/api.c -o ../compile/linux-64-thr/libtachyon/api.o
: cc1: error: unrecognized command line option "-m64"
: make[4]: *** [../compile/linux-64-thr/libtachyon/api.o] Error 1
: make[4]: Leaving directory
`/home/kate/sage/sage-1.5-ia64-Linux/spkg/build/tachyon-0
.97/unix'
: make[3]: *** [all] Error 2
: make[3]: Leaving directory
`/home/kate/sage/sage-1.5-ia64-Linux/spkg/build/tachyon-0
.97/unix'
: make[2]: *** [linux-64-thr] Error 2
: make[2]: Leaving directory
`/home/kate/sage/sage-1.5-ia64-Linux/spkg/build/tachyon-0
.97/unix'
: Error building Tachyon Ray Tracer

I believe a fix is to modify spkg-install so that it reads:

if [ $UNAME = "Linux" ]; then
    make linux-thr
    if [ $? -ne 0 ]; then
        echo "Maybe your system is 64-bit; trying again."
        if [ `uname -p` = "ia64" ]; then
          echo "ia64"
          make linux-ia64-thr
        else
          echo "64-bit arch"
          make linux-64-thr
        fi
    fi
    finished
fi

With this fix, tachyon-0.97 builds on ia64-Linux and the rest
of the build also finishes successfully.  On to testing ...

Kate Minola
University of Maryland, College Park

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to