Re: [NOVICE] Postgresql won't compile

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: John Bright <johnbr(at)vossnet(dot)co(dot)uk>
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [NOVICE] Postgresql won't compile
Date: 1998-06-25 14:46:31
Message-ID: Pine.BSF.3.96.980625104510.8567B-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


This email has been redirected to pgsql-admin(at)postgresql(dot)org(dot)(dot)(dot)*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?

Browse pgsql-admin by date

  From Date Subject
Next Message The Hermit Hacker 1998-06-25 16:09:59 Compiling PostgreSQL (fwd)
Previous Message Olivier Nenert 1998-06-25 14:39:44 Log - ODBC