Stephan Goeldi writes:
I installed and compiled MySQL-Python successfully in my Zope 2.4.3 tree. Afterwards I start compiling ZMySQLDA with "make -f Makefile.pre.in boot" which runs without error. Then I start "make" and get this output:
gcc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -g -O2 -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 saw this problem report already (--> search the mailing list archives).
"MySQLmodule.c" uses "&" in a way your compiler does not like... Dieter