Re: compile error in libpq program

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: compile error in libpq program
Дата
Msg-id 4CC13D21.2090202@hogranch.com
обсуждение исходный текст
Ответ на compile error in libpq program  (zab08 <zab08@126.com>)
Список pgsql-general
On 10/21/10 9:14 PM, zab08 wrote:
>
> more detail? I don't understand.

please send responses to the mail list so others can contribute.

libpq is only one piece of postgres, and building it has to be done in
the context of the rest of the postgres build environment, you can't
just manually compile it standalone and expect sane results.   before
you compile any of the postgres components, you run the ./configure
script in the top level postgres directory with the appropriate options
for your envinronment, this sets up the proper build environment,
including various libraries such as libssl and libcrypto.  Your compile
failed because it didn't know where these libraries are.

if you want to just compile libpq, and not the rest of postgres, I would
first run './configure' with proper options in the top directory, then
'cd src/interfaces/libpq ' and run 'make' there.




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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: COPY question
Следующее
От: Tim Uckun
Дата:
Сообщение: Re: Updates, deletes and inserts are very slow. What can I do make them bearable?