Opened 10 years ago
Closed 5 years ago
#7267 closed Support Requests (duplicate)
Getting Import error while installing boost in fedora 15
| Reported by: | 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 , 10 years ago
| Component: | None → Building Boost |
|---|
comment:2 by , 10 years ago
| Component: | Building Boost → build |
|---|---|
| Owner: | set to |
comment:3 by , 10 years ago
comment:6 by , 5 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |

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.