packaging for ubuntu


16-06-2011 12:00:47

Hello everyone,

I have been looking for an ubuntu package for PagedGeometry for a while. As I couldn't find any, I decided to package it myself.

First things, I had to modify a bit the CMakeDependencies file so that it looks for the libraries in the right folder. You can find my modify version of this file here :

My problem is when creating the binary package, pbuilder run cmake and I get this error :
-- Looking for C++ include OGRE/OgrePrerequisites.h
-- Looking for C++ include OGRE/OgrePrerequisites.h - found
-- Looking for C++ include OIS/OIS.h
-- Looking for C++ include OIS/OIS.h - found
-- Performing Test HAVE_W_EXTRA
-- Performing Test HAVE_W_EXTRA - Success
-- Performing Test HAVE_GCC_DESTRUCTOR
-- Performing Test HAVE_GCC_DESTRUCTOR - Success
-- Performing Test HAVE_VISIBILITY_SWITCH - Success
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON returned exit code 1
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The complete buildlog is available here :

Does any of you guys knows what happens and how to fix it ?




17-06-2011 10:35:45

I am not an expert in ubuntu , but from the report it can be concluded that the failure has occurred in the system determine the dependencies. (
Try google with expression "dh_auto_configure cmake". For example, ... 19161.html.

Also I can assume, that in the CMakeList.txt the dependency is not sorted or not specified or something like.