Re: [INTERFACES] psql trerminal behaviour - Mailing list pgsql-interfaces

From Tim Joyce
Subject Re: [INTERFACES] psql trerminal behaviour
Date
Msg-id 028301bf09c5$a0cb0450$0501a8c0@noonoo
Whole thread Raw
In response to psql trerminal behaviour  ("Tim Joyce" <tim@hoop.co.uk>)
Responses Re: [INTERFACES] psql trerminal behaviour
List pgsql-interfaces
Thomas,

thanks loads for the help.

what i did was:

rpm -Uvh readline-devel-2.2.1-5.i386.rpm

rm src/config.cache
make clean
make
make install

and it works.

i think that the postgres build should check more thoroughly that
/usr/include/readline/*.h exists and not let you make with out it, as pgsql
is quite unusable without arrow and del keys.

thanks again

Cheers

Tim Joyce
Chief Enthusiast
tim@hoop.co.uk
HOOP Ltd
http://www.hoop.co.uk
01202 251 816

HOOP is proud to be a member of the Paneris community (www.paneris.co.uk)


----- Original Message -----
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Tim Joyce <tim@hoop.co.uk>
Cc: <pgsql-interfaces@postgreSQL.org>
Sent: 28 September 1999 14:55
Subject: Re: [INTERFACES] psql trerminal behaviour


> > > > i am having problems in psql getting my arror and delete keys to
work!
> > > Your ./configure step isn't finding readline and history.
> > I have check config.log and can't see anything wrong.  Is there a way to
fix
> > this without rebuilding?
>
> I doubt that you can fix it without rebuilding, and I'm not certain
> what parts you would need to rebuild so it's time for "make clean
> install". But first, you have to rerun configure and get it
> recognizing that readline/history are available.
>
> > I have the following files in /usr/lib/:
> > /usr/lib/libhistory.so.3.0
> > /usr/lib/libhistory.so.3
> > /usr/lib/libreadline.so.3.0
> > /usr/lib/libreadline.so.3
>
> That's good. It looks like the test is also for readline.h and
> history.h, which on my machine are in /usr/include/readline/. Here is
> an grep from my config.cache:
>
> [postgres@golem src]$ grep -i readline config.cache
> config.cache:ac_cv_header_readline_h=${ac_cv_header_readline_h='no'}
>
config.cache:ac_cv_header_readline_history_h=${ac_cv_header_readline_history
_h='yes'}
>
config.cache:ac_cv_header_readline_readline_h=${ac_cv_header_readline_readli
ne_h='yes'}
> config.cache:ac_cv_lib_readline_main=${ac_cv_lib_readline_main='yes'}
>
config.cache:ac_cv_lib_readline_write_history=${ac_cv_lib_readline_write_his
tory='yes'}
>
> I'm pretty sure that other folks can help you with more details. Good
> luck.
>
>                     - Thomas
>
> --
> Thomas Lockhart lockhart@alumni.caltech.edu
> South Pasadena, California



pgsql-interfaces by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [INTERFACES] Linux Postgres and Solaris Tango
Next
From: Thomas Lockhart
Date:
Subject: Re: [INTERFACES] psql trerminal behaviour