Re: easiest way to install CPAN on FreeBSD

2007-10-25 Thread Noah



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
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


Thanks Sean,

it does help indeed.  But I have installed some perl modules via CPAN. 
What is the best way to list them and uninstall them so I can install 
them via the the ports method?


Cheers,

Noah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-25 Thread Noah



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
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


Thanks Sean,

it does help indeed.  But I have installed some perl modules via CPAN.
What is the best way to list them and uninstall them so I can install
them via the the ports method?

Cheers,

Noah

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Martin Hepworth
what have you tried and what errors do you get?


-- 
martin

On 10/24/07, Noah [EMAIL PROTECTED] 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-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Gerard
On October 24, 2007 at 01:44AM Noah wrote:


 I am looking around for a really simple way to install CPAN on FreeBSD. 
 I keep running into errors in one variation or another.

I thought CPAN was depreciated in favor of CPANPLUS. I have installed CPANPLUS
from ports without any problems.


-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Vince
Gerard wrote:
 On October 24, 2007 at 01:44AM Noah wrote:
 
 
 I am looking around for a really simple way to install CPAN on FreeBSD. 
 I keep running into errors in one variation or another.
 
I dont follow, CPAN.pm is installed as part of the perl port/package. Do
you mean the setup after you run perl -MCPAN -e 'shell' ?


 I thought CPAN was depreciated in favor of CPANPLUS. I have installed CPANPLUS
 from ports without any problems.
 
 
Well CPAN is part of the perl58 port while CPANPLUS is still an addon as
far as i can see. I tend to install my perl modules as ports anyway though.


Vince
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread James A. Harrison
 Gerard wrote:
 On October 24, 2007 at 01:44AM Noah wrote:


 I am looking around for a really simple way to install CPAN on FreeBSD.
 I keep running into errors in one variation or another.


I'm not a very heavy perl user, but I've never *needed* to install CPAN on
FreeBSD. A little creative searching has revealed that most perl packages
are part of the FreeBSD Ports collection.

If you use more obscure CPAN packages, I can see there might be a need to
install CPAN, but try ports first.

James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Aliya Harbouri
Hi everybody!

 I'm not a very heavy perl user, but I've never *needed* to install CPAN on
 FreeBSD. A little creative searching has revealed that most perl packages
 are part of the FreeBSD Ports collection.

 If you use more obscure CPAN packages, I can see there might be a need to
 install CPAN, but try ports first.

I'll just add my 2-cents.

I've had repeated 'issues' with port-installed BSDPAN perl modules.
Those have been the usual: lagging versions, source bugs, dependency
conflicts with modules installed that are unavailable of problematic
via BSDPAN, etc etc.

I've found, in those cases, that communicating with the
Port-maintainer has not always been 'fruitful', and, communicating
with the perl mod author usually results in that's a freebsd port
problem.

So, I currently use the Perl 588 *port*.  Then I install CPANPLUS and
remove all traces of BSDPAN-installed modules, replacing them with
CPANPLUS-installed modules.

A little bit of work, but, once done, I've had very few problems, and
*much* better responsiveness from perl module authors in actually
fixing problems.  And, the folks on the perl lists/channels are much
more willing/able to answer/solve problems.

Also, around here, I've got many different platforms to deal with.
Perl+CPANPLUS is platform agnostic -- it looks-n-feels the same.  Just
easier for my brain to grok than yet-another way -- ala BSDPAN.

Like I said, just my 2-cents.

HTH!

Ali
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Noah



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* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  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-questions@freebsd.org mailto:freebsd-questions@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Sean Murphy

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* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
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-questions@freebsd.org mailto:freebsd-questions@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Gerard
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/ports
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]