Ciao a tutti!

Dunque, sto cercando di installare il modulo in oggetto. Mi sembra di
seguire tutte le istruzioni ma non funziona niente...Lascio le specifiche,
poi vi copio l'output di shell:

mysql 5.1 (da xampp)
MySQL-python-1.2.3c1
python 2.6

Modifico il site.cfg (inserendo il corretto path a mysql_config) poi, quando
lancio il build...

*py...@wintermute:/opt/MySQL-python-1.2.3c1$ python2.6 setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.6/MySQLdb
running build_ext
building '_mysql' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -Dversion_info=(1,2,3,'gamma',1)
-D__version__=1.2.3c1 -I/opt/lampp/include/mysql -I/usr/include/python2.6 -c
_mysql.c -o build/temp.linux-x86_64-2.6/_mysql.o -mpentiumpro -Wl,--rpath
-Wl,/opt/lampp/lib -felide-constructors -fno-exceptions -fno-rtti
-DUNIV_LINUX -DUNIV_LINUX
cc1: error: unrecognized command line option "-mpentiumpro"
cc1: warning: command line option "-felide-constructors" is valid for
C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
not for C
error: command 'gcc' failed with exit status 1*

Non posso usare apt perchè ho 3 diversi python sul sistema, e ho bisogno che
sql parli con la versione 2.6
_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a