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

Re: Broken dependencies in current state of perl upgrade



Le Tue, Jul 20, 1999 at 06:02:57AM +0100, Oliver Elphick écrivait:
> What makes a package depend on a particular version of perl?  I have

If your package contains a binary perl modules then it has to depend on a
specific perl. And that's the case for libpgperl :

/usr/lib/perl5/5.005/i386-linux/auto/Pg/Pg.so
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/perl5/5.005/i386-linux/auto/Pg/Pg.bs
/usr/lib/perl5/5.005/i386-linux/auto/Pg/autosplit.ix
/usr/lib/perl5/5.005/i386-linux/Pg.pm

> versioned dependency on perl-5.005.  As far as I know, there's nothing in
> the package itself to require a particular version of perl, but I don't
> understand the ramifications of this change.

Of course there's something that requires a particular version of perl.
The binary module is (and must be) compiled with perl-5.005 which
does mean that it will only work with perl-5.005 (and it's de facto
installed in versionned directory whihw won't allow perl-5.004 to find it)

> So, can I remove this versioned dependency, depend on perl|perl5 and
> build with perl5.004 without making the package incompatible with perl
> 5.005?

No.

Cheers,
-- 
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/


Reply to: