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

Re: Change config of running PGSQL

From: "McDougall, Marshall (FSH)" <MarMcDouga(at)gov(dot)mb(dot)ca>
To: "'Doug McNaught'" <doug(at)mcnaught(dot)org>,"'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Change config of running PGSQL
Date: 2004-08-31 20:19:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Thanks for the response Doug.  I started down the path that you suggested
and quickly found out why it was compiled that way.  When the configure
script gets to checking readline libraries, it says it can't find them and
stops there ala:

checking for main in -lresolv... yes
checking for library containing getopt_long... none required
checking for main in -lunix... no
checking for library containing crypt... -lcrypt
checking for __inet_ntoa in -lbind... no
checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

I made sure that readline was indeed installed to no avail.  The configure
still does not see the libs.  Any ideas?

Regards, Marshall 

-----Original Message-----
From: Doug McNaught [mailto:doug(at)mcnaught(dot)org] 
Sent: Tuesday, August 31, 2004 10:39 AM
To: McDougall, Marshall (FSH)
Cc: 'pgsql-general(at)postgresql(dot)org'
Subject: Re: [GENERAL] Change config of running PGSQL

"McDougall, Marshall (FSH)" <MarMcDouga(at)gov(dot)mb(dot)ca> writes:

> I have an existing installation of 7.3.4 that appears to have been made
> "--without-readline and --without-zlib" parameters used at build time.
> do I change those  parms without reinstalling the whole thing.  I would
> normally go through the archives, but they appear to be unavailable.  All
> replies appreciated.

The minumum you can do is recompile with the configure options you
want, move the affected new binaries into place, and restart.  There's
really no reason not to do a full "make install" though--you won't have
to dump and reload your data, and it's easier than figuring out by
hand what you need to upgrade...

Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863


pgsql-general by date

Next:From: Doug McNaughtDate: 2004-08-31 20:24:01
Subject: Re: Change config of running PGSQL
Previous:From: eleinDate: 2004-08-31 20:17:54
Subject: Large Databases

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