py25-mysql Fails on Leopard / PowerBook G4
Brian Yamabe
brian at yamabe.net
Wed Oct 31 09:34:23 PDT 2007
py25-mysql is failing for me.
sudo port install py25-mysql gets:
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.3-ppc-2.5/MySQLdb
running build_ext
building '_mysql' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -DNDEBUG -D__DARWIN_UNIX03 -Dversion_info=(1,2,2,'final',0) -
D__version__=1.2.2 -I/opt/local/include/mysql5/mysql -I/opt/local/
include/python2.5 -c _mysql.c -o build/temp.macosx-10.3-ppc-2.5/_mysql.o
In file included from /opt/local/include/mysql5/mysql/mysql.h:43,
from _mysql.c:40:
/usr/include/sys/types.h:92: error: duplicate 'unsigned'
/usr/include/sys/types.h:92: error: two or more data types in
declaration specifiers
error: command 'gcc' failed with exit status 1
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_python_py25-mysql/work/MySQL-python-1.2.2"
&& /opt/local/bin/python2.5 setup.py build " returned error 1
I just did a new install of mysql5 +server
Anyone else run into this or have any clues for me?
Thanks,
Brian Yamabe
More information about the macports-users
mailing list