mercoledì 1 luglio 2009

Mac OSX python MySQLdb

Starting from:
http://www.keningle.com/?p=11

Something missing if you are using Fink for linux portings:
Additional steps to perform:

1) install the proper dev libraries:
apt-get install mysql14-shlibs mysql14-dev


2) configure the proper links
sudo mkdir -p /usr/local/mysql
sudo ln -sf /sw/lib/mysql /usr/local/mysql/lib


3) execute the

STEP 3

of http://www.keningle.com/?p=11

4) now you can continue as discussed in the linked blog, so:
sudo python setup.py build
sudo python setup.py install

Nessun commento: