From: | Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Problem installing extensions on Lion |
Date: | 2012-06-12 12:21:23 |
Message-ID: | 570229F8-0382-42E8-A678-581DF6DB8CC0@unep.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | gipsy-king1 | 2012-06-12 13:01:34 | Function already exists with same argument types |
Previous Message | John R Pierce | 2012-06-12 07:48:08 | Re: Question about load balance |