[Zope] ZMySQLDA compilation problems

Daniel ando@xenon.net
Tue, 21 Sep 1999 13:58:41 +1000


I've been trying to install mysql support for Zope and i've followed the
instructions that came with it, including compiling python etc etc, but
when i try to compile MySQL support for python i get this error msg:
gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H  -I/usr/include/mysql -c
./MySQLmodule.c
./MySQLmodule.c: In function `pythonify_row':
./MySQLmodule.c:238: warning: assignment from incompatible pointer type
./MySQLmodule.c: In function `pythonify_res_fields':
./MySQLmodule.c:384: invalid lvalue in unary `&'
./MySQLmodule.c: In function `STH_fetchdict':
./MySQLmodule.c:1125: invalid lvalue in unary `&'
./MySQLmodule.c:1147: invalid lvalue in unary `&'
make[1]: *** [MySQLmodule.o] Error 1
make[1]: Leaving directory `/opt/Python-1.5.1/Modules'
make: *** [Modules] Error 2

I'm running Redhat linux 5.2, pythong 1.5.1 and Zope 2.0.0 if that makes
any difference
any advice would be appreciated :)