Thread
-
Re: [HACKERS] Why is libcurses added to build by configure?
Tom Lane <tgl@sss.pgh.pa.us> — 1998-10-31T17:44:36Z
Karl Auer <auer@kom.id.ethz.ch> writes: > psql (at least in 6.3.2) uses curses and readline. I know this because > I tried to compile under a SuSE 5.3 distribution. Hmm. psql does use readline, but there's no direct dependency on curses. (I verified this by building without curses; it works, here.) Perhaps there are some implementations of readline that depend on curses? The GNU libreadline I have here appears to use termcap, but not curses. There might be other versions though. I think it would be possible to extend configure to detect which library(s) libreadline depends on, and only include those in the link. But that's not something to risk at this stage... regards, tom lane
-
Re: [HACKERS] Why is libcurses added to build by configure?
Phil Thompson <phil@river-bank.demon.co.uk> — 1998-11-01T10:27:10Z
Tom Lane wrote: > > Karl Auer <auer@kom.id.ethz.ch> writes: > > psql (at least in 6.3.2) uses curses and readline. I know this because > > I tried to compile under a SuSE 5.3 distribution. > > Hmm. psql does use readline, but there's no direct dependency on > curses. (I verified this by building without curses; it works, here.) > > Perhaps there are some implementations of readline that depend on > curses? The GNU libreadline I have here appears to use termcap, > but not curses. There might be other versions though. > > I think it would be possible to extend configure to detect which > library(s) libreadline depends on, and only include those in the link. > But that's not something to risk at this stage... readline needs terminfo/termcap. On many Linux systems terminfo support is in the [n]curses library. Phil
-
Re: [HACKERS] Why is libcurses added to build by configure?
Karl Auer <auer@kom.id.ethz.ch> — 1998-11-02T08:21:53Z
Doesn't work here :-) I suspect you are correct, because now that I inspect the makefile output more closely, it is libreadline that has the unresolved references, not any object file in the source tree. Regards, K. Am 31-Oct-98 schrieb Tom Lane: > Karl Auer <auer@kom.id.ethz.ch> writes: >> psql (at least in 6.3.2) uses curses and readline. I know this because >> I tried to compile under a SuSE 5.3 distribution. > > Hmm. psql does use readline, but there's no direct dependency on > curses. (I verified this by building without curses; it works, here.) > > Perhaps there are some implementations of readline that depend on > curses? The GNU libreadline I have here appears to use termcap, > but not curses. There might be other versions though. > > I think it would be possible to extend configure to detect which > library(s) libreadline depends on, and only include those in the link. > But that's not something to risk at this stage... > > regards, tom lane > --- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (auer@kom.id.ethz.ch) Geschaeft/work +41-1-6327531 Kommunikation, ETHZ RZ Privat/home +41-1-4517941 Clausiusstrasse 59 Fax +41-1-6321225 CH-8092 ZUERICH Switzerland