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

Sean Spicer saspicer at mac.com
Tue Oct 28 23:52:40 CET 2003


Ralf,

gcc -v reports:

gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

I'd really like to help out and get boost.python running nicely on OS 
X...but I just started trying today <sheepish grin>, so I may need some 
hand-holding.

sean

On Oct 28, 2003, at 4:45 PM, Ralf W. Grosse-Kunstleve wrote:

> This is really cool news. Which version of gcc ships with the XCode 
> tools?
>
> I am asking because I promised to update the FAQ item on OS X before 
> the Boost
> 1.31 release.
>
> Ralf
>
> --- Sean Spicer <saspicer at mac.com> wrote:
>>
>> Hi Rene,
>>
>> I'm setting PYTHON_ROOT to /System/Library/Frameworks/Python.framework
>>
>> which is the default install location (e.g. installed by the slick
>> installer) for python on mint OS X 10.3 systems.
>>
>> sean
>>
>> On Oct 28, 2003, at 4:21 PM, Rene Rivera wrote:
>>
>>> [2003-10-28] Sean Spicer wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> I've just managed to get boost.python built on Mac OS X 10.3 
>>>> (Panther)
>>>> using the default Xcode tools that shipped with with the OS.  To do 
>>>> so
>>>> however, I've had to do a nasty hack, and I'm wondering if someone 
>>>> can
>>>> point me to a better way of doing things.
>>>>
>>>> Namely, the hack involves modifying the (CVS head)
>>>> <boostroot>/tools/build/darwin-tools.jam file so that lines 160 & 
>>>> 172
>>>> read:
>>>>
>>>> -framework Python
>>>>
>>>> instead of
>>>>
>>>> -framework$(_)$FRAMEWORKS
>>>>
>>>> This was the only thing that allowed me to avoid the following link
>>>> line when compiling:
>>>>
>>>> -framework
>>>> /System/Library/Frameworks/Python.framework/Versions/2.3/Python
>>>>
>>>> which does not exist.
>>>
>>> Where does your Python framework live? What are you setting
>>> PYTHON_ROOT to,
>>> if anything?
>>>
>>> I'm asking because if it's not there I'm not sure how you are getting
>>> the
>>> includes to work at all.
>>>
>>>
>>> -- grafik - Don't Assume Anything
>>> -- rrivera (at) acm.org - grafik (at) redshift-software.com
>>> -- 102708583 (at) icq
>>>
>>> _______________________________________________
>>> C++-sig mailing list
>>> C++-sig at python.org
>>> http://mail.python.org/mailman/listinfo/c++-sig
>>>
>> ________________________________________________________________
>> 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 pgp.mit.edu (KEY ID:
>> 15859D54)
>>
>>
>> _______________________________________________
>> C++-sig mailing list
>> C++-sig at python.org
>> http://mail.python.org/mailman/listinfo/c++-sig
>
>
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
_______________________________________________________________________
Sean A. Spicer

pgp key fingerprint: 8CED 19B7 3A3A BF54 B8E8  FB11 E044 F6B8 1585 9D54
pgp public key available at www.keyserver.net or pgp.mit.edu (KEY ID: 
15859D54)





More information about the Cplusplus-sig mailing list