Weird!
My section of pyport.h related to LONG_BIT looks like this:
#ifndef LONG_BIT
#define LONG_BIT (8 * SIZEOF_LONG)
#endif
#if LONG_BIT != 8 * SIZEOF_LONG
/* 04-Oct-2000 LONG_BIT is apparently (mis)defined as 64 on some recent
* 32-bit platforms using gcc. We try to catch that here at compile-time
* rather than waiting for integer multiplication to trigger bogus
* overflows.
*/
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
#endif
-c
On Mar 27, 2007, at 1:35 AM, seanmcgrath wrote:
end of zenbuild.log:
building '_mysql' extension
creating build/temp.darwin-8.9.0-Power_Macintosh-2.3
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-
fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I/usr/local/mysql/include -I/System/Library/Frameworks/
Python.framework/Versions/2.3/include/python2.3 -c _mysql.c -o
build/temp.darwin-8.9.0-Power_Macintosh-2.3/_mysql.o -I/usr/local/
mysql/include -Os -arch ppc64 -fno-common
In file included from /System/Library/Frameworks/Python.framework/
Versions/2.3/include/python2.3/Python.h:48,
from pymemcompat.h:10,
from _mysql.c:31:
/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3/pyport.h:554:2: error: #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
error: command 'gcc' failed with exit status 1
Python install by Apple. MySQL from mysql.com.
Suggestions?
Thanks
------------------------
Sean McGrath
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=4902#4902
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users