[C++-sig] Wrong python found

John J Lee jjl at pobox.com
Sat Feb 15 15:04:34 CET 2003


Would be nice if boost python could find the right python executable on
systems like mine -- I have 2.2 installed, but python is a link to 2.1, so
unless I hack python.jam to set PYTHON = /usr/bin/python2.2 I get link
errors on running the tests.

A PYTHON_BIN would do the trick, but I think if PYTHON_VERSION is set,
/usr/bin/python2.2 should be preferred over /usr/bin/python.


John





More information about the Cplusplus-sig mailing list