Hi all Can anyone please help me with this simple error, I am trying to build ZmySQLDA for my RedHat6.1 system and have install the version of mySql that on the RH power tool cd when I run ZmySQLDA/src/make I get the following error 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_res_fields': ./MySQLmodule.c:456: `AUTO_INCREMENT_FLAG' undeclared (first use in this function) ./MySQLmodule.c:456: (Each undeclared identifier is reported only once ./MySQLmodule.c:456: for each function it appears in.) make: *** [MySQLmodule.o] Error 1 can any one help? Steve (Zope newbie)
You need to use the MySQLDB thing. BRB..... -paste- 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. -snip- This has help out others in the past. -- "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer 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.
On Sat, Jan 15, 2000 at 05:51:04PM +1100, Stephen Cimarelli wrote:
Hi all
Can anyone please help me with this simple error, I am trying to build ZmySQLDA for my RedHat6.1 system and have install the version of mySql that on the RH power tool cd Did you install the development headers and libraries (mysql-devel or something similar). If you did and that didn't work, try upgrading to the version on the MySQL web site.
In the future, it might be a good idea to mention _which_ version of MySQL you are running. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
Thanks , I got it going -----Original Message----- From: root@mr14.vic-remote.bigpond.net.au [mailto:root@mr14.vic-remote.bigpond.net.au]On Behalf Of Stephen Cimarelli Sent: Saturday, 15 January 2000 5:51 PM To: Zope list Subject: [Zope] ZMySQLDA make errors Hi all Can anyone please help me with this simple error, I am trying to build ZmySQLDA for my RedHat6.1 system and have install the version of mySql that on the RH power tool cd when I run ZmySQLDA/src/make I get the following error 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_res_fields': ./MySQLmodule.c:456: `AUTO_INCREMENT_FLAG' undeclared (first use in this function) ./MySQLmodule.c:456: (Each undeclared identifier is reported only once ./MySQLmodule.c:456: for each function it appears in.) make: *** [MySQLmodule.o] Error 1 can any one help? Steve (Zope newbie) _______________________________________________ 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 )
participants (3)
-
ozric -
Stephen Cimarelli -
Stephen Pitts