Re: [GENERAL] Problem installing extensions on Lion

2012-06-22 Thread Stefan Schwarzer
>>> 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 the problem lies there. > > Indeed. Where did you get the advice to use "-isysroot > /Developer/SDKs/Mac

Re: [GENERAL] Problem installing extensions on Lion

2012-06-14 Thread Tom Lane
Stefan Schwarzer writes: > On Jun 14, 2012, at 3:32 PM, Adrian Klaver wrote: >> 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 the problem lies there. Indeed.

Re: [GENERAL] Problem installing extensions on Lion

2012-06-14 Thread Alban Hertroys
On 12 June 2012 14:21, Stefan Schwarzer wrote: > But the "make" process gives me this: > > cd contrib/tablefunc > tablefunc $ make > gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk I think that's where it looks for the standard C headers? In that case that's what you need to change.

Re: [GENERAL] Problem installing extensions on Lion

2012-06-14 Thread Stefan Schwarzer
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 fil

Re: [GENERAL] Problem installing extensions on Lion

2012-06-14 Thread Adrian Klaver
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:

Re: [GENERAL] Problem installing extensions on Lion

2012-06-14 Thread Stefan Schwarzer
> 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 direc

Re: [GENERAL] Problem installing extensions on Lion

2012-06-12 Thread Stefan Schwarzer
>> 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: > > Looks lik

Re: [GENERAL] Problem installing extensions on Lion

2012-06-12 Thread Craig Ringer
On 06/12/2012 08:21 PM, Stefan Schwarzer wrote: 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 "m