[Zope] Trouble compiling ZMySQLDA
Ron Bickers
rbickers@logicetc.com
Sun, 9 Jul 2000 23:30:40 -0400
There seem to be several different (old?) instructions floating around on
how to install the Python MySQLdb and the Zope ZMySQLDA. If you just want
it working, and you're using RPMs, you can grab my RPMs of Andy Dustman's
MySQLdb 0.2.1 and the ZMySQLDA 1.2.0 that now works with it. As far as I
know, this is the latest mutually functional and thread friendly
combination.
ftp://ftp.logicetc.com/pub/Zope/RPMS/MySQL-python-0.2.1-1.i386.rpm
ftp://ftp.logicetc.com/pub/Zope/RPMS/Zope-ZMySQLDA-1.2.0-1.i386.rpm
Andy's MySQLdb - http://dustman.net/andy/python/MySQLdb/0.2.1
ZMySQLDA - http://www.zope.org/Members/mordred/ZMySQLDA
Note that Andy's latest 0.2.2 db doesn't yet work with ZMySQLDA 1.2.0.
_______________________
Ron Bickers
Logic Etc, Inc.
rbickers@logicetc.com
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ewald
> Wasscher
> Sent: Sunday, July 09, 2000 7:54 PM
> To: zope@zope.org
> Subject: [Zope] Trouble compiling ZMySQLDA
>
>
> Hello all,
>
> When I try to compile ZMySQLDA I get the following error messages after
> typing make:
>
> [root@catv6216 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
> [root@catv6216 src]#
>
> I can't even read a single line of c so I have no idea what's wrong
> exactly.
>
> FYI:
>
> OS: Immunix 6.2 (= RedHat 6.2 + stackguard)
> Zope: 2.1.6 (compiled from Jeff Rush's source rpm, 2.2b3 doesn't work
> either)
> MySQL: 3.22.32 and 3.23.21
> Python MySQLdb: 2.0 2.1
>
> Ewald Wasscher
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>