readline install questions

Started by Scott Frankelover 21 years ago2 messagesgeneral
Jump to latest
#1Scott Frankel
leknarf@pacbell.net

I am attempting to install postgresql7.4.5 on OSX 10.3.5 and have
questions about
readline.

For use with Python, I have readline.so installed in
/Library/Python/2.3/.

- Is this "manifestation" of readline sufficient/appropriate for
postgres?

- If not, what do I need and where do I get it from?

- If readline.so is sufficient/appropriate, where should I copy it to
so that
configure can find it?

- Conversely, where is the path specified so I could point it to the
file that
already exists?

Thanks in advance!
Scott

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Scott Frankel (#1)
Re: readline install questions

Scott Frankel <leknarf@pacbell.net> writes:

I am attempting to install postgresql7.4.5 on OSX 10.3.5 and have
questions about readline.

FWIW, on my OSX machines I always pull down the source distribution of
readline and build/install it per defaults ("configure; make; sudo make
install" or nearly so). This process puts libreadline.a into
/usr/local/lib and the .h files under /usr/local/include. It's probably
not ideal from an OSX-centric point of view, but it seems to work fine
for Postgres.

regards, tom lane