error: conflicting types for 'uuid_t' .......what?
When I try to build apr I get the following: In file included from misc/unix/rand.c:39: /opt/local/include/uuid.h:94: error: conflicting types for 'uuid_t' /usr/include/unistd.h:121: error: previous declaration of 'uuid_t' was here make[1]: *** [misc/unix/rand.lo] Error 1 make: *** [all-recursive] Error 1 Error: The following dependencies failed to build: apr db44 Error: Status 1 encountered during processing. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
On Feb 23, 2008, at 03:38, Brent Austin wrote:
When I try to build apr I get the following:
In file included from misc/unix/rand.c:39: /opt/local/include/uuid.h:94: error: conflicting types for 'uuid_t' /usr/include/unistd.h:121: error: previous declaration of 'uuid_t' was here make[1]: *** [misc/unix/rand.lo] Error 1 make: *** [all-recursive] Error 1
Error: The following dependencies failed to build: apr db44 Error: Status 1 encountered during processing.
What port provides /opt/local/include/uuid.h? I don't have it on my system. Please type: port provides /opt/local/include/uuid.h and show us the output. Which port was installing at the time of the error -- apr or db44? Also please tell us your version of Mac OS X, Xcode, MacPorts, and what type of Mac you have.
Ryan Schmidt wrote:
On Feb 23, 2008, at 03:38, Brent Austin wrote:
When I try to build apr I get the following:
In file included from misc/unix/rand.c:39: /opt/local/include/uuid.h:94: error: conflicting types for 'uuid_t' /usr/include/unistd.h:121: error: previous declaration of 'uuid_t' was here make[1]: *** [misc/unix/rand.lo] Error 1 make: *** [all-recursive] Error 1
Error: The following dependencies failed to build: apr db44 Error: Status 1 encountered during processing.
What port provides /opt/local/include/uuid.h? I don't have it on my system. Please type:
port provides /opt/local/include/uuid.h
and show us the output. Which port was installing at the time of the error -- apr or db44? Also please tell us your version of Mac OS X, Xcode, MacPorts, and what type of Mac you have.
Sounds like http://trac.macports.org/projects/macports/ticket/14203 It's a bug in ossp-uuid, see http://cvs.ossp.org/tktview?tn=164,4 --anders
On Feb 23, 2008, at 6:46 AM, Anders F Björklund wrote:
What port provides /opt/local/include/uuid.h? I don't have it on my system. Please type:
port provides /opt/local/include/uuid.h
and show us the output. Which port was installing at the time of the error -- apr or db44? Also please tell us your version of Mac OS X, Xcode, MacPorts, and what type of Mac you have.
Sounds like http://trac.macports.org/projects/macports/ticket/14203
It's a bug in ossp-uuid, see http://cvs.ossp.org/tktview?tn=164,4
Right, the ossp-uuid should be modified to install its broken header in a location that doesn't get automatically searched, and ports that want to depend on it can still do so. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (4)
-
Anders F Björklund
-
Brent Austin
-
Daniel J. Luke
-
Ryan Schmidt