Ged,
Thanks for the reply. The heart of the problem is we need to compile
apache/mod_perl from source(i.e. apache_1.3.14.tar.gz and
mod_perl1-1.25.tar.gz) which lives in cvs. The machine cvs resides on is
not the target machine for the apache/mod_perl install. The plan is to
compile it and install it in a directory in cvs current, and then package
the whole thing up using the SUN package utilities.
To complicate matters we need to build apache/mod_perl from the cvs source
under a group other than root. So I run as someone other then root, the
compile goes fine, but when make install comes I get the following:
Warning: You do not have permissions to install into
/usr/local/lib/perl5/site_perl/5.6.0 at
/usr/local/lib/perl5/5.6.0/ExtUtils/Install.pm line 62.
Cannot forceunlink /usr/local/man/man3/Apache.3: Permission denied at
/usr/local/lib/perl5/5.6.0/File/Find.pm line 475
make: Fatal error: Command failed for target `pure_site_install'
I assume its upset because /usr/local/lib/perl5/site_perl/5.6.0 is
drwxr-xr-x 30 root other 2560 Nov 29 11:28 5.6.0
I don't know where to get a binary distribution of apache_x.x.x/mod_perl-x.x
so it looks like I am stuck if I want to compile with other than root....or
else edit the makefile.PL which sounds dreadful.
-----Original Message-----
From: G.W. Haywood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 2:21 PM
To: Joseph Crotty
Cc: [EMAIL PROTECTED]
Subject: Re: compiling mod_perl without root...
Hi there,
On Tue, 13 Feb 2001, Joseph Crotty wrote:
> How do I compile so the apache perl modules get
> installed in a place of my choosing???
You can just copy them there yourself. Then all you have to do is set
the @INC paths so they can be found at runtime. I think you'll find
all you need about that in the Guide. http://perl.apache.org/guide
But you still need to be root to attach to port 80, so root has to
start the server unless it's only going to listen to ports > 1024.
73,
Ged.