The error below is related to the BugZilla installation which requires a handful of perl modules to be installed before it’s going to work. One of the modules is Apache SizeLimit which unfortunately did not install at first because of a non existent apache2 directory.

Problem:

CPAN.pm: Going to build P/PH/PHRED/Apache-SizeLimit-0.96.tar.gz

Can’t find the mod_perl include dir (reason: path /usr/include/apache2 doesn’t exist) at /usr/lib/perl5/Apache2/Build.pm line 2030.
Warning: No success on command[/usr/bin/perl Makefile.PL LIB=”/root/bugzilla-4.2.1/lib” INSTALLMAN1DIR=”/root/bugzilla-4.2.1/lib/man/man1″

INSTALLMAN3DIR=”/root/bugzilla-4.2.1/lib/man/man3″ INSTALLBIN=”/root/bugzilla-4.2.1/lib/bin” INSTALLSCRIPT=”/root/bugzilla-4.2.1/lib/bin” INSTALLDIRS=perl]
PHRED/Apache-SizeLimit-0.96.tar.gz
/usr/bin/perl Makefile.PL LIB=”/root/bugzilla-4.2.1/lib” INSTALLMAN1DIR=”/root/bugzilla-4.2.1/lib/man/man1″ INSTALLMAN3DIR=”/root/bugzilla-4.2.1/lib/man/man3″ INSTALLBIN=”/root/bugzilla-4.2.1/lib/bin” INSTALLSCRIPT=”/root/bugzilla-4.2.1/lib/bin” INSTALLDIRS=perl — NOT OK

Skipping test because of notest pragma
Running make install
Make had some problems, won’t install

And here’s how to fix the problem.

Fix:

Create the missing directory

mkdir /usr/include/apache2

cpan Apache2::SizeLimit install

Leave a Reply

Your email address will not be published. Required fields are marked *