Am Sonntag, 8. Juli 2012 um 12:31:09, schrieb Harry van der Wolf 
<[email protected]>
> Hi linux builders on debian based platforms,
> 
> 
> I tried to check the different options now that I'm back on Ubuntu.
> I can easily do a make and (sudo) make install. The pto_gen (and the rest)
> is installed in /usr/local, as was where the other thread was dealing about.
> However, when I do a "make package" I do get a long list of:
> 
> Run CPack packaging tool...
> CPack: Create package using DEB
> CPack: Install projects
> CPack: - Run preinstall target for: hugin
> CPack: - Install project: hugin
> CPack: Create package
> CPackDeb: - Generating dependency list
> CMake Error at /usr/share/cmake-2.8/Modules/CPackDeb.cmake:199 (MESSAGE):
>   CPackDeb: dpkg-shlibdeps: dpkg-shlibdeps: error: couldn't find library
>   libhuginbase.so.0.0 needed by ./usr/lib/python2.7/dist-packages/_hsi.so
>   (ELF format: 'elf64-x86-64'; RPATH: '/usr/local/lib/hugin').
> 
>   dpkg-shlibdeps: error: couldn't find library libmakefilelib.so.0.0 needed
>   by ./usr/lib/python2.7/dist-packages/_hsi.so (ELF format: 'elf64-x86-64';
>   RPATH: '/usr/local/lib/hugin').

Sorry, that looks like my error. On _my_ system, this lib is already installed 
as part of _old_ hugin, we
should somehow disable some libs from checking. I'll look into this.

For now you can use "-DDISABLE_DPKG=ON"

>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory.
> 
>   dpkg-shlibdeps: error: couldn't find library libhuginbase.so.0.0 needed by
>   ./usr/local/bin/hugin (ELF format: 'elf64-x86-64'; RPATH:
>   '/usr/local/lib/hugin').
> 
>   dpkg-shlibdeps: error: couldn't find library libhuginvigraimpex.so.0.0
>   needed by ./usr/local/bin/hugin (ELF format: 'elf64-x86-64'; RPATH:
>   '/usr/local/lib/hugin').
> 
> Now this is only a small excerpt from the total list. I never built a deb
> as on Ubuntu I only built for myself.
> 
> Note that I used:
> 
> cmake -DENABLE_LAPACK=NO -DCPACK_BINARY_DEB:BOOL=ON
> -DCPACK_BINARY_NSIS:BOOL=OFF \
>    -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF
> -DCPACK_BINARY_TBZ2:BOOL=OFF \
>    -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF
> -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
> 

This is OK, I am using also "-DCPACK_BINARY_DEB:BOOL=ON".

> Note also that I tried to be smart and did a "make; sudo make install" and
> then a "(sudo) make package" as it didn find the stuff in /usr/local, but
> that didn't work either.
> 
> 
> Harry
> 

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to