From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 22:36:05 2004 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 ED09E16A4D1 for ; Fri, 8 Oct 2004 22:36:05 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EEB43D4C for ; Fri, 8 Oct 2004 22:36:05 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd49554 (utd49554.utdallas.edu [129.110.3.85]) by smtp1.utdallas.edu (Postfix) with ESMTP id 749C9388CBF; Fri, 8 Oct 2004 17:36:05 -0500 (CDT) Date: Fri, 08 Oct 2004 17:36:20 -0500 From: Paul Schmehl To: Danny , David Jenkins Message-ID: <6BAC7420C8E22E5A9F0971B4@utd49554.utdallas.edu> In-Reply-To: References: <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> <9395922d04100813344f950942@mail.gmail.com> <9395922d04100813475ad2f7f2@mail.gmail.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: FreeBSD-questions Subject: Re: How to update perl on FreeBSD 4.9R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 22:36:06 -0000 --On Friday, October 08, 2004 05:14:00 PM -0400 Danny wrote: > > Stop in /home/danny/Date-Calc-Iterator-1.00. > mx1# > > Any suggestions? Or if I need to rebuild any specific perl ports? > > (Would you believe this all started because I wanted to use > pflogsumm.pl to generate reports from my Postfix logs. LOL) > I've got pflogsumm running on a FreeBSD box, so I can guarantee you that it works, but I wouldn't go about it the way that you are. First, I would install the perl port - /usr/ports/lang/perl5.8. Then I would install Date::Calc - /usr/ports/devel/p5-Date-Calc. Then I would install any other modules needed from the ports system - use "locate" to find them. (For example, you can type %locate Calc to find the Date-Calc module.) Once the modules you need are installed, then pflogsumm should run just fine. Use the ports system. You'll have *much* less trouble getting things to compile and work for you. If you haven't used the ports system before, then you need to read up on that first. I usually cd to the port I want and then run "% make install clean" after reading the Makefile to see if there are any switches that I need to set. (Some ports seem to use "make options" to select the options you need, but some do not.) If you aren't familiar with the ports system, read the Handbook section on ports. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu