Opened 14 years ago

Closed 14 years ago

#595 closed defect (fixed)

get lie to build on all standard machines -- specific problems

Reported by: was Owned by: mabshoff
Priority: major Milestone: sage-2.8.4
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Here is a problem reported on sage-support by David DeGeorge?:

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'

Change History (7)

comment:1 Changed 14 years ago by was

  • Component changed from algebraic geometry to packages

comment:2 Changed 14 years ago by mabshoff

  • Milestone changed from sage-2.9.1 to sage-2.8.4
  • Owner changed from was to mabshoff

comment:3 Changed 14 years ago by mabshoff

  • Status changed from new to assigned

comment:4 Changed 14 years ago by mabshoff

comment:5 Changed 14 years ago by was

  • Resolution set to fixed
  • Status changed from assigned to closed

posted, hence done.

comment:6 Changed 14 years ago by was

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 14 years ago by was

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.