Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] psql trerminal behaviour

From: "Tim Joyce" <tim(at)hoop(dot)co(dot)uk>
To: "paneris administration" <administration(at)messageboards(dot)paneris(dot)org>, "Thomas Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, <moray(dot)mcconnachie(at)computing-services(dot)oxford(dot)ac(dot)uk>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] psql trerminal behaviour
Date: 1999-09-28 15:24:25
Message-ID: 028301bf09c5$a0cb0450$0501a8c0@noonoo (view raw or flat)
Thread:
Lists: 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(at)hoop(dot)co(dot)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(at)alumni(dot)caltech(dot)edu>
To: Tim Joyce <tim(at)hoop(dot)co(dot)uk>
Cc: <pgsql-interfaces(at)postgreSQL(dot)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(at)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(at)alumni(dot)caltech(dot)edu
> South Pasadena, California


In response to

Responses

pgsql-interfaces by date

Next:From: Thomas LockhartDate: 1999-09-28 15:45:41
Subject: Re: [INTERFACES] psql trerminal behaviour
Previous:From: Thomas LockhartDate: 1999-09-28 14:03:19
Subject: Re: [INTERFACES] Linux Postgres and Solaris Tango

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group