Обсуждение: Re: [NOVICE] Postgresql won't compile

Поиск
Список
Период
Сортировка

Re: [NOVICE] Postgresql won't compile

От
The Hermit Hacker
Дата:
This email has been redirected to pgsql-admin@postgresql.org...*this* is
why I was against a 'novice' list in the first place *sigh*


On 24 Jun 1998, John Bright wrote:

> Hi,
> Thanks for the very quick response.
> In answer to your questions, am currently running SuSE Linux
> 5.1.
> Am attaching a copy of make.log which was produced during
> the compilation of Postgresql. I hope this gives you the link
> info, which you are after. If not, please let me know where
> to get the info you required and I'll get it back to you pronto.
> Many thanks for your help.
> John


gmake[3]: Leaving directory `/usr/src/pgsql/src/interfaces/libpq'
gcc -o psql -L../../interfaces/libpq psql.o stringutils.o   -lpq -ldl -lm
-lbsd
-lreadline -lhistory  -export-dynamic -Wl,-rpath -Wl,/usr/local/pgsql/lib
/usr/lib/libreadline.a(display.o): In function `rl_redisplay':
display.o(.text+0x9bf): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `update_line':
display.o(.text+0xf26): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `_rl_move_cursor_relative':
display.o(.text+0x11e6): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `_rl_move_vert':
display.o(.text+0x12c9): undefined reference to `tputs'
display.o(.text+0x130a): undefined reference to `tputs'


How come you don't have an '-lncurses' or -lcurses library being used?
Isn't it required for readline?  Someone?