Re: GCC ERROR IN MYSQL PYTHON IN MAC OS.
Hi,
I solved the problem of gcc error.
Follow the steps.
1)first install the gcc 4.0, developer from xcode.
2)then download the pyshell from sourceforge.net
3)extract the pyshell
4)copy the pyshell into Library->Frameworks->Python.framework...
5) open pyshell.py and close it.
modify the setup_posix.py in Mysql-python1.2.2
mysql_config.path='mysql-config'
to
mysql_config.path = "/usr/local/mysql/bin/mysql_config" on line 26 and 35.
save it.
now open the terminal go to Admin:~admin$sudo python setup.py install press enter.
Mysqldb was installed on your mac...
Thank You,
Warm Regards...
Srinivas
Subject
Written By
Posted
February 10, 2009 05:07AM
February 11, 2009 04:43AM
February 13, 2009 01:02AM
Re: GCC ERROR IN MYSQL PYTHON IN MAC OS.
February 11, 2009 05:44AM
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.