[ZWeb] Re: HELP in installing MySQLdb on a virtual server

Andy Dustman adustman@comstar.net
Fri, 10 Nov 2000 12:56:37 -0500 (EST)


On Fri, 10 Nov 2000, Norman Khine wrote:

> Hi,
> I have just tried to build the MySQLdb and had followed the instructions as
> in README file, unfortunatly my zope server is running under a virtual
> server and I am getting errors when I run python build.py
> 
> here is part of the message
> 
> ./_mysqlmodule.c:1047: structure has no member named `connection'
> ./_mysqlmodule.c: In function `_mysql_ConnectionObject_use_result':
> ./_mysqlmodule.c:1057: `MYSQL_RES' undeclared (first use in this function)
> ./_mysqlmodule.c:1057: `result' undeclared (first use in this function)
> ./_mysqlmodule.c:1061: structure has no member named `connection'
> ./_mysqlmodule.c: In function `_mysql_ConnectionObject_dealloc':
> ./_mysqlmodule.c:1077: structure has no member named `connection'
> ./_mysqlmodule.c: In function `_mysql_ConnectionObject_repr':
> ./_mysqlmodule.c:1091: structure has no member named `connection'
> ./_mysqlmodule.c: In function `_mysql_ResultObject_data_seek':
> ./_mysqlmodule.c:1104: structure has no member named `result'
> ./_mysqlmodule.c: In function `_mysql_ResultObject_dealloc':
> ./_mysqlmodule.c:1115: structure has no member named `result'
> *** Error code 1
> 
> Stop in
> /usr/home/userhome/usr/local/zope/2-2-2/lib/python/Products/MySQLdb-0.1.2.

0.1.2 is very old. However it should compile. I suspect you do not have
the MySQL development tools (C headers and libraries) installed.

-- 
andy dustman  |  programmer  |  comstar.net is part of the Globix network
telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d
"Therefore, sweet knights, if you may doubt your strength or courage, 
come no further, for death awaits you all, with nasty, big, pointy teeth!"