[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building okular package



On 5 October 2012 11:32, Jacopo Nespolo <j.nespolo@gmail.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:

dh_install
cp: cannot stat `debian/tmp/usr/lib/libokularcore.so.1': No such file
or directory
dh_install: cp -a debian/tmp/usr/lib/libokularcore.so.1
debian/libokularcore1//usr/lib/ returned exit code 1
make[1]: *** [pre_install_dh_install] Error 2
make[1]: 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
program.
This is just my guess, though.
As usual, any help is greatly appreciated.
Thanks,
j


Reply to: