Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-08 13:53:17


"Duong, Sanh N." <SANH.N.DUONG_at_[hidden]> writes:

>> On Fri, 5 Mar 2004, Michael Glassford wrote:
>>
>>> "Duong, Sanh N." <SANH.N.DUONG_at_[hidden]> wrote in message
>>>
>> The Boost.Python example should still work just fine, if you follow
>> the instructions. bjam doesn't use the mangled library names when
>> building with cross-project dependencies. It worked for me just
>> now. I went into libs/python/example and did
>
>> bjam test
>
>> and everything passed. No funky linking should is needed.
>
> When running bjam test, in libs/python/example I'd get a lot of errors about
> templates and vars not define.

Let's see a few of them.

> Another thing I noticed, when installing
> boost with
>
> bjam "-sGXX=g++" "-sTOOLS=gcc" "--prefix=/home/boost_1_31_0" install
>
> it would say, "Skipping Boost.Python library build due to missing or
> incorrect configuration couldn't find Python.h in "/include/python"

Right.

> When I point the PYTHON_ROOT and PYTHON_VERSION to the correct path, I'd get
> a lot of errors when compiling. Is there a step I'm missing here?

Hard to say without seeing the errors. My guess is that you didn't
set them correctly. Did you follow the directions at

    http://www.boost.org/libs/python/doc/building.html

??

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net