I'm attempting to install mySQLdb on an x86 running the gentoo distro
I run the following command : $ python setup.py build
and get the following output:
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
gcc -DNDEBUG -mcpu=i686 -O3 -pipe -fPIC -I/usr/include/mysql -I/usr/include/python2.2 -c _mysql.c -o build/temp.linux-i686-2.2/_mysql.o
_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
anyone have any idea what's goin on here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm attempting to install mySQLdb on an x86 running the gentoo distro
I run the following command : $ python setup.py build
and get the following output:
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
gcc -DNDEBUG -mcpu=i686 -O3 -pipe -fPIC -I/usr/include/mysql -I/usr/include/python2.2 -c _mysql.c -o build/temp.linux-i686-2.2/_mysql.o
_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
anyone have any idea what's goin on here?
What version of MySQLdb? 0.9.1 should work for this, but also try 0.9.2c3 if not.
my apologies, I had the .9.0 version because It was the newest version on the Zope web site