I downloaded the mod_perl 1.08 source a few days ago and have been
trying to get it going with apache 1.3.
The system I'm on is a Debian Linux box. Debian lets you install just
the apache header files (rather than the whole damn source tree) for
compiling modules. This worked great for the mod_jserv Java servlet
module. It hasn't worked so great for mod_perl.
When I run "perl Makefile.PL", it asks me for my apache source, at which
point I point it to "/usr/include/apache-1.3", where the headers are.
Then it asks "Configure mod_perl with /usr/include/apache-1.3?" and I
Things go fine for a while until I get an error message that it can't
get a makefile down in the apache source tree:
Can't open /usr/include/apache-1.3/modules/perl/Makefile: No such
file or directory
cat: /usr/include/apache-1.3/Makefile.config: No such file or
cat: /usr/include/apache-1.3/modules/perl/Makefile: No such file or
mv: cannot move `/tmp/mpmf.5057' to
`/usr/include/apache-1.3/modules/perl/Makefile': No such file or
Will run tests as User: 'nobody' Group: 'root'
Checking for LWP::UserAgent......failed
/usr/local/lib/site_perl .) at Makefile.PL line 687.
I have this sinking suspicion that mod_perl is trying to compile itself
to a ".o" module that gets statically linked into apache (and, thereby,
requiring anyone wanting to use mod_perl to recompile ALL of apache)
instead of the prefered ".so" modules that can be loaded in at runtime.