On Tue, Aug 03, 2004 at 10:26:42PM -0700, Blair Zajac wrote:
> So it appears to me that if you have a single Perl module with some C code 
> in it and you use Info2, then every Perl module that depends on this needs 
> to use Info2 to properly depend upon the versioned perl module.
> 
> I'm thinking here of Compress::Zlib, which IO::Zlib, depends upon, which is 
> then dependent upon by Archive::Tar, and then Module::Build.
> 
> I also understand that having compress-zlib-pm-5XX have a Provides doesn't 
> work to well, although I'm not to clear on the reasons.

Consider a user who has perl561 and perl581, who installs
  foo-pm581:Provides:foo-pm
  bar-pm:Depends:foo-pm

bar-pm is pure-perl, so is installed in a place that is accessible to
both perlXXX and has all its dependencies met, but will only be usable
with perl581 because that's the only perl for which foo-pmXXX is
present. That's pretty confusing, no? Another package quux that wants
to use bar-pm shouldn't have to jump through hoops figuring out what
sub-dependency mess the package foo-pm has caused. So instead we have
the current arrangement that makes it completely clear at all levels
of dependency whether one can use "any perl" or only a specific one.

> There's got to be a better of way of doing this.

We'd love to hear it. The way you observe is current policy (well, not
that you must use Info2, but just that even pure-perl modules be
-pmXXX if they depend on any C ones). It was the result of -devel
discussion that you are welcome to read.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to