[Zope] ZMySQLDA compile error

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Sun, 23 Dec 2001 16:26:26 +0300


Hi!

   You are trying to compile very very old and outdated sources.
MySQLmodule is ling dead. Long live MySQLdb!

> 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

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.