On Mon, Dec 08, 2003 at 11:01:22AM +0100, Daniel Gubser wrote: > I have some problems to understand where I have to put the perl modules. > > When I put them in /usr/lib/perl5 I get from lintian (linda shows no > error): > > W: psad: package-installs-nonbinary-perl-in-usr-lib-perl5 > usr/lib/perl5/Psad.pm > W: psad: package-installs-nonbinary-perl-in-usr-lib-perl5 > usr/lib/perl5/IPTables/Parse.pm > > so I move this to /usr/share/perl5 and linda blubers (lintian shows no > error): > > W: psad; Architecture-dependant package installs into /usr/share/perl5. > W: psad; Architecture-dependant package installs into /usr/share/perl5.
Does your package contain any architecture-dependent code, i.e. XS modules (look for .so, .bs)? If so, you probably want to put the modules in /usr/lib/perl5 and ignore lintian. If not, make sure your control file says "Architecture: all", not "Architecture: any". Cheers, -- Colin Watson [EMAIL PROTECTED]