[C++-sig] [Stackless] Trouble linking on Ubuntu Linux
Simon Pickles
sipickles at hotmail.com
Mon Jan 14 09:02:26 CET 2008
Thanks for the tip Joseph,
My default python dir is /usr/lib, with the stackless version in
/usr/local/lib so I tried adding this to the bjam line like so, and got
errors:
simon at simon-linux:/usr/local/boost_1_34_1$ sudo bjam --with-python
-sPYTHON_ROOT=/usr/local/lib/python25 -sPYTHON_VERSION=2.5 stage
Jamfile.v2:341: in load-aux
rule path.glob-tree unknown in module Jamfile</usr/local/boost_1_34_1>.
/usr/share/boost-build/build/project.jam:318: in load-jamfile
/usr/share/boost-build/build/project.jam:68: in load
/usr/share/boost-build/build/project.jam:170: in project.find
/usr/share/boost-build/build-system.jam:148: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/local/boost_1_34_1/boost-build.jam:9: in module scope
Oh dear!
Si
Joseph Lisee wrote:
> I forget the exact settings, but boost.python most likely picks up your default
> python installation. This will be at the one in /usr/lib. If you wish to build
> Boost.Python with Stackless, then you will need to point it at your stackless
> python installation. I think you want to use the following options:
>
> -sPYTHON_ROOT=<root directory for stackless python> -sPYTHON_VERSION=2.5
>
> I have no idea where you have stackless python installed though.
>
> Also you should almost never manually copy over libraries, especially if you
> don't really know what you are doing.
>
> -Joseph Lisee
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
>
>
--
Linux Counter: User# 424693
More information about the Cplusplus-sig
mailing list