From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:20:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 504C316A4CE for ; Fri, 14 Jan 2005 15:20:56 +0000 (GMT) Received: from debian.akroteq.com (rdbck-static-72.palmer.mtaonline.net [12.17.141.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0981743D46 for ; Fri, 14 Jan 2005 15:20:56 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by debian.akroteq.com with local (Exim 4.34) id 1CpTFp-0002DL-F5 for freebsd-questions@freebsd.org; Fri, 14 Jan 2005 06:20:49 -0900 Date: Fri, 14 Jan 2005 06:20:49 -0900 From: Andy Firman To: freebsd-questions@freebsd.org Message-ID: <20050114152049.GA8383@akroteq.com> References: <20050114133433.GA7526@akroteq.com> <41E7E067.7090109@hayers.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E7E067.7090109@hayers.org> User-Agent: Mutt/1.5.6+20040907i Subject: Re: perl -MCPAN -e shell question - need a howto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 15:20:56 -0000 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.