Selectively Compile psql

Started by Samik Raychauhdurialmost 24 years ago2 messages
#1Samik Raychauhduri
samik@cae.wisc.edu

Hello,
I guess this question will be too easy to most of the people here,
though I couldn't figure this out myself. I want to recompile only psql
with the readline library. When I installed PG, GNU readline package was
not there. Now db is running fine, and I don't want to disturb it. Can
anybody point me to the brief steps to do this.
Thanks in advance.
Regards.
-Samik

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Samik Raychauhduri (#1)
Re: Selectively Compile psql

Samik Raychauhduri <samik@cae.wisc.edu> writes:

I guess this question will be too easy to most of the people here,
though I couldn't figure this out myself. I want to recompile only psql
with the readline library. When I installed PG, GNU readline package was
not there. Now db is running fine, and I don't want to disturb it. Can
anybody point me to the brief steps to do this.

There is not presently any method to recompile only psql. However, you
could reinstall only psql. Try this:

cd ...postgres top directory...
./configure same-options-as-you-used-before
make
cd src/bin/psql
make install

regards, tom lane