problems compiling ZMySQLDA
This is product downloaded form zope.org. Details: Python 1.5.2 MySQL 3.22.32.1 Redhat 6.1 system. All development libraries/includes installed (I think). I run the make -f Makefile.pre.in boot, then make and get the following errors: gcc -fPIC -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 As far as I can see, I'm not getting any errors about missing includes and it's not getting to the link step, so I don't know if I'm missing any libraries. mysql was installed via rpm. Any pointers or help appreciated....
On Sun, Mar 19, 2000 at 08:03:37AM MET
This is product downloaded form zope.org. Details: Python 1.5.2 MySQL 3.22.32.1 Redhat 6.1 system. All development libraries/includes installed (I think). I run the make -f Makefile.pre.in boot, then make and get the following errors:
[...usual "invalid lvalue" error...] *Sigh*. This question was answered at least 6 times by now. See http://www.egroups.com/group/zope/25783.html
Hi! On Sun, 19 Mar 2000, Jo Meder wrote:
This is product downloaded form zope.org. Details: Python 1.5.2 MySQL 3.22.32.1 Redhat 6.1 system. All development libraries/includes installed (I think). I run the make -f Makefile.pre.in boot, then make and get the following errors:
[...usual "invalid lvalue" error...]
*Sigh*. This question was answered at least 6 times by now. See
The ZMySQLDA is used (and will be used) by so many people that this information should be packed into a HOW-TO and published along with the very DA. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Daniel Weber -
Jo Meder -
Oleg Broytmann