MySQLdb compile error with AMD64

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top