[Zope] ZMysqlDA

Andrew Kenneth Milton akm@mail.theinternet.com.au
Mon, 22 May 2000 18:37:58 +1000 (EST)


+----[ Brenton Bills ]---------------------------------------------
| 
| Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD
| machine, I have compiled this fine before on Linux but no luck on bsd. I
| am new to Bsd so if this is a bsd problem I appolagise in advance, but the
| ZMysqlda documentation is not clear on what libs are required. 
| 
| Python 1.5.2 manually compiled and installed (not part from ports). 

You need to edit the src/Setup to change the locations for
the mysql includes and libraries:

-I/usr/local/include/mysql
-L/usr/local/lib/mysql

so you get a line that looks like:-

MySQLmodule MySQLmodule.c -I/usr/local/mysql/include -I/usr/include/mysql -L/usr
/local/mysql/lib -L/usr/lib/mysql -lmysqlclient -lm

Works for me d8)

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|