logo       

Re: [Fwd: Re: Optional BSD package is required for (useable) Python?]: msg#00067

python.apple

Subject: Re: [Fwd: Re: Optional BSD package is required for (useable) Python?]


On May 12, 2004, at 10:26 AM, Bruce Prior wrote:
I read PythonMac-SIG regularly but certainly aren't an expert in these things. However, the recent discussion on the "optional BSD layer" has me unnerved. I thought Mac OS X was based on BSD, but probably I'm missing the point.

The BSD layer is always there. Basic, portable unix shell scripts are always usable, even on a minimal-install machine. However, there's an optional BSD package that adds additional components not required for the functioning of the core OS.

What simple check can I do to establish if I have the BSD Layer?

If someone has installed the BSD package, there'll be a BSD.pkg bundle in /Library/Receipts.
The basic BSD layer comes from the BaseSystem package. If you want to see what files any of these packages install, you can use the 'lsbom' command to list the contents of the .bom file for the package, for instance,

/usr/bin/lsbom /Library/Receipts/BSD.pkg/Contents/Archive.bom

Maybe there's another file whose presence you could use as a sign that the components you need have been installed, but I couldn't say what it might be.


Tom Pollard


_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/pythonmac-sig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise