Installing PERL
PERL is already an intrinsic part of the modern FreeBSD. However it is necessary to install mod_perl.
The mod_perl installation is usually performed in conjunction with Apache and PHP.
Go to the Apache|PHP|MySQL|Perl section and do it in the recommended sequence.
Mod_Perl Setup
Google and download the file
mod_perl-1.27.tar.gz [363K] or its updated equivalent to the
/src directory.
Move into the /src diectory and unpack the mod_perl tarball.
tar -zxvf mod_perl-1.27.tar.gz
Move into the newly created mod_perl directory:
cd mod_perl-1.27
Next you need to build a configure script. This must be done as root:
vi modscript
Inside the Mod_Perl script type:
#!/bin/sh
#Perl Configure Script
perl Makefile.PL \
APACHE_SRC=/src/apache_1.3.17/src \
NO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1 \
Once you have double checked your spelling, save and exit the script, run it:
sh modscript
Confirm the Apache bit [y]
After this script runs do the following:
make
make install
..and that's it. PERL is go. Return to the
LAMP Server page to continue. You can test PERL at the end..
- A.