Apache2::ASP::Manual::Installation::Linux contains installation instructions for Linux.
INSTALLATION
Once you've installed the prerequisites (see above) you are all set to install Apache2::ASP.
Unfortunately the regular CPAN install won't work. Again, the test suite cannot be run as root unless the nobody user can write to the t/ directory.
Simply download the latest tar.gz file from CPAN and run the following commands:
% tar -zxvf Apache2-ASP-1.xx.tar.gz
% cd Apache2-ASP-1.xx
% perl Makefile.PL
% make
% make test
% make install
Now, when you run the command:
% perl -MApache2::ASP -e 'print "Hello, World!n"'
You should see:
Hello, World!
If instead you see something like:
Can't locate Apache2/ASP.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_
perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/l
ib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/s
ite_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site
_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/
vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor
_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/ven
dor_perl .).
BEGIN failed--compilation aborted.
Then Apache2::ASP was not successfully installed. Repeat the installation process again, but this time, pay attention!.
Installing Apache2::ASP is only part of the deal. You also need to configure a website to run on it.
Product's homepage
Requirements:
· Perl