On Gentoo Linux, the boost_library_name has to be set to (e.g.) boost_python-2.7.
This patch could automatically do that in setup.py:
--- setup.py.old 2015-02-25 16:32:49.203525946 +0100
+++ setup.py 2015-02-25 16:33:29.580146839 +0100
@@ -360,6 +360,8 @@
pyver = "-py"
pyver += "".join(map(str, platform.python_version_tuple()[:2]))
boost_library_name += pyver
+ elif 'gentoo' in dist_name:
+ boost_library_name += sys.version[:3]
else:
inc_dir = os.path.join(BOOST_ROOT, 'include')
lib_dirs = [os.path.join(BOOST_ROOT, 'lib')]
Thanks!
I'm sorry, the patch is incomplete; there should be another '-' before the sys.version[:3].
Fixed. Will become visible in next PyTango release 8.1.7
Thanks for reporting and for the patch