Hi there, On Fri, 7 Feb 2003, Vicki Brown wrote:
> I'm trying to build (rebuild) mod_perl for Apache 1.3.26. I swear I did this > before but it was over a year ago.... maybe it wasn't a static build. Maybe you'll keep some records this time? :) > Following the instructions in INSTALL-apaci I ran > perl Makefile.PL APACHE_PREFIX=/usr/local/apache \ > APACHE_SRC=../apache_1.3.26/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 > make > make test It's not clear to me what you did BEFORE these steps, and that's important. Things like 'make clean' perhaps? It's also not clear from your post what account you were using. Don't build as root, use a non-privileged account to configure ('perl Makefile.PL'), compile ('make') and test ('make test'). Only switch to root to 'make install' when the tests are all completed OK. It doesn't matter where you build, but I'd always do it in my home directory or somewhere in a directory under /home that's set aside for this purpose - anyway, not in /usr or /var or anything like that. I'd suggest you delete everything you've done thus far, then create a new sub-directory in your home directory, e.g. $ cd ~ $ mkdir /home/vicki/apache_mod_perl_test and in it put two directories $ /home/vicki/apache_mod_perl_test/apache_1.3.27 $ /home/vicki/apache_mod_perl_test/mod_perl-1.27 by grabbing the sources from some mirror somewhere and extracting them $ cd /home/vicki/apache_mod_perl_test $ tar xzvf apache_1.3.27 $ tar xzvf mod_perl-1.27 Then build as per the instructions in the Guide at http://perl.apache.org $ cd /home/vicki/apache_mod_perl_test/mod_perl-1.27 $ perl Makefile.PL ... and Bob will I am sure be your proverbial uncle. Note that I suggested using Apache 1.3.27 here, but if you have some burning desire to use 1.3.26 that's OK. Just don't go and try anything older. I always put my configuration options in a file makepl_args.mod_perl in the /home/.../mod_perl-x.xx directory (see below) but that's just preference (I get to keep a record of what I did that way:). > The later did many things and eventually You know, this is not very helpful at all. Next time you post, let us know what OS you're using, stuff like that huh? > If this is meant to be an Apache httpd.conf, why does it have Perl > stuff in it? It's OK to have <Perl> sections in an Apache httpd.conf (or other configuration file) as long as the Apache reading it has mod_perl compiled in or loaded as a module. There's some documentation around here somewhere... > Please Cc: me on replies so I don't miss them; I get the digest of this list. Might be time to subscribe. :) 73, Ged. ---------------------------------------------------------------------- makepl_args.mod_perl ---------------------------------------------------------------------- USE_APACI=1 APACHE_PREFIX=/usr/local APACHE_SRC=../apache_1.3.27/src DO_HTTPD=1 EVERYTHING=1 ALL_HOOKS=1 PERL_SSI=1 PERL_SECTIONS=1 ADD_MODULE=info,status,proxy APACI_ARGS=--sbindir=/usr/local/sbin/httpd_perl APACI_ARGS=--sysconfdir=/usr/local/apache/httpd_perl/conf APACI_ARGS=--runtimedir=/usr/local/apache/httpd_perl/run APACI_ARGS=--logfiledir=/usr/local/apache/httpd_perl/logs APACI_ARGS=--localstatedir=/usr/local/apache/httpd_perl/stat APACI_ARGS=--proxycachedir=/usr/local/apache/httpd_perl/proxy APACI_ARGS=--enable-module=rewrite APACI_ARGS=--enable-module=include APACI_ARGS=--enable-module=info