[Pythonmac-SIG] python make failing: "ImportError: No module named MacOS"

Bob Ippolito bob at redivi.com
Sat Mar 19 23:58:23 CET 2005


On Mar 19, 2005, at 5:52 PM, Bob Ippolito wrote:

> On Mar 19, 2005, at 5:34 PM, OpenMacNews wrote:
>
>>> Most of the arguments you specify to configure  are already
>>> on by default or have no effect.  The --prefix argument has  no 
>>> effect, the
>>> symlinks are hardcoded to be installed to  /usr/local/bin, and the 
>>> framework
>>> contains everything else.
>>
>> well, that's particularly annoying ...
>>
>> then why offer the --prefix arg in the first place?  just for 
>> NON-framework installs?
>
> Yes, --prefix is for non-framework installs.  If you read the docs for 
> frameworks, you'll see that it's only "lightly tested" with an 
> alternate path.  You may have more luck if you just use the defaults.  
> The docs also say that you can move the framework later.

Oh, and note that if you DO move the framework, you will need to run 
install_name_tool over it, the python executable, and possibly ALL of 
the extensions if MACOSX_DEPLOYMENT_TARGET was set to 10.2 (or maybe if 
not set at all, I haven't confirmed the default behavior when not set).

-bob



More information about the Pythonmac-SIG mailing list