develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Hidden dependencies?

Thread Previous | Thread Next
Aaron Sherman
October 1, 2003 08:58
Re: Hidden dependencies?
Message ID:
On Wed, 2003-10-01 at 01:57, Slaven Rezic wrote:

> I'm still not convinced that it's the responsibility of the perl
> authors to help the rpm build tool. Maybe one could provide a META.yml
> file for perl (including

This is a head-in-the-sand approach (as noted before). Perl will be (is)
considered broken on systems that use RPM (and that list grows with some
regularity) because it does not play nicely with external dependency

As with every large project at this point, I think Perl should have a
spec file as part of the distribution. Building dependency lists
automatically is fine for the bulk of what's on CPAN, but the core Perl
source is, by it's nature, going to be more complex that that. One thing
that might be nice, for example, is to use the metaconfig information
during build to generate the dependency list for system libraries (like
db and crypt) that will go in the final RPM.

> requires:
> recommends:
>   Tk: 800
>   Tk::Pod: 4.24

There is a difference in an RPM between "the things that the SRPM
requires before it will attempt to compile" and "the things that the RPM
requires before it will attempt to install". Recommended dependencies
would end up being of the latter type if you found that you needed them
at "build time".

Aaron Sherman <>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About