packaging for ubuntu

mistyrouge

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 : http://paste.ubuntu.com/627897/

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
-- 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 : http://paste.ubuntu.com/627901/

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

Cheers

Dorian JAMINAIS

m2codeGEN

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. (http://man.he.net/man1/dh_auto_configure)
Try google with expression "dh_auto_configure cmake". For example http://forums.debian.net/viewtopic.php?f=19&t=52512, http://www.mail-archive.com/debian-bugs ... 19161.html.

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