Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2930: Error buildinf boost, cannot find -lpython
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-10 07:23:47
#2930: Error buildinf boost, cannot find -lpython
-----------------------------------------+----------------------------------
Reporter: francois.chenais_at_[hidden] | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: Building Boost
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+----------------------------------
Comment(by francois.chenais_at_[hidden]):
I've tried setting
using python : 2.4 ;
in
tools/build/v2/user-config.jam
before reporting the bug. But without success.
The command line is
+ umask 022
+ cd /home/cea/chenais/rpmbuild/BUILD
+ cd boost_1_38_0
+ LANG=C
+ export LANG
+ unset DISPLAY
++ /usr/bin/python -c 'import sys; print sys.version[0:3]'
+ PYTHON_VERSION=2.4
+ PYTHON_ROOT=/usr
+ EXPAT_INCLUDE=/usr/include
+ EXPAT_LIBPATH=/usr/lib64
+ ICU_PATH=/usr
+ bjam -d2 --toolset=gcc variant=release debug-symbols=on inlining=on
link=static,shared threading=multi
The attached file shows that bjam use 2.4 version of python.
-------8<---------------------------------------------------------
Build request: object(property-set)@2263 <asynch-exceptions>off <debug-
symbols>on <define>NDEBUG <exception-handling>on <extern-c-nothrow>off
<inlining>on <link>shared <optimization>speed <os>LINUX <pch>on <preserve-
test-targets>off <profiling>off <python-debugging>off '''<python>2.4'''
<rtti>on <runtime-debugging>off <runtime-link>shared <stdlib>native
<target-os>linux <threadapi>pthread <threading>multi <toolset-
gcc:version>4.1.2 <toolset>gcc <variant>release <warnings-as-errors>off
<warnings>on
Target requirements:
<conditional>@Jamfile</tmp/rpmbuild/BUILD/boost_1_38_0>%Jamfile</tmp/rpmbuild/BUILD/boost_1_38_0
>.handle-static-runtime <define>BOOST_ALL_NO_LIB=1 <include>.
<link>shared:<define>BOOST_ALL_DYN_LINK=1 <python>2.4,<target-
os>linux:<python.interpreter>python
<tag>@Jamfile</tmp/rpmbuild/BUILD/boost_1_38_0>%Jamfile</tmp/rpmbuild/BUILD/boost_1_38_0>.tag
<toolset-msvc:version>7.1:<rtti>off <toolset-
msvc:version>7.1_stlport4:<rtti>off
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE <warnings>off
------------------------------------------------------------------------>8-------------------
Am I wrong ?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2930#comment:2> 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:00 UTC