RE: MySQLdb compile error with AMD64
- From: keith@xxxxxxxxxxxx
- Date: Tue, 28 Feb 2006 11:40:12 -0700
Can anyone offer any assistance on this one?
Is it unsupported on AMD64 ? Nothing in the README points to that. I
thought it would default to 32bit if not supported under 64.
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
.
- Prev by Date: escaping quotes
- Next by Date: Re: Best python module for Oracle, but portable to other RDBMSes
- Previous by thread: MySQLdb compile error with AMD64
- Next by thread: Catch exceptions
- Index(es):
Relevant Pages
|