psql on red hat 7.1

Started by Nonameover 24 years ago8 messagesgeneral
Jump to latest
#1Noname
newsreader@mediaone.net

After upgrading to red hat 7.1
I can no longer use arrow keys to browse
the psql history

The file .psql_history is my home
directory.

Can someone help me?

I am using 7.1.2

Thanks

In reply to: Noname (#1)
Re: psql on red hat 7.1

newsreader@mediaone.net writes:

After upgrading to red hat 7.1
I can no longer use arrow keys to browse
the psql history

The file .psql_history is my home
directory.

Can someone help me?

I am using 7.1.2

RHL 7.1 shipped with postgresql 7.0 - is this one of the official
rpms, or did you compile it yourself?

--
Trond Eivind Glomsr�d
Red Hat, Inc.

#3Justin Clift
justin@postgresql.org
In reply to: Noname (#1)
Re: psql on red hat 7.1

Hi,

I'm guessing that you've compiled your own version of PostgreSQL 7.1.2.

The symptoms you mention are what happens when PostgreSQL is compiled
without the "readline" library(ies). Normally the PostgreSQL
"configure" program finds this if it's on your system, but I'm thinking
that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

You should probably compile PostgreSQL again, making sure that it can
find the readline library(ies). This will give you a psql command line
history, etc.

:-)

Regards and best wishes,

Justin Clift

newsreader@mediaone.net wrote:

Show quoted text

After upgrading to red hat 7.1
I can no longer use arrow keys to browse
the psql history

The file .psql_history is my home
directory.

Can someone help me?

I am using 7.1.2

Thanks

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#4Noname
newsreader@mediaone.net
In reply to: Justin Clift (#3)
Re: psql on red hat 7.1

On Mon, Jul 23, 2001 at 10:23:51AM +1000, Justin Clift wrote:

Hi,

I'm guessing that you've compiled your own version of PostgreSQL 7.1.2.

The symptoms you mention are what happens when PostgreSQL is compiled
without the "readline" library(ies). Normally the PostgreSQL
"configure" program finds this if it's on your system, but I'm thinking
that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

I compiled 7.1.2 myself

I now see that configure does not
find readline even though it is
installed

How should I tell configure
where to find it?

Thanks

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Justin Clift (#3)
Re: psql on red hat 7.1

Justin Clift <justin@postgresql.org> writes:

The symptoms you mention are what happens when PostgreSQL is compiled
without the "readline" library(ies). Normally the PostgreSQL
"configure" program finds this if it's on your system, but I'm thinking
that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

Note that you need to have both the library itself and its header files.
If you installed 'em from RPMs that means you need both readline and
readline-devel RPMs. Otherwise configure will decide you haven't got
readline installed...

regards, tom lane

#6Noname
newsreader@mediaone.net
In reply to: Tom Lane (#5)
Re: psql on red hat 7.1

On Sun, Jul 22, 2001 at 10:47:25PM -0400, Tom Lane wrote:

Justin Clift <justin@postgresql.org> writes:

that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

Note that you need to have both the library itself and its header files.
If you installed 'em from RPMs that means you need both readline and
readline-devel RPMs. Otherwise configure will decide you haven't got
readline installed...

Here is what I have

$ rpm -qa|grep readl
readline-devel-4.1-9
readline-4.1-9
readline2.2.1-2.2.1-2

Anyway I don't install rpm. configure
says I cannot find readline.

I have also reinstalled readline again

#7Justin Clift
justin@postgresql.org
In reply to: Noname (#1)
Re: psql on red hat 7.1

Hi again,

You're probably best to look through the mailing list archives for the
best ways people have found for doing this. There have been a few
people with similar problems over time. :-)

If you don't find anything there, feel free to ask again.

:-)

Regards and best wishes,

Justin Clift

newsreader@mediaone.net wrote:

Show quoted text

On Mon, Jul 23, 2001 at 10:23:51AM +1000, Justin Clift wrote:

Hi,

I'm guessing that you've compiled your own version of PostgreSQL 7.1.2.

The symptoms you mention are what happens when PostgreSQL is compiled
without the "readline" library(ies). Normally the PostgreSQL
"configure" program finds this if it's on your system, but I'm thinking
that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

I compiled 7.1.2 myself

I now see that configure does not
find readline even though it is
installed

How should I tell configure
where to find it?

Thanks

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

#8Scott W. Hill
stmpjmpr@mac.com
In reply to: Tom Lane (#5)
Re: psql on red hat 7.1

I have the same problem on Mac OS X. Has anyone gotten readline support
to work with OS X?

--Scott

On Sunday, July 22, 2001, at 07:47 PM, Tom Lane wrote:

Justin Clift <justin@postgresql.org> writes:

The symptoms you mention are what happens when PostgreSQL is compiled
without the "readline" library(ies). Normally the PostgreSQL
"configure" program finds this if it's on your system, but I'm thinking
that perhaps you don't have it installed or the "configure" program
didn't find it for some reason.

Note that you need to have both the library itself and its header files.
If you installed 'em from RPMs that means you need both readline and
readline-devel RPMs. Otherwise configure will decide you haven't got
readline installed...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

--
Scott W. Hill
VeriSign Payment Services
shill@verisign.com