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

Reply via email to