Hi I am running ubuntu 6.06.1 server, mysql 5.0.22 and python 2.43. When making zenoss everything is going well until it starts compiling _mysql. See error log below.

building '_mysql' extension
creating build/temp.linux-i686-2.4
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict- prototypes -fPIC -I/usr/include/mysql -I/usr/include/python2.4 -c _mysql.c -o build/temp.linux-i686-2.4/_mysql.o -I/usr/include/mysql -DBIG_JOINS=1
_mysql.c: In function ‘_mysql_ConnectionObject_Initialize’:
_mysql.c:532: error: ‘MYSQL_OPT_RECONNECT’ undeclared (first use in this function)
_mysql.c:532: error: (Each undeclared identifier is reported only once
_mysql.c:532: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1

MYSQL_OPT_RECONNECT should be available in MySQL 5.0.22. Can you make sure that you have the 5.x MySQL libraries installed on the system as well as the server? I'm thinking that maybe you have the 5.0.22 version of the server but libmysqlclient.14 instead of .15._______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to