python setup.py install
lipo: can't open input file: /var/tmp//ccZn3E25.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1
Mac OS X Snow Leopard
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To build and install a C extension module included with MMTK, Python is looking for the C compiler it was built with. For OS X 10.6 (Snow Leopard), the least trouble-prone way to supply this is to install
Xcode 3.2.6, the most recent (and last) version of Xcode 3. If you don’t already have an installer for it, you can download it for free (after free registration) from the Apple Developer Site. Make sure that theUNIX Developmentsub-package is selected to be installed.If you have
Xcode 4for OS X 10.6 installed or some other C compiler, you might be able to successfully install the extension module by supplying a CC environment variable with the path to the compiler, for example:You may also need to supply other variables that reference the compiler path, in particular,
LDSHARED.