List Info

Thread: Re: easiest way to install CPAN on FreeBSD




Re: easiest way to install CPAN on FreeBSD
country flaguser name
United States
2007-10-24 13:11:49
Noah wrote:
>
>
> Martin Hepworth wrote:
>> what have you tried and what errors do you get?
>>
>
> Martin
>
>
> thanks for responding.  here are the errors I am
receiving when I am 
> attempting to update things.
>
>
> sudo perl -MCPAN -e
'CPAN::Shell->install(CPAN::Shell->r)' 
>                                     [~]
> Password:
> Sorry, try again.
> Password:
> Cannot load ExtUtils::MakeMaker: Can't locate
ExtUtils/MakeMaker.pm in 
> INC (INC contains:
/usr/local/lib/perl5/site_perl/5.8.8/mach 
> /usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl 
> /usr/local/lib/perl5/5.8.8/mach
/usr/local/lib/perl5/5.8.8 .) at (eval 
> 4) line 1.
> BEGIN failed--compilation aborted at 
> /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm
line 17.
> Compilation failed in require at
/usr/local/lib/perl5/5.8.8/CPAN.pm 
> line 16.
> BEGIN failed--compilation aborted at 
> /usr/local/lib/perl5/5.8.8/CPAN.pm line 16.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>
>
>
>>
>> -- 
>> martin
>>
>> On 10/24/07, *Noah* <admin2enabled.com <mailto:admin2enabled.com> > 
>> wrote:
>>
>>     Hi there,
>>
>>     I am looking around for a really simple way to
install CPAN on 
>> FreeBSD.
>>       I keep running into errors in one variation
or another.
>>
>>     Anybody have a good page to send me to?
>>
>>     Cheers,
>>
>>     Noah
>>    
_______________________________________________
>>     freebsd-questionsfreebsd.org
<mailto:freebsd-questionsfreebsd.org>
>>     mailing list
>>     http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>>     To unsubscribe, send any mail to "
>>     freebsd-questions-unsubscribefreebsd.org
>>     <mailto:freebsd-questions-unsubscribefreebsd.org>"
>>
>>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribefreebsd.org"
>
I don't install CPAN on FreeBSD.  I use the ports and
packages from
http://www.freebsd.org/p
orts
Do a search for the module that you require P5- means it is
a perl 
module also you can use the ports collection for PHP modules
as well.  
This will automatically install any other dependent
modules.

Hope this helps
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: easiest way to install CPAN on FreeBSD
country flaguser name
United States
2007-10-24 16:10:47
On October 24, 2007 at 02:11PM Sean Murphy wrote:


> I don't install CPAN on FreeBSD.  I use the ports and
packages from
> http://www.freebsd.org/p
orts
> Do a search for the module that you require P5- means
it is a perl 
> module also you can use the ports collection for PHP
modules as well.  
> This will automatically install any other dependent
modules.

Unfortunately, not all CPAN modules are available in the
ports collection.
That leaves just two readily available avenues open.

1) Become a maintainer and port the module to FreeBSD. This
is a rather time
consuming process that while it has its advantages, it is
certainly not
advantageous for a user who needs the module installed now.

2) Use CPANPLUS to install the module.

Unless the user has the time, knowledge and motivation to do
the first, the
second approach is usually superior.

Just my 2¢.


-- 
Gerard

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )