Hi,
I've had users complaining more and move over the last few weeks that we havent got freetype in php, so I decided to re-compile php with freetype.
While about to recompile just php, I thought it would be worth updating apache and related software (it was an early version of apache2).
So I was using the guide -
I got to the ./build mod_perl_ap2 stage, and this is where I've got very stuck.
I get the following error -
httpd wont start without me commenting out the mod_perl and mod_security lines.
Any ideas how I solve this problem ? how has everyone else upgraded mod_perl ?
Thanks
Tom
I've had users complaining more and move over the last few weeks that we havent got freetype in php, so I decided to re-compile php with freetype.
While about to recompile just php, I thought it would be worth updating apache and related software (it was an early version of apache2).
So I was using the guide -
Code:
cd /usr/local/directadmin/customapache
rm -fr build
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
(edit build script here to say --with-freetype)
./build update
./build update_data_ap2
./build clean
./build apache_2
./build php_ap2 n
./build mod_frontpage_ap2
./build mod_perl_ap2
./build zend
/sbin/service httpd restart
I got to the ./build mod_perl_ap2 stage, and this is where I've got very stuck.
I get the following error -
Code:
Cannot install mod_perl/2.0.3 on top of mod_perl/1.99_17
due to a major API change between mod_perl 1.999_21 and 1.999_22.
Conflicting file: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Apache2.pm
Conflicting dir: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Apache2
Please nuke the prior mod_perl installation from your site_lib,
use a different perl to run the installation process, or use the
PREFIX option when creating your Makefile. See:
http://perl.apache.org/docs/2.0/rename.html
for more details.
aborting...
httpd wont start without me commenting out the mod_perl and mod_security lines.
Any ideas how I solve this problem ? how has everyone else upgraded mod_perl ?
Thanks
Tom