Hello all,

I'm trying to install mysql-python within the sage shell on a Mac (OS X 
10.8). Outside of the sage shell, I can install it, by typing:

easy_install mysql-python

but within the sage shell I get the following error:

Running MySQL-python-1.2.4/setup.py -q bdist_egg --dist-dir 
/var/folders/dr/dnvzw8l92z54xpg23psdc24m0000gn/T/easy_install-kHt9mM/MySQL-python-1.2.4/egg-dist-tmp-beiaQ4
gcc: error: x86_64: No such file or directory
gcc: error: unrecognized option ‘-arch’
error: Setup script exited with error: command 'gcc' failed with exit 
status 1

I assume this is because the gcc in the sage shell (version 4.6.3) is 
different from the one that apple distributes with Xcode (version 4.2.1). 
How can I get the sage shell to use the apple gcc?

Thanks in advance for any help!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to