Problem installing extensions on Lion

Поиск
Список
Период
Сортировка
От Stefan Schwarzer
Тема Problem installing extensions on Lion
Дата
Msg-id 570229F8-0382-42E8-A678-581DF6DB8CC0@unep.org
обсуждение исходный текст
Ответы Re: Problem installing extensions on Lion  (Craig Ringer <ringerc@ringerc.id.au>)
Re: Problem installing extensions on Lion  (Alban Hertroys <haramrae@gmail.com>)
Список pgsql-general
Hi there,

I upgraded my machine from Snow Leopard to Lion, and ran, as usual, into some Postgres update problems.

I used Kyngchaos libraries for all frameworks and Postgres. Now, I'd like to install the tablefunc/crosstab function.

But the "make" process gives me this:

cd contrib/tablefunc
tablefunc $ make
gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv  -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2  -c -o tablefunc.o tablefunc.c
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


I have a similar issue with the compilation of the Postgis lib.

Thanks a lot for any tip!

Stefan

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Question about load balance
Следующее
От: gipsy-king1
Дата:
Сообщение: Re: import *.backup-file (PostGIS - not mine)