Hello,
i'm trying to compile lftp and i get the following errors:

./configure --with-ssl --sysconfdir=/etc --sbindir=/bin --bindir=/bin
--mandir=/usr/local/man/
....
make

/bin/sh ../libtool --silent --mode=link gcc  -O2 -Wall -Wwrite-strings
-Woverloa
ded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline  -s -o
lft
p -export-dynamic  lftp.o complete.o lftp_rl.o getdate.o liblftp-jobs.la
liblftp
-tasks.la liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la
proto-fil
e.la proto-fish.la proto-sftp.la cmd-mirror.la cmd-sleep.la
../readline-4.3/libr
eadline.a ../lib/liblib.a -lssl -lcrypto    -lutil -lresolv -ldl -lm
../readline-4.3/libreadline.a(display.o): In function `rl_redisplay':
/tmp/lftp-3.0.7/readline-4.3/display.c:866: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o): In function `update_line':
/tmp/lftp-3.0.7/readline-4.3/display.c:1261: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o): In function
`_rl_move_cursor_relative'
:
/tmp/lftp-3.0.7/readline-4.3/display.c:1529: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1575: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1598: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o):/tmp/lftp-3.0.7/readline-4.3/displa
y.c:
1629: more undefined references to `tputs' follow
../readline-4.3/libreadline.a(display.o): In function `insert_some_chars':
/tmp/lftp-3.0.7/readline-4.3/display.c:1896: undefined reference to `tgoto'
/tmp/lftp-3.0.7/readline-4.3/display.c:1897: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1906: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1913: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1922: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o): In function `delete_chars':
/tmp/lftp-3.0.7/readline-4.3/display.c:1937: undefined reference to `tgoto'
/tmp/lftp-3.0.7/readline-4.3/display.c:1938: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:1944: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o): In function `cr':
/tmp/lftp-3.0.7/readline-4.3/display.c:1988: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o): In function
`_rl_redisplay_after_sigwi
nch':
/tmp/lftp-3.0.7/readline-4.3/display.c:2042: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/display.c:2050: undefined reference to `tputs'
../readline-4.3/libreadline.a(display.o):/tmp/lftp-3.0.7/readline-4.3/displa
y.c:
2054: more undefined references to `tputs' follow
../readline-4.3/libreadline.a(terminal.o): In function
`_rl_get_screen_size':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:216: undefined reference to
`tgetnum'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:229: undefined reference to
`tgetnum'
../readline-4.3/libreadline.a(terminal.o): In function
`get_term_capabilities':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:353: undefined reference to
`tgetstr'
../readline-4.3/libreadline.a(terminal.o): In function
`_rl_init_terminal_io':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:392: undefined reference to
`tgetent'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:435: undefined reference to `PC'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:436: undefined reference to `BC'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:437: undefined reference to `UP'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:446: undefined reference to `PC'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:447: undefined reference to `BC'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:448: undefined reference to `UP'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:453: undefined reference to
`tgetflag'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:453: undefined reference to
`tgetflag'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:465: undefined reference to
`tgetflag'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:465: undefined reference to
`tgetflag'
../readline-4.3/libreadline.a(terminal.o): In function `_rl_backspace':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:564: undefined reference to `tputs'
../readline-4.3/libreadline.a(terminal.o): In function `rl_ding':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:597: undefined reference to `tputs'
../readline-4.3/libreadline.a(terminal.o): In function
`_rl_enable_meta_key':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:622: undefined reference to `tputs'
../readline-4.3/libreadline.a(terminal.o): In function `_rl_control_keypad':
/tmp/lftp-3.0.7/readline-4.3/terminal.c:632: undefined reference to `tputs'
/tmp/lftp-3.0.7/readline-4.3/terminal.c:634: undefined reference to `tputs'
../readline-4.3/libreadline.a(terminal.o):/tmp/lftp-3.0.7/readline-4.3/termi
nal.
c:657: more undefined references to `tputs' follow
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
make[1]: Leaving directory `/tmp/lftp-3.0.7/src'
make: *** [all-recursive] Error 1

i guess i'm missing a library or something, any ideas what it is?
i've got curses-devel and readline-devel packages installed.
on another machine (SuSE 9.0) earlier versions have compiled with no
problem.

thanks,

chris

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

Reply via email to