Hi there,

On Sun, 22 Dec 2002, Mark Hawkes wrote:

> Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as 
> root or it can't write to the Apache directory.

[snip]

> >-----Original Message-----
> >From: Mark Hawkes [mailto:[EMAIL PROTECTED]]
> >Sent: Saturday, December 21, 2002 12:00 PM
> >To: [EMAIL PROTECTED]
> >Subject: Install Problem: make test: modules/src.t
> >
> >
> >When I 'make test' I'm getting failures relating to modules/src.t
> >Can anyone help?
> >
> >---------- PLATFORM ----------
> >
> >OS:                 Slackware Linux 2.2.16
> >Perl:               5.6.0
> >mod_perl:           1.27
> >Apache:             Apache/1.3.12 (Unix) PHP/4.2.3
> >
> >Apache root:        /var/lib/apache
> >mod_perl build dir: /var/lib/apache/mod_perl-1.27


Firstly I think you should upgrade your Apache to the latest.  You'll
probably then need to sort out (in your head:) the changes in the
default installation directory structure, as Apache uses /usr/local
nowadays instead of /var/lib.  Sigh.

If I were you I'd upgrade that kernel too, but I'm not sure it would be
very helpful at this stage unless you're very familiar with kernels as
you'd need to upgrade a bunch of tools as well for the upgrade to work.

You say that 'make test' won't run unless you're root.  That's bad.
You should really be building Apache and mod_perl (and just about
everything else) as a normal user in a directory to which you have
write access, for example I tend to use

/home/ged/src/apache_1.3.xx
/home/ged/src/mod_perl-1.xx

and if I'm going to need SSL, a database, whatever...

/home/ged/src/openssl-0.9.6g
/home/ged/src/mod_ssl-2.8.11-1.3.27
/home/ged/src/mysql-3.23.46

and so on.  The only time you need to be root is when you "make
install".  The instructions are usually fairly clear in the INSTALL
doc's but I'll grant you it can be a tad confusing at first because
there's such a lot of it.

I think you need to clean out those source directories (with care:) and
start again.  It's all in the Guide.

73,
Ged.

Reply via email to