I have tried everything I know (which is probably not much) to build MySQL-python-0.9.0 using the libraries from fink's mysql-dev package. A slight alteration to setup.py which is used to build and install it. I pointed it to the /sw/include directory to find the mysql libraries there and, thinking the compile errors might be related to the version of python being called, I tried it with python 2.1 and then installed python 2.2 (both under fink) but continued to get the errors I had been given with the version that was installed with OS X in the first place. The error looks like this.
Can anyone give me a hint as to how I can overcome this. By the way, my goal is to get zope talking to mysql. Tom ------------------------------- tom% ./setup1.py build running build running build_py creating build/lib.darwin-6.4-PowerMacintosh-2.2 copying CompatMysqldb.py -> build/lib.darwin-6.4-PowerMacintosh-2.2 copying _mysql_exceptions.py -> build/lib.darwin-6.4-PowerMacintosh-2.2 creating build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/__init__.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/converters.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/connections.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/cursors.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/sets.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb copying MySQLdb/times.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb creating build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/__init__.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/CR.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/ER.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/FLAG.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/REFRESH.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -> build/lib.darwin-6.4-PowerMacintosh-2.2/MySQLdb/constants running build_ext building '_mysql' extension creating build/temp.darwin-6.4-PowerMacintosh-2.2 gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/sw/include/mysql -I/sw/include/python2.2 -c _mysql.c -o build/temp.darwin-6.4-PowerMacintosh-2.2/_mysql.o _mysql.c:192: warning: ANSI C forbids newline in string constant _mysql.c:193:1: warning: multi-line string literals are deprecated _mysql.c: In function `_mysql__fetch_row': _mysql.c:784: too many arguments to function `_PyTuple_Resize' error: command 'gcc' failed with exit status 1 ---------------------------------------------------- __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
