Re: Readline causing grief in build

Поиск
Список
Период
Сортировка
От David C.Oshel
Тема Re: Readline causing grief in build
Дата
Msg-id 293885F9-1490-11D7-A1A5-000393051D56@inav.net
обсуждение исходный текст
Ответ на Readline causing grief in build  (Dave Stewart <dstewart@aquaflo.com>)
Ответы Re: Readline causing grief in build  (Dave Stewart <dstewart@aquaflo.com>)
Список pgsql-novice
You need to download the readline library from Fink.  I agree, there
oughta be another way ... and there is.  Download the binary as a
standard OS X package from Marc Liyanage's website at
http://www.entropy.ch/software/macosx/postgresql/



On Friday, December 20, 2002, at 06:58  PM, Dave Stewart wrote:

> Hi!
>
> I'm very new with this list and postgresql databases and having major
> trouble trying to build this thing. Every attempt I make gives ends
> with the following message:
>
>
> <begin error>
> ...
> 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.
> <end error>
>
>
> OK, look at the config.log file for details. I can handle that (or so
> I thought). It looks like the configure script is trying to compile a
> test program, but all it shows is:
>
>
> <begin config.log snip>
> ...
> configure:5786: result: no
> configure:5800: checking for readline
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -lreadline -lm  >&5
> ld: can't locate file for: -lreadline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -ledit -lm  >&5
> ld: Undefined symbols:
> _readline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -lreadline -ltermcap -lm  >&5
> ld: can't locate file for: -lreadline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -ledit -ltermcap -lm  >&5
> ld: Undefined symbols:
> _readline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -lreadline -lncurses -lm  >&5
> ld: can't locate file for: -lreadline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -ledit -lncurses -lm  >&5
> ld: Undefined symbols:
> _readline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -lreadline -lcurses -lm  >&5
> ld: can't locate file for: -lreadline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5837: gcc -traditional-cpp -o conftest -g -O2     conftest.c
> -ledit -lcurses -lm  >&5
> ld: Undefined symbols:
> _readline
> configure:5840: $? = 1
> configure: failed program was:
> #line 5811 "configure"
>
> ...
> configure:5883: result: no
> configure:5890: 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.
>
> <end config.log snip>
>
>
> Hmmm. I don't get it. Here's the particulars:
>
> OS: Mac OSX.2.3 (Latest Jaguar)
> GCC: 3.1 {Thread model: posix
> Apple Computer, Inc. GCC version 1161, based on gcc version 3.1
> 20020420 (prerelease)}
> ANT: 1.5.1
>
> I swear readline is there, located at
> /System/Library/PrivateFrameworks/readline.framework/Version/A. Am I
> just missing something very elementary? My head is bleeding from
> smashing it against this problem and I'm hoping someone here has some
> Excedrin (TM) to help.
>
> TIA for any suggestions anyone may have.
>
>
>
> Dave Stewart
> Aqua-flo (Goleta)
> dstewart@aquaflo.com
--
David C. Oshel               mailto:dcoshel@inav.net
Cedar Rapids, Iowa       http://soli.inav.net/~dcoshel
``I think most pleasantly in metaphors, and smoking brings metaphors to
mind." - Augustus Srb, in Alexei Panshin's  _Star Well_


В списке pgsql-novice по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Table referenced by OID in a view?
Следующее
От: hodges@xprt.net
Дата:
Сообщение: pg_hba.conf