Thread: Problem with configure script in 7.3.2.
It doesn't seem to find readline even though I have it installed on my Linu= x system. In particular, it seems to be attempting to include <readline.h>= rather than <readline/readline.h>. In addition, it is not linking in the = -lcurses library. It seems that these are both needed for the latest versi= on of readline. Any thoughts on this? Thanks, Kevin Regan kregan@amazon.com
"Regan, Kevin" <kregan@amazon.com> writes: > It doesn't seem to find readline even though I have it installed on my Linu= > x system. In particular, it seems to be attempting to include <readline.h>= > rather than <readline/readline.h>. In addition, it is not linking in the = > -lcurses library. It seems that these are both needed for the latest versi= > on of readline. I don't think so. The configure script checks for readline/readline.h *first*. And it will include -lcurses if needed to link readline. Given that there is no one else reporting such problems on Linux, I think there's something pretty broken about your local configuration. Beyond the obvious "did you install readline-devel too?", I can't help without more details. regards, tom lane
> ... And it will include -lcurses if needed to link readline. At least on my Linux box (RH 8.0), readline depends on -ltermcap not -lcurses ... and PG's configure does figure that out. regards, tom lane
Tom, Thanks for the reply. If this is working for others, then it is almost cer= tainly a configuration issue on my machine. I do not have readline-devel i= nstalled -- I'll look into getting this. --Kevin -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Sunday, February 16, 2003 6:26 PM To: Regan, Kevin Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] Problem with configure script in 7.3.2.=20 "Regan, Kevin" <kregan@amazon.com> writes: > It doesn't seem to find readline even though I have it installed on my Li= nu=3D > x system. In particular, it seems to be attempting to include <readline.= h>=3D > rather than <readline/readline.h>. In addition, it is not linking in th= e =3D > -lcurses library. It seems that these are both needed for the latest ver= si=3D > on of readline. I don't think so. The configure script checks for readline/readline.h *first*. And it will include -lcurses if needed to link readline. Given that there is no one else reporting such problems on Linux, I think there's something pretty broken about your local configuration. Beyond the obvious "did you install readline-devel too?", I can't help without more details. regards, tom lane