Hi Jim,
On 23 Mar 2005, at 15:07, Jim Muller wrote:
Well, the last few errors are probably caused by the first few -- what are they?
Sorry, didn't thought that it could be all too important - but thinking about it, my excuse sounds a bit silly. Well here they are:
$ python setup.py build
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
running build
running build_py
running build_ext
building '_mysql' extension
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ config/PantherPythonFix/run-gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3 -c _mysql.c -o build/temp.darwin-7.8.0-Power_Macintosh-2.3/_mysql.o
_mysql.c:41:19: mysql.h: No such file or directory
_mysql.c:42:26: mysqld_error.h: No such file or directory
_mysql.c:43:20: errmsg.h: No such file or directory
_mysql.c:73: error: parse error before "MYSQL"
_mysql.c:73: warning: no semicolon at end of struct or union
_mysql.c:76: error: parse error before '}' token
_mysql.c:76: warning: type defaults to `int' in declaration of `_mysql_ConnectionObject'
_mysql.c:76: warning: data definition has no type or storage class
_mysql.c:87: error: parse error before "MYSQL_RES"
_mysql.c:87: warning: no semicolon at end of struct or union
_mysql.c:91: error: parse error before '}' token
and so on.
Yet, I'm still hesitant to send the entire list of errors.
Anyway: Looking on the first few lines let me search for mysql_config. All I found was a binary in my PHP folder - but this has got nothing to do with MySQL for Python. There is no other mysql_config file on the system.
setup.py tries to use 'popen' on 'mysql_config'. Well, from this point on I still have no idea how to proceed and want to raise the very same question: Any hints?
Thanks, Christian
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig