logo       

Re: [ANNOUNCE] libapreq-1.1 is out: msg#00623

apache.mod-perl

Subject: Re: [ANNOUNCE] libapreq-1.1 is out

On Thu, 2003-01-30 at 16:36, Stas Bekman wrote:
> Joe Schaefer wrote:
> > Matt Sergeant <matt@xxxxxxxxxxxx> writes:
> >
> >
> >>On 28 Jan 2003, Joe Schaefer wrote:
> >>
> >>
> >>>libapreq-1.1 is now available on CPAN,
> >>>and also through the Apache website at
> >>>
> >>> http://www.apache.org/dist/httpd/libapreq/libapreq-1.1.tar.gz
> >>
> >>Failed badly to install for me. First of all it won't install via the
> >>CPAN shell as root because the test harness tries to deliver files
> >>from what becomes a root-owned directory, and it won't do that.
> >
> >
> > The test suite was lifted directly from mod_perl. Are you able to
> > able to test/install mod_perl using the same approach?
>
> Joe, I thought you've reverted to use the old test suite?
>
> Matt, Apache::Test may not work when run under root, because Apache won't let
> you start the server as 'User root' so it tries to use 'nobody' or something
> else as the username the server runs under, which of course has no perms to
> access files created by root and hence the problem.
>
> I suppose the solution is to chown all the autogenerated files to that chosen
> user and then the issue will be resolved. Meanwhile please try to run the
> test
> suite as non-root.
>
> __________________________________________________________________
> Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org http://ticketmaster.com

Stas,

I've run into the same problem while testing with Apache::PAR.
Unfortunately, I don't think chown'ing the files will work (at least in
my case), because the directory itself (/root/.cpanplus on my box) isn't
accessible from a non-root user. I haven't worked on a solution yet,
but I was thinking the best thing to do might be to create a temp
directory (maybe with a prompt for the directory to create it under)
from the generated Makefile in the start_httpd section and copy any
content (and then remove it in kill_httpd)

Maybe this would be a good feature to add to the Apache::test and
Apache::Test modules?

Thanks,

--
Nathan Byrd <nathan@xxxxxxxx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise