Re: building okular package
On 5 October 2012 11:32, Jacopo Nespolo <email@example.com> wrote:
> I'm trying to build the package for okular from latest sources.
Thanks to a quick chat with Sune, I modified the changelog using the
dch script and was able to build most of the program by simply running
dpkg-buildpackage from within the sources' directory.
Unfortunately, now i get the following error:
cp: cannot stat `debian/tmp/usr/lib/libokularcore.so.1': No such file
dh_install: cp -a debian/tmp/usr/lib/libokularcore.so.1
debian/libokularcore1//usr/lib/ returned exit code 1
make: *** [pre_install_dh_install] Error 2
make: Leaving directory `/***mypath***/OKULAR/okular-4.9.2'
make: *** [debian/dhmk_install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I suppose that this is due to the fact that multiple packages are
built out of okular sources, and probably i need to first build
libokularcore, install it and only afterward build the rest of the
This is just my guess, though.
As usual, any help is greatly appreciated.