Re: scripting CPAN installs

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



Thanks!

On Tue, Apr 20, 2010 at 4:14 AM, Tomas Ruprich <ruprich@xxxxxxxxxxxxxxx> wrote:
> I think this could be done by
>
> cpan> o conf prerequisites_policy follow
> cpan> o conf commit
>
> and then set
>
> env PERL_MM_USE_DEFAULT=1 cpan
> or
> env PERL_MM_USE_DEFAULT=1 perl -MCPAN -e shell
>
>
> Tomas
>
>
> Mon, Apr 19, 2010 ve 04:24:21PM -0500, Les Mikesell napsal:
>> On 4/19/2010 4:15 PM, Kahlil Hodgson wrote:
>> > On 04/17/2010 12:21 AM, Alan McKay wrote:
>> >> Now my only problem seems to be that cpan does not allow me to specify
>> >> "yes" to this question when it asks.  e.g. like the "-y" option to
>> >> "yum"
>> >>
>> >> ---- Unsatisfied dependencies detected during
>> >> [A/AN/ANDK/CPAN-1.9402.tar.gz] -----
>> >>      Test::Harness
>> >> Shall I follow them and prepend them to the queue
>> >> of modules we are processing right now? [yes]
>> >>
>> >> Any way to do that?
>> >
>> > Try piping the output of the 'yes' command to whatever script is asking
>> > the question. "man yes" for more details ;-)
>> >
>>
>> I thought that was one of the things you could set to default to 'yes'
>> when you initially configure the cpan module, but it's been a long time
>> since I did that.
>>
>> --
>>    Les Mikesell
>>     lesmikesell@xxxxxxxxx
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux