Skip site navigation (1) Skip section navigation (2)

MacOS X 10.2

From: richmit <richmit(at)member(dot)ams(dot)org>
To: pgsql-ports(at)postgresql(dot)org
Subject: MacOS X 10.2
Date: 2002-08-25 06:23:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

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


pgsql-ports by date

Next:From: richmitDate: 2002-08-25 13:45:07
Subject: Re: MacOS X 10.2
Previous:From: Mike JohnsonDate: 2002-08-25 03:47:11
Subject: Error compiling sem.c on Darwin 10.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group