develooper Front page | perl.perl5.porters | Postings from June 2006

Re: Saner installation. (Was: perl5 FUD hell-thread.)

From:
Adam Kennedy
Date:
June 19, 2006 07:31
Subject:
Re: Saner installation. (Was: perl5 FUD hell-thread.)
Message ID:
4496B46D.6010404@phase-n.com

James Mastros wrote:
> On Mon, Jun 19, 2006 at 11:03:32PM +1000, Adam Kennedy wrote:
>> Except that you wouldn't expect a Perl installer to install full copies 
>> of MySQL server, and Postgres server, and whatever else someone might 
>> use, which was the context of the thread.
> 
> I would love to see more dependency information on perl packages, in the
> META.yml files, on things like "I need a database, more or less any
> database", and "I need a copy of the program gtk-config in my PATH" that
> installers could make decisions based on.

Well that part works already in Module::Install.

   requires_external_bin 'gtk-config';

It's doing installer-time checks, but nobody has invented anything to 
store the metadata in yet. And it's _hard_ problem, I guarantee any 
obvious appearing solution is going to be wrong.

Adam K



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