Forum OpenACS Q&A: Re: PostgreSQL 7.2.x on Mac OSX 10.2.x?

Collapse
Posted by Vinod Kurup on
Hi Tom,

The first error that is reported in your log is:

../../../../src/include/c.h:55:19: stdio.h: No such file or directory

So, it's not finding the development headers. Do you have a stdio.h in /usr/include? If not, then I think you need to install the Mac OS Development tools (available on your install CDs). If it is there, then I'm not sure why it's not being found...

Collapse
Posted by Tom Lazar on
vinod,

thanks, you are so right! when installing the developer tools (ages ago) i deselected the documentation and the SDK packages to save space...)

i reinstalled them and the good news is: my make process got much further now 😉

it now breaks with an apparent error in one of those header files:

/usr/include/ppc/setjmp.h:58: conflicting types for `jmp_buf'
/usr/include/ppc/setjmp.h:57: previous declaration of `jmp_buf'
make[4]: *** [xact.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

again, this happens with both the 7.2.1 and 7.2.4 releases. i don't know c(++) *at all* so i'm pretty much at loss here (i did look into the file in question but couldn't connect the error message with what i saw at lines 57 and 58...)

#define _JBLEN (26 + 36 + 129 + 1)

#if defined(KERNEL)
typedef struct sigcontext jmp_buf[1];
typedef struct __sigjmp_buf {
        int __storage[_JBLEN + 1] __attribute__((aligned(8)));
        } sigjmp_buf[1];
#else
typedef int jmp_buf[_JBLEN];              <-- line num 57
typedef int sigjmp_buf[_JBLEN + 1];
#endif

sooo, my question stubbornly remains: anyone out there running OpenACS und MacOSX 10.2.4?