Upon searching, I saw this issue reported a couple of times, but no responses 
were posted.  I'm hoping I'll have better luck.

I'm trying to install Zenoss 2.1.3 on a Mac OS X 10.5.2 PowerPC system.  I get 
part way through the build process, and then the build fails with the following 
messages:


Code:

In file included from /opt/local/include/mysql5/mysql/mysql.h:47,
                 from _mysql.c:41:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/types.h:92: error: duplicate 
‘unsigned’
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/types.h:92: error: two or more 
data types in declaration specifiers
In file included from /opt/local/include/mysql5/mysql/mysql.h:47,
                 from _mysql.c:41:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/types.h:92: error: duplicate 
‘unsigned’
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/types.h:92: error: two or more 
data types in declaration specifiers
lipo: can't figure out the architecture type of: 
/var/folders/Iy/IyGPUbX0Hyi2MDYJVgbwIk+++Tg/-Tmp-//ccLeIHB1.out
error: command '/usr/bin/gcc-4.0' failed with exit status 1




In the general area of line 92, 
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/types.h says:

Code:

     83 #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
     84 typedef unsigned char           u_char;
     85 typedef unsigned short          u_short;
     86 typedef unsigned int            u_int;
     87 #ifndef _U_LONG
     88 typedef unsigned long           u_long;
     89 #define _U_LONG
     90 #endif
     91 typedef unsigned short          ushort;         /* Sys V compatibility 
*/
     92 typedef unsigned int            uint;           /* Sys V compatibility 
*/
     93 #endif




If I had to guess, based on my long-past programming experience, I'd say 
somebody has defined a type or #define called "unsigned" which is conflicting 
with the reserved word "unsigned".  But that's just my guess.

Does anybody have any idea how I can fix this?  BTW, I'm using Macports for 
mysql, python, swig and autoconf.[/code]




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19153#19153

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to