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

Re: building okular package

On 2012-10-06, Jacopo Nespolo <j.nespolo@gmail.com> wrote:
> On 6 October 2012 14:18, Jacopo Nespolo <j.nespolo@gmail.com> wrote:
>> 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.
> Actually. nevermind. I found that in that path there is now a file
> libokularcore.so.2, so the problem is i now need to figure out how to
> change that .1 in .2 for dh_install.

dh_install is reading stuff from debian/FOO.install

note that there is a pattern in libokularcore.so.1 going into a package
named libokularcore1


Reply to: