Dear Developers
I am running Suse 10.1  and
sage-2.8.3-32bit-linux-suse10-i686-Linux
I can't get lie to build. It complains about not finding -lcurses.
libcurses.a is
not in a standard place (it is in /usr/lib/curses), I tried adding a
symbolic link to
/usr/lib but then the build failed in readline.
1. Here is the part where -lcurses was the problem
gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o creatop.o
gettype.o getvalue.o init.o learn.o main.o mem.o node.o onoff.o output.o
poly.o sym.o print.o getl.o date.o static/*.o box/*.o -lreadline -lcurses
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
cannot find -lcurses
2. Here is a part of what happened after I added a link in /usr/lib to
/usr/lib/curses/libcurses.a

gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o creatop.o
gettype.o getval
ue.o init.o learn.o main.o mem.o node.o onoff.o output.o poly.o sym.o
print.o getl.o dat
e.o static/*.o box/*.o -lreadline -lcurses
learn.o: In function `Learn':
learn.c:(.text+0x542): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tgetnum'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tgoto'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tgetflag'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tputs'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tgetent'
/usr/local/sage-2.8.3-32bit-linux-suse10-i686-Linux/local/lib/libreadline.so:
undefined
reference to `tgetstr'

David

--~--~---------~--~----~------------~-------~--~----~
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