http://www.zope.org/Members/alanpog/zmysqlda_steps go here .. This is almost perfect. Just run the patch and build ZmySQLdb again. When it is done there will be instructions after it builds that say run make install, make sure you do. It should work for you. I connected to the MySQL test DB just fine, of course there is nothing in there and I have to test it out a little better. Tom wrote:
Everyone,
i have downloaded ZMySQLDA, and MySQLdb-0.1.0.
MySQLdb-0.1.0 has compiled and installed fine ( or seems to have, the _mysqlmodule.so being copied to the python/site-packages dir etc ).
Then i tried to install ZMySQLDA. untarred in the correct place etc. Ran the make -f Makefile.pre.in boot, which seemed ok.
But when i then try and run make i get the following errors, any one any ideas ?
This is with SuSE6.3
gcc -fpic -I/usr/include/mysql -O2 -m486 -fno-strength-reduce -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 am new to python and zope, any help appreciated
regards
Tom Wright
thomas.wright1@btinternet.com
_______________________________________________ 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 )
-- "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer "For every complex problem there is an answer that is clear, simple, and wrong." -- H L Mencken Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damage per incident.