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

Re: Problem with packaging of perl module



Le Mon, Jul 05, 1999 at 06:15:42PM +0200, Florian Hinzmann écrivait:
> Cut and paste and autowrap, a dangerous couple.  ;)

:set paste

in vim :-)

> Done. But after fixing all my stupid errors one
> problem remains: There is still no dependency in the
> resulting .deb file.
> 
> Everyone that wants to help, please read my original mail.

I've found the problem !

You're launching dh_perl well after dh_gencontrol. And it's 
dh_gencontrol which generates the control file, so the dependency has not
yet been added to substvars when it creates the control file ...

I really wonder why you're doing things after those calls :
+       dh_fixperms
+       dh_suidregister
+       dh_installdeb
+#      dh_shlibdeps
+       dh_gencontrol
+       dh_makeshlibs

For the demos scripts, you should install them in
/usr/doc/libnet-dns-perl/examples and lintian won't complain and debhelper
will do the right thing (I think).

In general, most of the debhelper scripts are launched at the end without
specific work between the differents calls (except for adding a suid bit).

Cheers,

PS: As a side note, make sure you have debhelper >= 1.2.83 ...
-- 
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/


Reply to: