I was in a bit of a rush to send my original email.

I first tried doing things per #Static_mod_perl on the install page,
but after flailing around for a while thought I'd try a more methodical
approach as in my email. NB the approach documented on #Static_mod_perl
corresponds to my SECOND ATTEMPT, except for the --prefix=/opt/apache"
in MP_AP_CONFIGURE

I would be grateful if people could try the documented approach but
  1) as non-root (which is always good when building software because
     it makes it unlikely stuff gets accidentally installed in wrong location)
  2) with a fairly clean file-system. I did a rm -rf of the http
     and mod_perl directories between each attempt. Also had an
     empty install directory, again in case previous attempts left
     something around confounding the situation.    
     I did not go to the extreme of cleaning out and re-installing
     between each ATTEMPT
  3) trying to install in a specified location, eg with --prefix

Brian Huxtable's posting suggests the documented method worked for him
though he did not indicate that had been done with a clean file-system.
I did try adding the "MP_COMPAT_1X=1 MP_GENERATE_XS=1" he used, but
it still did not work for me.

I also tried mod_perl-2.0.0 without success

Danny



SIXTH ATTEMPT
try ./buildconf as mentioned in sectionin #Static_mod_perl
but it really does seem needed only with svn checkout
==========================================================================
tar --bunzip2 -xf httpd-2.0.54.tar.bz2
chown -R www:www httpd-2.0.54
su www
cd httpd-2.0.54
./buildconf
rebuilding srclib/apr/configure
buildconf: checking installation...
autoconf: not found
buildconf: autoconf not found.
           You need autoconf version 2.13 or newer installed
           to build Apache from CVS.
./buildconf failed for apr


SEVENTH ATTEMPT
really a duplication of SECOND ATTEMPT which corresponds to #Static_mod_perl
however does not include --prefix in MP_AP_CONFIGURE
==========================================================================
tar --bunzip2 -xf httpd-2.0.54.tar.bz2
chown -R www:www httpd-2.0.54
# needed for testing
/opt/bin/perl -MCPAN -e "install('Bundle::Apache2')"
tar zxf mod_perl-2.0.1.tar.gz
chown -R www:www mod_perl-2.0.1
su www
cd mod_perl-2.0.1
/opt/bin/perl Makefile.PL MP_USE_STATIC=1 \
MP_AP_PREFIX=/opt/src-local/apache/httpd-2.0.54 \
MP_AP_CONFIGURE="--with-mpm=prefork"
...
Configuring Apache/2.0.54 mod_perl2/2.0.1 Perl/v5.8.7
[  error] Can't find apr include/ directory,
[  error] use MP_APR_CONFIG=/path/to/apr-config



EIGHTH ATTEMPT
add MP_COMPAT_1X/MP_GENERATE_XS per message on modperl list from 
Brian Huxtable <[EMAIL PROTECTED]> msg
==========================================================================
tar --bunzip2 -xf httpd-2.0.54.tar.bz2
chown -R www:www httpd-2.0.54
# needed for testing
/opt/bin/perl -MCPAN -e "install('Bundle::Apache2')"
tar zxf mod_perl-2.0.1.tar.gz
chown -R www:www mod_perl-2.0.1
su www
cd mod_perl-2.0.1
/opt/bin/perl Makefile.PL MP_USE_STATIC=1 MP_COMPAT_1X=1 MP_GENERATE_XS=1 \
MP_AP_PREFIX=/opt/src-local/apache/httpd-2.0.54 \
MP_AP_CONFIGURE="--with-mpm=prefork"
...
Configuring Apache/2.0.54 mod_perl2/2.0.1 Perl/v5.8.7
[  error] Can't find apr include/ directory,
[  error] use MP_APR_CONFIG=/path/to/apr-config

-- 
   [EMAIL PROTECTED]    Danny Thomas,                                    
          +61-7-3365-8221    Software Infrastructure,
 http://www.its.uq.edu.au    ITS, The University of Queensland

Reply via email to