On Sep 15, 12:20 am, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Sep 15, 12:19 am, Simon King <[EMAIL PROTECTED]> wrote:
>
> > Dear Professor Stein,
>
> Well, he is known as William around here :)
>
> <SNIP>
>
>
>
> > The binaries work fine, that was not the problem. Simply i wanted to learn
> > to build SAGE by myself, and when i found that "make" finished but did not
> > yield a working binary, i wanted to know why.
>
> > I'm sorry that i didn't try to gzip the install.log in my first mail. It
> > is now less than 1 MB, hence should be accepted by your mail system -- see
> > attachment.
>
> Got the attachment, looking at it. Could you check if you have termcap
> and its development package installed? readline usually defaults to
> termcap and only uses ncurses as an optional library to link against,
> but who knows what the OpenSuSE people did. I have a 10.1 OpenSuSE
> x86-64 box, but I have to check out there what happens.
>
> > Yours
> > Simon
>
> > install.log.gz
> > 965KDownload
>
> Cheers,
>
> Michael
Hello Simon,
I looked at the log. Readline builds fine, but there is trouble when
building python:
gcc -pthread -shared build/temp.linux-x86_64-2.5/usr/local/
sage-2.8.4.1/spkg/build/python-2.5.1.p6/src/Modules/readline.o -L /usr/
lib/termcap -L/usr/local/sage-2.8.4.1/local/lib -L/usr/local/lib -
lreadline -lncurses -o build/lib.linux-x86_64-2.5/readline.so /usr/
lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/
ld: /usr/lib/libncurses.a(lib_termcap.o): relocation R_X86_64_32S
against `numcodes' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/libncurses.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
So, the interesting question is now: What to do? Python's configure
has no switch to enable or disable [n]curses, so please reinstall that
rpm and try again. Otherwise we need to set up a VMWare image with
OpenSuSE 10.2 and see if the problem only happens to you.
To compare here is my line from the log:
gcc -pthread -shared build/temp.linux-x86_64-2.5/tmp/Work-mabshoff/
sage-2.8.4.2/spkg/build/python-2.5.1.p7/src/Modules/readl
ine.o -L/usr/lib/termcap -L/tmp/Work-mabshoff/sage-2.8.4.2/local/lib -
L/usr/local/lib -lreadline -lncurses -o build/lib.linu
x-x86_64-2.5/readline.so
building 'crypt' extension
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---