Hello,

I've installed Django 1.0, and have Python 2.5 running fine on my
Intel Mac with Leopard.

I have downloaded and installed the latest package from the official
MySQL site, and I'm trying to install MySQLdb to get it working with
python, but its not working

I have followed these instructions (which are all nearly identical)
http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/
http://www.keningle.com/?p=11

But I keep getting this error message when I attempt to build and
install MySQLdb:



host46:MySQL-python-1.2.2 Nico$ python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.5-i386-2.5/MySQLdb
running build_ext
building '_mysql' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -
DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -pipe -
Dversion_info=(1,2,2,'final',0) -D__version__=1.2.2 -I/usr/local/mysql/
include -I/System/Library/Frameworks/Python.framework/Versions/2.5/
include/python2.5 -c _mysql.c -o build/temp.macosx-10.5-i386-2.5/
_mysql.o -g -Os -arch i386 -fno-common -D_P1003_1B_VISIBLE -
DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -
DIGNORE_SIGHUP_SIGQUIT
i686-apple-darwin9-gcc-4.2.1: unrecognized option '-no-cpp-precomp'
i686-apple-darwin9-gcc-4.2.1: error trying to exec 'as': execvp: No
such file or directory
cc1: error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status 1



I think it is maybe a problem with GCC, but I don't know much about
this area

Help please!?!?

nico

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to