Mailing Lists: Apple Mailing Lists

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

Re: compile python on Darwin/MacOS X 10.0.3



On Tue, 22 May 2001 email@hidden wrote:

> 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
>

Try: ./configure --with-dyld --with-suffix=.x ( or .exe if you like )

Your running into the problem that you can't have filenames that
differ only by case on HFS+ : it's trying to build an executable
named "python" in the same directory where there's a directory
named "Python" . ( and then it's looking for a "python" to install,
and finding "Python" directory instead, after your changes. )

The --with-suffix will change the name of the executable.
After the installation, when it's moved to /usr/local/bin (or
whereever ) you can change the name back to python, or you
can just make a symbolic link to python.x ( that way, when
you do a new install, the link is still there )


BTW: Are you compiling on (osx-less) Darwin or full OSX ?
I ask because I'ld like to know if changes to the OSX build
may have broken the vanilla Darwin build.


-- Steve Majewski


References: 
 >compile python on Darwin/MacOS X 10.0.3 (From: email@hidden)



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.