On Sun, 10 Jun 2001, Ian (the webguy) wrote:
> I'm running RedHat 6.2 on an P5/300 with 128MB of RAM and 10GB of HDD. I've
> grabbed the latest stable versions of Apache (1.3.9), and mod_perl.
> [snip]
> I keep on running into problems with the make test portion of my
> installation. Snippets are below...
> <snip of 'make test > outfile>
>
> (cd /root/apache_1.3.9 && PERL5LIB=/home/ian/mod_perl-1.25/lib make)
Start again. It's not a big deal to delete everything in the source
directories, untar the archives and rebuild. I always like to put a
file called "makpl_args.mod_perl" in the mod_perl directory. The best
arrangement for the directories seems to be something like:
/home/ian/src/apache_1.3.9
/home/ian/src/mod_perl-1.25
so makepl_args.mod_perl is in fact
/home/ian/src/mod_perl-1.25/makepl_args.mod_perl
Then all you have to do is:
% cd /home/ian/src/mod_perl
% make
% make test
% su root
# make install
Make sure you haven't got a copy of Apache already running when you
start all this, RedHat has one already in there for you but I've never
liked the way it starts things up - tries to do too much for you which
is very confusing when you're new to it all.
My makepl_args.mod_perl is below, don't include the ruled lines!
You might want to tweak it a little. Come back if you have any trouble.
When you put the machine on the net, make sure you upgrade ftpd, the
version of ftpd which comes with RH6.2 has a nasty hole in it. You
need the lreply-buffer-overflow-patch.
73,
Ged.
----------------------------------------------------------------------
USE_APACI=1
APACHE_PREFIX=/usr/local
APACHE_SRC=../apache_1.3.19/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
----------------------------------------------------------------------