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

Re: Hidden dependencies?

Thread Previous | Thread Next
From:
Slaven Rezic
Date:
September 30, 2003 05:48
Subject:
Re: Hidden dependencies?
Message ID:
1064925787.22525@devpc01.iconmobile.de
hv@crypt.org wrote:
> "Nick Ing-Simmons" <nick.ing-simmons@elixent.com> wrote:
> :Johan Vromans <jvromans@squirrel.nl> writes:
> :>While building RedHat 8.x and 9.x RPMs for 5.8.1, I got the following
> :>message from RPM during install of the RPMs:
> :>
> :>  error: Failed dependencies:
> :>     perl(Mac::BuildTools) is needed by perl58-5.8.1-1jv
> :>     perl(Mac::InternetConfig) is needed by perl58-5.8.1-1jv
> :>     perl(Tk) is needed by perl58-5.8.1-1jv 
> :
> :Core perl does not need Tk. So perl58-5.8.1-1jv is obviously 
> :some bundle...
> 
> I'd guess that it because of these:
> ./lib/Pod/Perldoc/ToTk.pm: use Tk;
> ./lib/Pod/Perldoc/ToTk.pm: use Tk::Pod;
> 
> The others I assume are generated only under MacOS:
> ./utils/perlbug.PL:             require Mac::InternetConfig;
> ./lib/Net/Config.pm: use Mac::InternetConfig;
> ./lib/CPAN.pm: require Mac::BuildTools if $^O eq 'MacOS';
> 
> I don't see this as a significant problem, but I guess it would be useful
> if we could find a way to help out automated dependency checkers.
> 

Maybe I missed something, but why scanning for perl module dependencies
at all? Core perl is not supposed to have any perl module prerequisites.

Regards,
    Slaven

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About