[Zope] Trouble compiling ZMySQLDA
Peter Marriott
peter@bmssolutions.com
Mon, 10 Jul 2000 12:57:57 +0800
I couldn't seem to get the RPMS to install, what kind of setup are they
expecting? Does it matter where I have installed zope? (I am a linux
learner so please forgive if I am not making sense)
Thanks
Peter.
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ron
Bickers
Sent: Monday, 10 July 2000 12:42 PM
To: Ewald Wasscher; zope@zope.org
Subject: RE: [Zope] Trouble compiling ZMySQLDA
Actually, I just realized that what you're trying to compile is the MySQLdb
that comes with the DA. The DA itself is written in Python, and doesn't
need to be compiled.
If you already have a db installed, and the DA is compatible with it, you
should be able to just put ZMySQLDA in the Products directory and restart
Zope. If the DA isn't compatible (because it's written for a different db),
then your best and quickest solution is to install the mutually compatible
RPMs I posted.
_______________________
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 )
>
>
_______________________________________________
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 )