[Zope] Trying to Install ZMySQLDA
Robert Canary
rwcanary@ohiocounty.net
Sat, 13 Nov 1999 12:40:42 -0600
Hi agin,
I am agin trying to install the ZMySQLDA. I upragded my Zope to the
2.0.1 from the rpm on the RedHat 6.1 distro and I am runing
python-1.5.2. Now according to the instructions from the ZmySQLDA I am
suppose to un tar this from the top directory of the Zope. If I go to
/usr/lib/python1.5/site-packages/ and unpack everything it ends up with
a /usr/lib/python1.5/site-packages/lib/python/Products/ZMySQLDA/{all the
tared files} + {a src directory to build the mysqlmodule}. However, this
is obviously not right. The only "Products" I found was under the
"ZopeWorld" directory. However, manually place the contents of the
tarball's "Product" directory in this directory did not help iether. No
matter which way I go I get this error when I do make in the
ZMySQLDA/src directory.
This is the output.
[root@mchn3 src]# make sharedmods
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
I really need some help with this one, any volunteers?
thanks in advance ;-)
--
robert canary