Customapache problems

tomc

Verified User
Joined
Feb 22, 2006
Messages
25
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 -
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
 
Do this:
Code:
rm -rf /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Apache2
./build mod_perl_ap2
 
Hi,

Thanks for that ! I had thought about removing those, but thought it was either more complicated than that, or that removing the files would cause problems so I didnt dare remove them !

Thanks,

Tom
 
Back
Top