Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 06:20:49 -0900
From:      Andy Firman <andy@firman.us>
To:        freebsd-questions@freebsd.org
Subject:   Re: perl -MCPAN -e shell question - need a howto
Message-ID:  <20050114152049.GA8383@akroteq.com>
In-Reply-To: <41E7E067.7090109@hayers.org>
References:  <20050114133433.GA7526@akroteq.com> <41E7E067.7090109@hayers.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 14, 2005 at 03:08:23PM +0000, Gary Hayers wrote:
> Andy Firman wrote:
> >Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports.
> >
> >su-2.05b# perl -v
> >This is perl, v5.8.5 built for i386-freebsd-64int
> >
> >When using perl -MCPAN -e shell, I can install the bundle fine,
> >but the when I try to install XML::DOM, or Text::Aspell, they fail.
> >
> >Where can I go for help on getting the bsdpan ports installed?
> >Or is there a howto on this stuff because I am clueless?
> >
> >Thanks,
> >Andy
> 
> If you have the Ports tree installed you can install it from the ports tree
> 
> # cd /usr/ports/textproc/p5-XML-DOM && make install clean

Understood.  But I am having a hard time figuring out how Perl modules 
"should" get installed on a system.

One can use perl -MCPAN -e shell to install modules right?
One can install from source in /usr/local/src right?
One can install perl p5-Bla-Bla-1.03 from the ports right?

Which is the right way?

I have learned in the past it is very good practice to stick with the
system package management system if at all possible.  It will save
you in the future big time with dependancey problems.
Hence my hesitation with moving forward by throwing anything at the problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114152049.GA8383>