installation of readline 4.2

Started by Alex Cheung Tin Kaover 23 years ago4 messagesgeneral
Jump to latest
#1Alex Cheung Tin Ka
tkcheung@vtc.edu.hk

Dear All,
After installing the readline library 4.2 on my solaris box, I want to reconfigure the postgresql v4.2.3. I have tried to configure like following:
./configure --enable-readline

But seems always appeared no readline function installed later.

Is there anyone have ever encounter such situation before? Please give me some advices.

Regards,
Alex

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alex Cheung Tin Ka (#1)
Re: installation of readline 4.2

"Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:

After installing the readline library 4.2 on my solaris box, I want to =
reconfigure the postgresql v4.2.3.

I assume you mean 7.2.3 ...

I have tried to configure like following:
./configure --enable-readline

There is no --enable-readline in 7.2.3 (consult configure --help for the
definitive list of options recognized by any particular configure
script).

I suspect that you failed to follow through on rebuilding and
reinstalling Postgres after reconfiguring. Try
./configure
-- make *sure* configure output shows that it found readline,
-- both library and header files
make clean
make all
make install

regards, tom lane

#3Alex Cheung Tin Ka
tkcheung@vtc.edu.hk
In reply to: Alex Cheung Tin Ka (#1)
Re: installation of readline 4.2

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk>
Cc: "PostgreSQL" <pgsql-general@postgresql.org>
Sent: Thursday, January 02, 2003 12:36 PM
Subject: Re: [GENERAL] installation of readline 4.2

"Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:

After installing the readline library 4.2 on my solaris box, I want

to =

reconfigure the postgresql v4.2.3.

I assume you mean 7.2.3 ...

I have tried to configure like following:
./configure --enable-readline

There is no --enable-readline in 7.2.3 (consult configure --help for the
definitive list of options recognized by any particular configure
script).

I suspect that you failed to follow through on rebuilding and
reinstalling Postgres after reconfiguring. Try
./configure
-- make *sure* configure output shows that it found readline,
-- both library and header files
make clean
make all
make install

regards, tom lane

Dear All,
When I configuring the prosgresql again. the following appears:

...
checking for readline... (cached) no
...
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) yes
...

What happened?

Regards,
Alex

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alex Cheung Tin Ka (#3)
Re: installation of readline 4.2

"Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:

When I configuring the prosgresql again. the following appears:
...
checking for readline... (cached) no

Cached? Maybe you need to remove config.cache before rerunning
configure.

regards, tom lane