You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Torsten Foertsch <to...@gmx.net> on 2007/10/23 14:23:05 UTC

FYI: Building modperl in a separate build directory

Hi,

I have often the problem to switch between prefork and worker MPM. So I 
thought of using a separate build directory for each MPM while having a 
common source directory. This led to the attached script.

It creates 3 directories, mymodperl, mymodperl-worker, mymodperl-prefork, 
checks http://svn.apache.org/repos/asf/perl/modperl/trunk out to mymodperl 
and symlinks all files from mymodperl to mymodperl-worker and -prefork. Now 
you can in each of mymodperl-* run "perl Makefile.PL 
MP_APXS=/opt/apache22-worker/sbin/apxs ... && make test"

Files are changed in the mymodperl directory. When new files or directories 
are added just rerun the script.

Torsten