Hello,
This is a re-post, as it seems the mail didn't appear.
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. I tried doing this but things
got messed up. Can anybody point me to the brief steps to do this.
Thanks in advance.
Regards.
-Samik




Mon, 18 Feb 2002 20:05:04 -0600
Samik Raychaudhuri <samik@cae.wisc.edu>
Selectively compile psql
On Mon, 2002-02-18 at 21:05, Samik Raychaudhuri wrote:
> Hello,
> This is a re-post, as it seems the mail didn't appear.
> 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. I tried doing this but things
> got messed up. Can anybody point me to the brief steps to do this.
> Thanks in advance.

./configure
cd src/bin/psql
make
# as root ...
make install

Cheers,

Neil

P.S. This does not belong on -hackers.

-- 
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC


18 Feb 2002 21:28:26 -0500
Neil Conway <nconway@klamath.dyndns.org>
Re: [HACKERS] Selectively compile psql
Hi,
Thanks for the reply. I had to change the way though. I followed:
./configure
gmake -C src/bin/psql
gmake install -C src/bin/psql

cd'ing to src/bin/psql was giving the following error:
make: Fatal error in reader: ../../../src/Makefile.global, line 24: 
Illegal dependencies for target `.SILENT'

Thanks anyway for the clue.
Regards.
-Samik

Neil Conway wrote:

> On Mon, 2002-02-18 at 21:05, Samik Raychaudhuri wrote:
> 
>>Hello,
>>This is a re-post, as it seems the mail didn't appear.
>>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. I tried doing this but things
>>got messed up. Can anybody point me to the brief steps to do this.
>>Thanks in advance.
>>
> 
> ./configure
> cd src/bin/psql
> make
> # as root ...
> make install
> 
> Cheers,
> 
> Neil
> 
> P.S. This does not belong on -hackers.
> 
> 


-- 
__________________________________________________________
Samik Raychaudhuri
Email address: samik@cae.wisc.edu
Homepage: http://samikr.tripod.com/

Office Address:
------------------------------------
Dept. of Industrial Engineering
1513, University Avenue
Madison, WI 53706, USA
Phone: 1-608-265-4146
Fax: 1-608-262-8454

Residence Address:
--------------------------
401, Chamberlain Avenue, Apt # 7
Madison, WI 53705, USA
Phone: 1-608-232-0248


Mon, 18 Feb 2002 21:00:59 -0600
Samik Raychaudhuri <samik@cae.wisc.edu>
Re: [HACKERS] Selectively compile psql
On Mon, 18 Feb 2002, Samik Raychaudhuri wrote:

> This is a re-post, as it seems the mail didn't appear.
> 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. I tried doing this but things
> got messed up. Can anybody point me to the brief steps to do this.

I had the same problem. I simply compiled the whole postgres stuff but
didn't "make install". Instead I copied psql to /home/pgsql/bin
manually.


Tue, 19 Feb 2002 10:45:23 +0100 (CET)
Holger Marzen <holger@marzen.de>
Re: Selectively compile psql