Am Dienstag, 10. Juli 2012 um 18:31:14, schrieb Harry van der Wolf <[email protected]> > Hi Kornel, > > 2012/7/10 Kornel Benko <[email protected]> > ... > > > > I committed a fix to gui_overhaul. It took me a while to find a way, how > > > > to provide needed environment to called dpkg-shlibdeps. > > > > > > > > Since it only affects creating debian package, which already was broken, > > > > nothing should be worse than before. > > > > > > > > Kornel > > > > Thanks for picking this up. > Unfortunately I still get the same error: > > CPack Error: Problem running tar command: /usr/bin/fakeroot > "/usr/bin/cmake" -E tar cfz data.tar.gz ./usr > Please check > /home/harryvanderwolf/software/gui_overhaul/build/_CPack_Packages/Linux/DEB/Deb.log > for errors > CPack Error: Problem compressing the directory > CPack Error: Error when generating package: hugin > make: *** [package] Fout 1 > > Harry >
Harry, this is something different. May be, your cmake is broken (It was on my
platform)
But for the start
1. change the working directory to <Build
Tree>/_CPack_Packages/Linux/DEB/hugin-2011.5.0.5888-Linux
2. check the created data.tar.gz has correct owner (_not_ root)
3.
a. call "cmake -E tar cfz data.tar.gz ./usr"
b. check the created file "tar ztvf data.tar.gz > /dev/null", should be no
error-output
4. The same with "fakeroot cmake -E tar cfz data.tar.gz ./usr"
maybe you do not have fakeroot installed?
(here it is:
/usr/bin/fakeroot -> /etc/alternatives/fakeroot
/etc/alternatives/fakeroot -> /usr/bin/fakeroot-sysv
#dpkg -S /usr/bin/fakeroot-sysv
fakeroot: /usr/bin/fakeroot-sysv
)
If errors like "SCHILY.fflags", then
5. check the cmake-version (my is "cmake version 2.8.8.20120626-gbd67f"), the
broken version was ubuntu 2.8.8.
To make it work, I had to downgrade cmake first to version 2.8.5
(get cmake_2.8.5-1ubuntu1_amd64.deb
cmake-data_2.8.5-1ubuntu1_all.deb
cmake-qt-gui_2.8.5-1ubuntu1_amd64.deb
libarchive1_2.8.4-1ubuntu0.11.10.1_amd64.deb
liblzma2_5.0.0-2_amd64.deb
libxmlrpc-c3-0_1.16.32-0ubuntu4_amd64.deb
libxmlrpc-core-c3-0_1.16.32-0ubuntu3_amd64.deb)
or you can compile cmake from source "git clone http://cmake.org/cmake.git"
then install and use this.
Kornel
signature.asc
Description: This is a digitally signed message part.
