|
Boost-Build : |
From: Jürgen Hunold (hunold_at_[hidden])
Date: 2005-11-30 03:13:30
Hi Volodya !
On Tuesday 29 November 2005 09:27, Vladimir Prus wrote:
> Obviously, V2 does not have namespace-aware XML scanner handy. The best
> approach would be, ehm... build bjam with python support, with:
>
> ./build --with-python=/usr
Ok, I tried it this way:
bjam -a -f build.jam --toolset=gcc --with-python=/usr
...found 45 targets...
...updating 1 target...
[COMPILE] bin.linux/bjam
...updated 1 target..
and testing the result with ldd I get:
ldd bin.linux/bjam
libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0
(0x00002aaaaabc2000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaaadea000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002aaaab016000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab12b000)
libutil.so.1 => /lib64/libutil.so.1 (0x00002aaaab22e000)
libm.so.6 => /lib64/tls/libm.so.6 (0x00002aaaab332000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
> and run the attached files with:
>
> bjam -fpytest.jam
and this results in:
hunold_at_w-lx-75 ~/tmp $ bjam -fpytest.jam
ImportError: No module named pytest
Failed to load "pytest"
pytest.jam:6: in module scope
rule foo unknown in module Python.
My System:
SuSE 10.0 (x86_64)
gcc-4.0.2
python-2.4
latest boost-CVS
Any Ideas on how to debug this ?
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau * voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover * hunold_at_[hidden] ! www.ive.uni-hannover.de
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk