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

Re: Question on Perl modules



Bill Moseley wrote:
>   Filename: pool/main/libc/libclass-container-perl/libclass-container-perl_0.07-1_all.deb
> Note the version.  But Bricolage install says it needs a newer version:
>   Checking that Class::Container version is >= 0.09... not ok.
> Ok, so I grab the latest version from CPAN (Class-Container-0.10.tar.gz)
> and use dh-make-perl and it creates this .deb:
> 
>   libclass-container-perl_0.1-1_all.deb
> 
> Notice that the version number is now 0.10.  After installing I've got
> trouble:

Negative.  Note that the version is 0.1 and NOT 0.10.  That is the
problem.

It looks like creating the libclass-container-perl_0.10-1_all.deb
package did not work.

>     libhtml-mason-perl: Depends: libclass-container-perl (>= 0.07-1) but 0.1-1 is to be installed

You can use dpkg to check what it thinks of version numbers.

  dpkg --compare-versions 0.1-1 lt 0.07-1 && echo yes || echo no
  yes

  dpkg --compare-versions 0.10-1 lt 0.07-1 && echo yes || echo no
  no

Bob

Attachment: pgpyZkMtQzvI8.pgp
Description: PGP signature


Reply to: