Opened 10 years ago

Closed 5 years ago

#7267 closed Support Requests (duplicate)

Getting Import error while installing boost in fedora 15

Reported by: priybioinfo@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc: rakesh.patro1988@…

Description

[priyanka@NGS boost_1_50_0]$ ./bjam --prefix=~/Downloads/ link=static \ runtime-link =static stage install /home/priyanka/Downloads/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

/home/priyanka/Downloads/boost_1_50_0/boost-build.jam:17: in module scope

[priyanka@NGS boost_1_50_0]$ ./b2 /home/priyanka/Downloads/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

/home/priyanka/Downloads/boost_1_50_0/boost-build.jam:17: in module scope

Change History (6)

comment:1 by viboes, 10 years ago

Component: NoneBuilding Boost

comment:2 by viboes, 10 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

comment:3 by bruce@…, 10 years ago

The problem is that gcc 4.6.0 on fedora 15 mis-compiles bjam at -Os, -O2 or -O3. You can workaround the problem by editing the gcc 2.x, 3.x, 4.x section of tools/build/v2/engine/build.jam and change -O3 to -O.

comment:5 by bruce@…, 10 years ago

Also, this is still a problem with Boost 1.53.0.

comment:6 by Steven Watanabe, 5 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.