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 Re: Problem installing extensions on Lion | 
| Список | 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.
	
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
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 по дате отправления: