[Zope] ZMySQLda make failure
technology@mylinuxisp.com
technology@mylinuxisp.com
Mon, 20 Dec 1999 09:24:48 -0600
I can query mysql and get results from within the python command line.
So that works ok.
When I perfomr the make -f Makefile.pre.in boot there is no error.
However when I perfomr the make I get an error as fallows
[root@localhost src]# make
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 read about the fixed bug [40] Zope Doc_Request: Make failures for ZmySQLDA
I do not know if this is a related issue.
Facts. I installed MySQL rpm 3.22.27-1.
I have installed python-MySQLmodule-1.4.0-7.i386.rpm
and python python-devel-1.5.2-2.i386.rpm
and zope Zope-2.1.1-linux2-x86.tgz.
on redhat 6.1 kernel 2.2.12
Thank you for any help
technology.nospam@ylinuxisp.com
cj