Hello group. I've used Fink 0.4.1 to install MySQL 3.23.49-2 & libraries on my OS X 10.1.4 server. I've also installed MySQLDA-2.0.8, Python 2.1.2, and Zope 2.5.1. Now I'm trying to build & install MySQL-python-0.9.2, which is the final step to allow me to make connections to MySQL from Zope. In the setup file, I plugged in my own paths to my sql libraries (/sw/include/mysql and/sw/lib/mysql). The first part of the build completes, but the cc fails. I think it can't find a library (see bottom of message). However, I compared my existing MySQL installation on another machine with this new installation, and they seem to have identical files, so I don't know what's missing. Does anyone have experience with this combination of packages? Chris Africa ------------------------- [mymachine:/Applications/Zope/MySQL-python-0.9.2] myuser# /Applications/Zope/bin/python setup.py build running build running build_py not copying CompatMysqldb.py (output up-to-date) not copying _mysql_exceptions.py (output up-to-date) not copying MySQLdb/__init__.py (output up-to-date) not copying MySQLdb/converters.py (output up-to-date) not copying MySQLdb/connections.py (output up-to-date) not copying MySQLdb/cursors.py (output up-to-date) not copying MySQLdb/sets.py (output up-to-date) not copying MySQLdb/times.py (output up-to-date) not copying MySQLdb/constants/__init__.py (output up-to-date) not copying MySQLdb/constants/CR.py (output up-to-date) not copying MySQLdb/constants/FIELD_TYPE.py (output up-to-date) not copying MySQLdb/constants/ER.py (output up-to-date) not copying MySQLdb/constants/FLAG.py (output up-to-date) not copying MySQLdb/constants/REFRESH.py (output up-to-date) not copying MySQLdb/constants/CLIENT.py (output up-to-date) running build_ext building '_mysql' extension skipping _mysql.c (build/temp.darwin-5.5-Power Macintosh-2.1/_mysql.o up-to-date) cc -flat_namespace -bundle -undefined suppress build/temp.darwin-5.5-Power Macintosh-2.1/_mysql.o -L/sw/lib/mysql -L/sw/lib -lmysqlclient_r -lz -o build/lib.darwin-5.5-Power Macintosh-2.1/_mysql.so -flat_namespace /usr/bin/ld: can't locate file for: -lmysqlclient_r error: command 'cc' failed with exit status 1
participants (1)
-
Chris Africa