You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by E R <pc...@gmail.com> on 2010/05/27 21:30:37 UTC

building mod_perl-1.30 - mod_perl.h not getting installed?

Hello,

I'm building ancient versions of apache and mod_perl (with perl 5.8.9)
in the following way:

tar zxf apache_1.3.41.tar.gz
cd apache_1.3.41
./configure --prefix=/APACHE-PREFIX --enable-module=so
--enable-module=access (... more --enable-module) \
  --disable-module=imap --disable-module=userdir --disable-rule=EXPAT
make
make install

cd ..
tar zxf mod_perl-1.30.tar.gz
perl Makefile.PL EVERYTHING=1 PREFIX=/PERL-PREFIX \
  USE_APXS=1  \
  WITH_APXS=/APACHE-PREFIX/bin/apxs
  APACHE_SRC=../apache_1.3.41/src
make
make install

The problem is that include files like mod_perl.h are not getting
installed in the perl tree.

When I try to build libapreq-1.34 I'll get compilation errors like:

Request.xs:41:22: mod_perl.h: No such file or directory

What do I need to do to get the mod_perl include files installed?

Thanks,
ER