K
keith
Hi,
I have been using MySQLdb on a 32-bit processor, no worries. Love it.
I went to install on an AMD64 running the 64-bit version of SUSE 10.0.
I get the following error during the "python setup.py build"
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/mysql
-I/usr/include/python2.4 -c _mysql.c -o
build/temp.linux-x86_64-2.4/_mysql.o -I/usr/include/mysql -g
-march=i586 -mcpu=i686 -fmessage-length=0
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
_mysql.c:1: error: CPU you selected does not support x86-64 instruction
set
_mysql.c:1: error: CPU you selected does not support x86-64 instruction
set
error: command 'gcc' failed with exit status 1
Any ideas on what I have to do to make this work?
Any help appreciated!
Cheers
Keith
I have been using MySQLdb on a 32-bit processor, no worries. Love it.
I went to install on an AMD64 running the 64-bit version of SUSE 10.0.
I get the following error during the "python setup.py build"
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/mysql
-I/usr/include/python2.4 -c _mysql.c -o
build/temp.linux-x86_64-2.4/_mysql.o -I/usr/include/mysql -g
-march=i586 -mcpu=i686 -fmessage-length=0
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
_mysql.c:1: error: CPU you selected does not support x86-64 instruction
set
_mysql.c:1: error: CPU you selected does not support x86-64 instruction
set
error: command 'gcc' failed with exit status 1
Any ideas on what I have to do to make this work?
Any help appreciated!
Cheers
Keith