MySQL Forums
Forum List  »  Connector/Python

GCC ERROR IN MYSQL PYTHON IN MAC OS.
Posted by: Srinviasa Biruda
Date: February 10, 2009 05:07AM

Hi,
I'm doing a small application using python and MySQL. I have download Mysqldb and also modify the setup_posix.py. But, When I was restarting the setup.py it shows an error. From last one week I didn't resolve this problem....
"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 -DDONT_DECLARE_CXA_PURE_VIRTUAL
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1" .
What to do to overcome this error. Please suggest me...

Thank You in advance for your help........
Warm Regards,
Srinivas......

srinivas.

Options: ReplyQuote


Subject
Written By
Posted
GCC ERROR IN MYSQL PYTHON IN MAC OS.
February 10, 2009 05:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.