[Zope] ZMySQLDA compilation problems

Mike Schmitz mschmitz@colug.org
Wed, 20 Oct 1999 20:05:23 -0700


On Tue, 21 Sep 1999, Daniel wrote:

> I've been trying to install mysql support for Zope and i've followed
> the instructions that came with it, including compiling python etc
> etc, but when i try to compile MySQL support for python i get this
> error msg:
> gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H  -I/usr/include/mysql
> -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[1]: *** [MySQLmodule.o] Error 1
> make[1]: Leaving directory `/opt/Python-1.5.1/Modules'
> make: *** [Modules] Error 2
> 
> I'm running Redhat linux 5.2, pythong 1.5.1 and Zope 2.0.0 if that
> makes any difference any advice would be appreciated :)

I am getting the same errors.

Debian Potato
Zope 2.0.1
Python 1.5.2
MySQLdb-0.1.1
ZMySQLDA-1.1.3-nonbin.tar.gz with patch from MySQLdb-0.1.1
libc6 2.1.2

TIA

-- 
  Mike Schmitz     mschmitz@colug.org     http://mschmitz.colug.org/
  Don't blame me - I voted libertarian!   http://www.lp.org/
  Use Debian Linux - the free Gnu/Linux   http://www.debian.org/
				  -----------        
      "If encryption is outlawed, only outlaws will have encryption"