Обсуждение: readline install questions

Поиск
Список
Период
Сортировка

readline install questions

От
Scott Frankel
Дата:
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


Re: readline install questions

От
Tom Lane
Дата:
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