in reply to Trouble installing Apache::Test as root.

Esteemed colleagues,

I get to answer my own question!

The secret is to NOT try to do it with CPAN. Two things happen. Firstly, during the make test portion the script will attempt to start the Apache server. If it cannot find it you need to manually enter the information. By being able to do this in a manual install I was able to complete the tests.

Secondly, you still need to be root to install, so you just do an 'su' and run the make install as root.

The same sort of problem occurs when installing libapreq.pl, and Apache::Request.

Of course, YMMV! jdtoronto

Replies are listed 'Best First'.
Re: Trouble installing Apache::Test as root.
by jonadab (Parson) on Nov 08, 2003 at 04:09 UTC

    Am I just ignorant and crochety, or is it awefully antisocial of the authors of these modules to put things on CPAN without first fixing them to be able to be installed via CPAN?


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
      I'd say you're ignorant :)(don't know about crotchety) Last I checked you could do a force-install, so the module is installable.

      However, as a cpan-tester I do believe the author should use MakeMaker's prompt function to prompt for a path to httpd during Makefile.PL, and skip the tests if a httpd cannot be found.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.