List Info

Thread: bgl Python on Mac OS X




bgl Python on Mac OS X
country flaguser name
United Kingdom
2007-06-14 03:37:55
I'm trying to build this. I've downloaded the boost
libraries (version 
1.34) and run configure, make and sudo make install without
errors. 

Then I've downloaded bgl-python (0.9) and, as instructed,
found the 
bjam executable from the boost hierarchy, copied it
somewhere 
convenient and run it in the bgl-python directory. That gave
me this 
error: 

Unable to load Boost.Build: could not find
"boost-build.jam" 
------------------------------------------------------------
--- 
Attempted search from /Users/pzs/incoming/bgl-python-0.9 up
to the 
root 
and in these directories from BOOST_BUILD_PATH and
BOOST_ROOT: /usr/ 
share/boost-build. 
Please consult the documentation at 'http://www.boost.org'. 

So I set $BOOST_ROOT to be the root of the boost 1.34
directory and 
tried bjam again. This time I get: 

error: Could not find parent for project at '.' 
error: Did not find Jamfile or project-root.jam in any
parent 
directory. 

I've also tried the binary, but that doesn't work either,
probably
because I'm running Python 2.5 and the binary is for 2.3. 

Any ideas? 

Peter
_______________________________________________
C++-sig mailing list
C++-sigpython.org
http:
//mail.python.org/mailman/listinfo/c++-sig

Re: bgl Python on Mac OS X
country flaguser name
United States
2007-06-14 11:46:46
I've had the exact same problem when trying to build my own
simple library
that's using Boost.Python. I remember realizing that the
problem was I
didn't follow the steps here and the boost.jam pages that it
refers to:
ht
tp://www.boost.org/libs/python/doc/building.html

And I vaguely remember that the solution involved getting a
user-config.jam
created in my home directory with this content:


# Boost.Build Configuration
# Automatically generated by Boost configure

# Compiler configuration
using gcc ;

# Python configuration
using python : 2.4 : /usr ;


You probably just need to configure boost.jam right.

Hope this helps. 

-Gazi 


Peter Saffrey wrote:

> I'm trying to build this. I've downloaded the boost
libraries (version
> 1.34) and run configure, make and sudo make install
without errors.
> 
> Then I've downloaded bgl-python (0.9) and, as
instructed, found the
> bjam executable from the boost hierarchy, copied it
somewhere
> convenient and run it in the bgl-python directory. That
gave me this
> error:
> 
> Unable to load Boost.Build: could not find
"boost-build.jam"
>
------------------------------------------------------------
---
> Attempted search from
/Users/pzs/incoming/bgl-python-0.9 up to the
> root
> and in these directories from BOOST_BUILD_PATH and
BOOST_ROOT: /usr/
> share/boost-build.
> Please consult the documentation at 'http://www.boost.org'.
> 
> So I set $BOOST_ROOT to be the root of the boost 1.34
directory and
> tried bjam again. This time I get:
> 
> error: Could not find parent for project at '.'
> error: Did not find Jamfile or project-root.jam in any
parent
> directory.
> 
> I've also tried the binary, but that doesn't work
either, probably
> because I'm running Python 2.5 and the binary is for
2.3.
> 
> Any ideas?
> 
> Peter


_______________________________________________
C++-sig mailing list
C++-sigpython.org
http:
//mail.python.org/mailman/listinfo/c++-sig

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )