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

Bob Ippolito bob at redivi.com
Sun Mar 20 00:39:23 CET 2005


On Mar 19, 2005, at 6:22 PM, OpenMacNews wrote:

>> or dig deeper into the output of make to find out why MacOS isn't 
>> building,
>> or isn't loading properly.
>
> yup.  1st gotta figure out 'what' MacOS 'is' ...

It's part of the toolbox glue.

>> maybe DYLD_*, etc.
>
> changes, but at the moment,
>
> % echo $DYLD_LIBRARY_PATH
>    /usr/local/berkeley-db/lib: /usr/local/cyrus-sasl/lib: 
> /usr/local/ssl/lib: /usr/local/lib: /System/Library/Frameworks: 
> /usr/lib: /usr/X11R6/lib
>
> tried moving/removing the '/System/Library/Frameworks', to no avail ...

Setting DYLD_* like this is really horribly BAD.  You should ONLY set 
DYLD variables in very specific circumstances when doing development 
(i.e. when testing the a framework in the build dir).

Doing anything to /System/* is BAD.

-bob



More information about the Pythonmac-SIG mailing list