Hey Kate,

On Sep 1, 8:39 pm, "Kate Minola" <[EMAIL PROTECTED]> wrote:
> William,
>
> I can get sage-2.8.3 to build and pass its test suite on
>
> x86-Linux (pentium4-fc6)
> x86_64-Linux (again fc6)
>
> On ia64-Linux, sage-2.8.3 builds, but when I do
>
> %./sage
>
> I get
>
> % ./sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8.3, Release Date: 2007-08-31                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> ---------------------------------------------------------------------------
> <type 'exceptions.RuntimeError'>          Traceback (most recent call last)
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/bin/<ipython console> in 
> <module>()
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/lib/python2.5/site-packages/sage/all_cmdline.py
> in <module>()
>      12 try:
>      13
> ---> 14     from sage.all import *
>      15     from sage.calculus.predefined import x
>      16     preparser(on=True)
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/lib/python2.5/site-packages/sage/all.py
> in <module>()
>      55 from sage.misc.sh import sh
>      56
> ---> 57 from sage.libs.all       import *
>      58
>      59 get_sigs()
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/lib/python2.5/site-packages/sage/libs/all.py
> in <module>()
>       2
> ----> 3 import sage.libs.ntl.all  as ntl
>       4
>       5 #import sage.libs.cf.cf as cf
>       6
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/lib/python2.5/site-packages/sage/libs/ntl/all.py
> in <module>()
>      24 
> #*****************************************************************************
>      25
> ---> 26 from sage.libs.ntl.ntl import (make_new_ZZ as ZZ,
>      27                  ntl_ZZ as ZZ_class,
>      28                                randomBnd as ZZ_random,
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/bin/ntl.pyx in ntl()
>
> /home/kate/sage/sage-2.8.3-ia64-Linux/local/bin/ntl.pyx in ntl.ntl_setSeed()
>
> <type 'exceptions.RuntimeError'>:
> sage:
>

I assume you are using gcc 4.2.1? William and I have seen odd link
issues at runtime with gcc 4.2.1 on Solaris, so this might be related.
Can you build the tests provided in the ntl package and see if they
link?

> I know that sage is not supported on ppc64-Linux, but I tried
> anyway! (grin)  It fails to build, stopping in the build of
> libpng-1.2.18 with
>
> gcc -pthread -shared
> build/temp.linux-ppc64-2.5/lib/matplotlib/enthought/traits/ctraits.o
> -o build/lib.linux-ppc64-2.5/matplotlib/enthought/traits/ctraits.so
> building 'matplotlib.backends._ns_backend_agg' extension
> C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC
>
> compile options:
> '-I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/lib/python2.5/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I.
> -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/include/ -Isrc -Iswig
> -Iagg23/include -I. -I/usr/local/include -I/usr/include -I.
> -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/include/
> -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/lib/python2.5/site-packages/numpy/core/include/freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/include/freetype2
> -Isrc/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2
> -I./freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2
> -I./freetype2 -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/include/freetype2
> -I/home/kate/sage/sage-2.8.3-ppc64-Linux/local/include/python2.5 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_image.cpp
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> ./CXX/Extensions.hxx: In constructor 
> <80><98>Py::PythonExtension<T>::PythonExte
> nsion() [with T = Image]<80><99>:
> src/_image.cpp:50:   instantiated from here
> ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
> gcc: agg23/src/agg_image_filters.cpp
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> gcc: src/ft2font.cpp
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> In file included from /usr/include/freetype2/freetype/freetype.h:41,
>                  from src/ft2font.h:12,
>                  from src/ft2font.cpp:2:
> /usr/include/freetype2/freetype/config/ftconfig.h:9:26: error:
> ftconfig-64.h: No such file or directory
>

Hmm, do you have freetype-devel installed? Did it used to work? I am
strongly thinking of picking up an older DualG5 Mac, so that way I
could also get some work done on Sage PPC 64. I do have a G4 Laptop
with Linux, but that would be very a painful and long process (and
only 32 bit, too)

Cheers,

Michael

> --
> Kate Minola
> University of Maryland, College Park


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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