How to update perl on FreeBSD 4.9R

Paul Schmehl pauls at utdallas.edu
Fri Oct 8 15:36:06 PDT 2004


--On Friday, October 08, 2004 05:14:00 PM -0400 Danny <nocmonkey at gmail.com> 
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 at utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu


More information about the freebsd-questions mailing list