Re: Newbie: More readline woes. - Mailing list pgsql-general

From Tino Wildenhain
Subject Re: Newbie: More readline woes.
Date
Msg-id 106116837.1036359076@liza
Whole thread Raw
In response to Newbie: More readline woes.  (john-paul delaney <jp@justatest.com>)
Responses Re: Newbie: More readline woes.  (john-paul delaney <jp@justatest.com>)
List pgsql-general
Hi,

....
> I'm trying to install postgresql 7.2.3 after removing
> the rpm installation (which worked ok with readline) on RH7.3.  My
> problem is that the output of configure states:
> ...
> checking for readline... no
> ...
> with the result that postgresql installs ok but I don't have any
> command-line history.  Readline .so files are installed on /usr/lib and
> the header files in /usr/include/readline.
>
> This is my configure command:
>
> ./configure  --enable-multibyte '--enable-nls='it fr de'
> --with-openssl=/usr/share/ssl --enable-syslog --with-includes=/usr/include
> --with-libraries=/usr/lib
>
> Any suggestions to figure out why it's not recognizing readline already
> installed are greatly appreciated.
>
> (If I install from rpms command-line history works - but I'd like to use
> the latest version and install to /usr/local/pgsql instead of redhat's
> default /usr/lib/pgsql)

This is because you need libreadline-devel (say the header files) to compile
a piece of software for it. You dont need the header files with already
compiled binaries.

Does this help you?

Regards
Tino

pgsql-general by date:

Previous
From: "Robert John Shepherd"
Date:
Subject: ODBC: Could not send Query to backend; Socket has been closed
Next
From: john-paul delaney
Date:
Subject: Re: Newbie: More readline woes.