Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile python on Darwin/MacOS X 10.0.3



Somebody was successful at compiling Python in Darwin?
I'd like to know what is to change in the makefile to have it finish the compilation. I downloaded Python-2.1.tgz from www.python.org

To configure I ran:

./configure --with-dyld

The make failed because it tried to create a python (lowercase) executable in the same folder as a Python (uppercase) folder, and it was a HFS+ partition. So I edited the Makefile to change:

PYTHON= python$(EXE)

To:

PYTHON= py$(EXE)

It compiled all right, now all that's left is the make install. It failed because:

./regen: permission denied: python [3]

I understand that the script didn't take into account my change of name from python to py, so I guess I'll have to rename it suitably. But what should I do with the Python folder then?

-- Denis.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.