Compiling on Debian, KDE


01-06-2015 06:54:27

I'm trying to set this up on a debian kde system.
In Step 3 of this guide, it seems like i'm stuck on boost_python:
python python-ogre/ -b boost_python --usesystem
PythonOgre.BuildModule: INFO Build Command unzip -o /home/human/development/python-ogre/ThirdParty/
PythonOgre.BuildModule: INFO Build Command bjam -j2 release --with-python --with-thread --with-date_time --prefix=/usr
PythonOgre.BuildModule: INFO Build Command echo This may take a while -- copying each include file individually!!
PythonOgre.BuildModule: INFO Build Command sudo bjam install --with-python --prefix=/usr
PythonOgre.BuildModule: WARNING Task Failed

I then tried (in boost_python) sudo bjam install --with-python --prefix=/usr
/home/human/development/boost_python/tools/build/v2/build/project.jam:266: unbalanced parentheses
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: ... ation.html
error: No best alternative for ./install-proper-lib-shared
next alternative: required properties: (empty)
next alternative: required properties: (empty)
warn: Unable to construct libs/python/build/boost_python
/home/human/development/boost_python/tools/build/v2/build/virtual-target.jam:1066: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pinstall-proper-headers>shared_array.hpp
error: previous virtual target { common%common.copy-shared_array.hpp.HPP { /home/human/development/boost_python/boost/shared_array.hpp.HPP } }
error: created from ./install-proper-headers
error: another virtual target { common%common.copy-shared_array.hpp.HPP { /home/human/development/boost_python/boost/smart_ptr/shared_array.hpp.HPP } }
error: created from ./install-proper-headers
error: added properties: none
error: removed properties: none
/home/human/development/boost_python/tools/build/v2/build/virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@5238
/home/human/development/boost_python/tools/build/v2/build/virtual-target.jam:135: in class@virtual-target.actualize from module object(file-target)@5238
/home/human/development/boost_python/tools/build/v2/build-system.jam:717: in load from module build-system
/home/human/development/boost_python/tools/build/v2/kernel/modules.jam:283: in import from module modules
/home/human/development/boost_python/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/home/human/development/boost_python/boost-build.jam:17: in module scope from module


23-06-2015 22:04:09

Hi, you have installed a later version of boost/bjam(via apt) which isn't working when building against the older version of boost_python (1.4.x).
I'm not sure why the instructions tell you build and install an older version boost_python, doesn't make sense to mix libs like that.

Install libboost-python-dev from apt.

What version of boost do you have installed? For later versions of boost you may have to update the build to link against boost_system. What version of python-ogre are you building 1.6.4/1.7.x ?

There is some work going on with the development of python-ogre, v1-9/v1-10(most work happening here) and the core modules run (on Linux only) but I haven't got round to updating the --use-system build. There is quite a bit to still to do. If anyone is still using python-ogre and wants to volunteer their help it would be greatly appreciated.

After v1-10 is complete then I'll backport the changes to v1-9 and continue with v2-0/2-1 and create a cmake build v1-10 branch

Also someone is working on 2.1 not sure what the status of that is: