[Boost-bugs] [Boost C++ Libraries] #7212: ./b2 fails with 'import error: length of source and target rule name lists don't match!'

Subject: [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-08 20:42:57


#7212: ./b2 fails with 'import error: length of source and target rule name lists
don't match!'
-----------------------+----------------------------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
 Severity: Problem | Keywords:
-----------------------+----------------------------------------------------
 I attempted to follow the instructions in "Getting Started for Linux",
 but building with "b2" fails :

 $ ./bootstrap.sh install --prefix=/usr
 Building Boost.Build engine with toolset gcc...
 tools/build/v2/engine/bin.linuxx86_64/b2
 Detecting Python version... 2.7
 Detecting Python root... /usr/lib64/python2.7.1
 Unicode/ICU support for Boost.Regex?... /usr
 Backing up existing Boost.Build configuration in project-config.jam.1
 Generating Boost.Build configuration in project-config.jam...

 Bootstrapping is done. To build, run:

     ./b2

 To adjust configuration, edit 'project-config.jam'.
 Further information:

    - Command line help:
      ./b2 --help

    - Getting started guide:
      http://www.boost.org/more/getting_started/unix-variants.html

    - Boost.Build documentation:
      http://www.boost.org/boost-build2/doc/html/index.html

 $ ./b2 --help
 /usr/OOO/boost_1_50_0/tools/build/v2/kernel/modules.jam:326: in boost-
 build
 import error: length of source and target rule name lists don't match!
     source: peek poke record-binding
     target: modules.peek
 /usr/OOO/boost_1_50_0/boost-build.jam:17: in module scope
 $ ./b2
 /usr/OOO/boost_1_50_0/tools/build/v2/kernel/modules.jam:326: in boost-
 build
 import error: length of source and target rule name lists don't match!
     source: peek poke record-binding
     target: modules.peek
 /usr/OOO/boost_1_50_0/boost-build.jam:17: in module scope

 Is this a python problem ? What version of python should I be using ?

 What extra python modules do I need ?

 Anyone got a GNU make(1) Makefile for Boost to build with Linux GCC
 toolchain,
 or one which does not use python ?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7212>
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