Re: Problem installing extensions on Lion

Поиск
Список
Период
Сортировка
От Stefan Schwarzer
Тема Re: Problem installing extensions on Lion
Дата
Msg-id 2637FCE1-C3EF-412D-B9BB-0494AC557B89@unep.org
обсуждение исходный текст
Ответ на Re: Problem installing extensions on Lion  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: Problem installing extensions on Lion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Jun 14, 2012, at 3:32 PM, Adrian Klaver wrote:

> On 06/14/2012 04:47 AM, Stefan Schwarzer wrote:
>>> In file included from /usr/local/pgsql-9.1/include/server/postgres.h:47,
>>>                  from tablefunc.c:33:
>>> /usr/local/pgsql-9.1/include/server/c.h:67:19: error: stdio.h: No such file or directory
>>> /usr/local/pgsql-9.1/include/server/c.h:68:20: error: stdlib.h: No such file or directory
>>> /usr/local/pgsql-9.1/include/server/c.h:69:20: error: string.h: No such file or directory
>
> 1) Do the above files actually exist in the above location?

Yes, the c.h exist in the mentioned location. However, as it does not indicate where it looks for the stdio.h, perhaps
theproblem lies there. I can see that file in several places in 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/...

and in

/usr/include/c++/4.2.1/tr1/stdio.h
/usr/include/stdio.h


> 2)  If they do not exist there, do they exist anywhere on the machine?
>
> 3) How was Postgres installed?

Postgres was installed using the Kyngchaos libraries.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Error message "psql: could not connect to server: No such file or directory"
Следующее
От: Stefan Schwarzer
Дата:
Сообщение: Re: Error message "psql: could not connect to server: No such file or directory"