Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7212: ./b2 fails with 'import error: length of source and target rule name lists don't match!'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 22:14:34
#7212: ./b2 fails with 'import error: length of source and target rule name lists
don't match!'
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by jurko):
Replying to [comment:17 Jason Vas Dias <jason.vas.dias@â¦>]:
> Sorry I haven't been much help in resolving the bug I raised, since
> I needed a boost build in a hurry I reran bootstrap.sh in my own
> Linux root but using the Python from a Fedora 14 chroot ; then
> magically the b2 commands started to work , and I was able to
> complete the build back in my own distro with gcc-4.6.0 .
> But I think the whole Boost build process should not depend on Python !
I am not really sure what happened on your system. I can correctly build
Boost on my Win7 system without having Python on the path at all (without
building up Boost Python, ofcourse) so I do not really know what Python
dependency you are talking about.
> I would rather program with modern C++-11 and Boost than Python - why
not
> remove the python dependencies and replace with C++ ?
The only Python dependency I am aware of is in the Boost Python library
and some internal testing scripts. Could you help find any others?
> I just wrote bash shell brace-expansion and wildcard-matching
> code in C++-11 (only!) and found it a refreshing and rewarding
> experience - beside it the python equivalent looks kludgey, quirky
> and over-verbose - what do you expect from a language whose syntax
> changes with every major release ? Why not use one with a
> well-designed syntax ?
> Or just use bash / sh ?
Actually, I'm quite fond of Python. :-) But, as I said before, I'm not
actually sure what Python dependency you're referring to here...
However - could you try out the corrected source file I attached to this
ticked and see if it fixes the issue? Just checkout Boost Build revision
80313, patch it with the attached file, build Boost Jam from there (run
the 'tools/build/v2/engine/build.sh gcc' script) and then use the built
Boost Jam executable to install the Boost libraries.
Best regards,
Jurko GospodnetiÄ
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7212#comment:19> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC