Greetings;
I just got my shiny new copy of MacOS X 10.2 -- Err. That would be my
fuzzy, spotted new version of MacOS X. :)
In the process of rebuilding my /usr/local tree, postgreSQL failed to
build. I had no trouble with 10.1.
The make bailed with:
========================================================================
============================
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -c -o sem.o sem.c
In file included from sem.c:30:
../../../../src/include/port/darwin/sem.h:66: warning: `union semun'
declared inside parameter list
../../../../src/include/port/darwin/sem.h:66: warning: its scope is
only this definition or declaration, which is probably not what you want
../../../../src/include/port/darwin/sem.h:66: warning: parameter has
incomplete type
sem.c:67: warning: `union semun' declared inside parameter list
sem.c:68: parameter `arg' has incomplete type
make[4]: *** [sem.o] Error 1
make[3]: *** [darwin.dir] Error 2
make[2]: *** [port-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
========================================================================
============================
I poked around a bit and found semun defined in /usr/include/sem.h. I
tried some obvious things -- like defining the
thing, including the correct file, etc... No luck.
This was postgresql-7.2.2.
Thanx in advance for your efforts.
-mitch richling
PS: I love this database. I was a diehard Oracle user about a year
ago, and now I only use it if someone makes me!
PostgreSQL RULES