[C++-sig] boost.python on OS X 10.3 (Panther)

Sean Spicer sspicer at magic-earth.com
Thu Oct 30 16:34:52 CET 2003


Hi Rene,

On Oct 30, 2003, at 8:46 AM, Rene Rivera wrote:

> [2003-10-28] Sean Spicer wrote:
>
>>
>> Okay, I'll do my best...
>>
>> /System/Libraries/Frameworks/Python.framework:
>>
>> lrwxr-xr-x  1 root  wheel   24 25 Oct 11:44 Headers ->
>> Versions/Current/Headers
>> lrwxr-xr-x  1 root  wheel   23 24 Oct 16:37 Python ->
>> Versions/Current/Python
>> lrwxr-xr-x  1 root  wheel   26 24 Oct 16:37 Resources ->
>> Versions/Current/Resources
>> drwxr-xr-x  4 root  wheel  136 13 Sep 21:40 Versions
>>
>> I believe the relevant location is Versions/Current:
>>
>> lrwxr-xr-x  1 root  wheel       17 25 Oct 11:44 Headers ->
>> include/python2.3
>> drwxr-xr-x  3 root  wheel      102 27 Sep 04:39 Mac
>> -rwxr-xr-x  1 root  wheel  1088276 26 Sep 01:40 Python
>> drwxr-xr-x  7 root  wheel      238 27 Sep 04:39 Resources
>> drwxr-xr-x  6 root  wheel      204 27 Sep 04:38 bin
>> drwxr-xr-x  3 root  wheel      102 27 Sep 04:38 include
>> drwxr-xr-x  3 root  wheel      102 13 Sep 21:40 lib
>>
>> Each of these directories looks pretty much like you'd find on Linux  
>> in
>> /usr/local/
>>
>> Does that help ?
>
> Only a little :-(
>
> I'm changin the code now but I need a bit more info. Specifically I  
> need to
> know how we can specify the framework so that we get the specific  
> version
> (2.3) instead of the default (Current).
>
> Could try specifying the framework as:
>
>     <framework>Python/Versions/2.3

Done, no go.

> And for that matter could you check to see if you have:
>
>     /System/Libraries/Frameworks/Python.framework/Versions/2.3

Nope, but I have  
/System/Library/Frameworks/Python.framework/Versions/2.3. Grin.
                                                       ^^^

> Or if that versioned path doesn't exist try this framework spec:
>
> <framework>/System/Libraries/Frameworks/Python.framework/Versions/ 
> Current
>

This one doesn't work either.

I think with 10.3 what you really want to specify on the compile line  
is "-framework Python" it won't take a path switch.  There's some way  
to setup the versioning match in then environment with the  
$HOME/.MacOSX/environment.plist stuff, but I'm having trouble finding  
it via google this morning.

Of course, if your an old UNIX hack like me, you can also just build  
python by hand (use the --enable-framework switch) and update your  
frameworks manually. Grin.

cheers,

sean

________________________________________________________________
Sean Spicer
Sr. Development Lead
Magic Earth, Inc (A Halliburton Company)
www.magic-earth.com

pgp key fingerprint: 8CED 19B7 3A3A BF54 B8E8  FB11 E044 F6B8 1585 9D54
pgp public key available at www.keyserver.net or pgpkeys.mit.edu (KEY  
ID: 15859D54)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20031030/c6d9b8bd/attachment.pgp>


More information about the Cplusplus-sig mailing list