My favorites | Sign in
Logo
waf
Project hosting will be READ-ONLY Wednesday, 7AM PST due to brief network maintenance
                
New issue | Search
for
| Advanced search | Search tips
Issue 524: check_boost("python") picks arbitrary python version library
1 person starred this issue and may be notified of changes. Back to list
Status:  PatchesWelcome
Owner:  dsvensson


Sign in to add a comment
 
Reported by dsvensson, Sep 10, 2009
check_boost("python") selects 2.4 version of the library by default in at
least debian lenny. 

/usr/lib/libboost_python-mt-py24.so
/usr/lib/libboost_python-mt-py25.so

and in this case I want the py25 version, i don't see how to configure this
from looking at boost.py.

one way would be to pick the python version from the version running waf,
but i don't know, some fixing is needed.
Comment 1 by tnagy1024, Sep 10, 2009
Same with issues 453 and 454. The file boost.py is now a candidate for deletion.
Status: PatchesWelcome
Comment 2 by dtcaciuc, Sep 10, 2009
I think your issue can be fixed by calling `check_boost("python", abi="25")`. A 
function called `tags_score` does a number of regex matches against library name and 
picks the one with best overall match score. Looking at `is_abitag` regular 
expression, it seems that it checks for the number in the last '-'-delimited token at 
the end of the filename, which is where your python version number resides. 
Sign in to add a comment

Hosted by Google Code