Re: [Zope-dev] ZMySQLDA - errors during compilation...
This is a confirmation, I did the same stuff to get the module to compile :-) - Holger Am Don, 27 Jul 2000 schrieb Phil Harris: > Jon, > > If I remember correctly all you have to do is remove the & from the lines in > question. > > So on line 384 of MySQLModule.c find the & and remove it, just the &. --snipp-- -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZMySQLDA - errors during compilation...
Jon, If I remember correctly all you have to do is remove the & from the lines in question. So on line 384 of MySQLModule.c find the & and remove it, just the &. Then repeat for any line with the same error and hey presto, Bob is now married to your mothers sister. hth Phil [EMAIL PROTECTED] - Original Message - From: "Jon Franz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 26, 2000 8:44 PM Subject: [Zope-dev] ZMySQLDA - errors during compilation... > Hello, > I'm trying to install ZMySQLDA onto a Linux machine with > Zope 2.2.0, python 1.5.2, and a newly installed (from source) > copy of MySQL 3.22.23 (latest stable). I had to modify the > include paths in Setup.in so it could find the include files, > but now I get the following errors when running make: > > >>> > gcc -fpic -I/usr/local/mysql/include/mysql -I/usr/include/mysql -g -O2 > -I/usr/local/include/python1.5 - > I/usr/local/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 > <<< > > any suggestions? I've had errors installing ZMySQLDA before, > but nothing like this... > > Thanks in advance. > > ~ Jonathan M. Franz ~ Senior Developer/Technical Leader ~ > ~ SW-Dev Division, Springdale, Ohio Office ~ 513.618.2248 ~ > ~ OneNet Communications (A USNet/MDM Company) www.one.net ~ > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZMySQLDA - errors during compilation...
Hello, I'm trying to install ZMySQLDA onto a Linux machine with Zope 2.2.0, python 1.5.2, and a newly installed (from source) copy of MySQL 3.22.23 (latest stable). I had to modify the include paths in Setup.in so it could find the include files, but now I get the following errors when running make: >>> gcc -fpic -I/usr/local/mysql/include/mysql -I/usr/include/mysql -g -O2 -I/usr/local/include/python1.5 - I/usr/local/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 <<< any suggestions? I've had errors installing ZMySQLDA before, but nothing like this... Thanks in advance. ~ Jonathan M. Franz ~ Senior Developer/Technical Leader ~ ~ SW-Dev Division, Springdale, Ohio Office ~ 513.618.2248 ~ ~ OneNet Communications (A USNet/MDM Company) www.one.net ~ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )