>>> 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
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.
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.
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
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:
> 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
>> 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
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