Re: [INTERFACES] psql trerminal behaviour

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [INTERFACES] psql trerminal behaviour
Дата
Msg-id 37F0C8CB.36DA5E3B@alumni.caltech.edu
обсуждение исходный текст
Ответ на psql trerminal behaviour  ("Tim Joyce" <tim@hoop.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Jon Brule"
Дата:
Сообщение: Linux Postgres and Solaris Tango
Следующее
От: Rusty Brooks
Дата:
Сообщение: Re: [INTERFACES] problem running pgaccess