Thread: Newbie: More readline woes.

Newbie: More readline woes.

From
john-paul delaney
Date:
Hello List...

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/pgsqlinstead of redhat's default /usr/lib/pgsql) 

thanks
/j-p.


JUSTATEST Art Online
http://www.justatest.com


Re: Newbie: More readline woes.

From
Tino Wildenhain
Date:
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

Re: Newbie: More readline woes.

From
john-paul delaney
Date:
On Sun, 3 Nov 2002, Tino Wildenhain wrote:

>
> 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.
>

Thanks Tino... however the readline-devel package was already installed with header files in /usr/include/readline and
librariesin /usr/lib. 

I've just tried installing the termcap-devel package, ran ldconfig, and now the configure command has found readline it
seems...I'll carry on with the install and get back to the list if it's still not resolved. 

regards
/j-p.