[Zope] Using MySQL DA
Tom
thomas.wright1@btinternet.com
Sun, 9 Jan 2000 17:21:47 +0000
Everyone,
i have downloaded ZMySQLDA, and MySQLdb-0.1.0.
MySQLdb-0.1.0 has compiled and installed fine ( or seems to have, the
_mysqlmodule.so being copied to the python/site-packages dir etc ).
Then i tried to install ZMySQLDA. untarred in the correct place etc. Ran the
make -f Makefile.pre.in boot, which seemed ok.
But when i then try and run make i get the following errors, any one any ideas ?
This is with SuSE6.3
gcc -fpic -I/usr/include/mysql -O2 -m486 -fno-strength-reduce -I/usr/include/python1.5
-I/usr/include/python1.5 -DHAVE_CONFIG_H -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: *** [MySQLmodule.o]
Error 1
i am new to python and zope, any help appreciated
regards
Tom Wright
thomas.wright1@btinternet.com