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

From Thomas Lockhart
Subject Re: [INTERFACES] psql trerminal behaviour
Date
Msg-id 37F0C8CB.36DA5E3B@alumni.caltech.edu
Whole thread Raw
In response to psql trerminal behaviour  ("Tim Joyce" <tim@hoop.co.uk>)
List pgsql-interfaces
> > > 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_readline_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_history='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: "Jon Brule"
Date:
Subject: Linux Postgres and Solaris Tango
Next
From: Rusty Brooks
Date:
Subject: Re: [INTERFACES] problem running pgaccess