in reply to Re: CPAN: Install of Apache2::Request failed
in thread CPAN: Install of Apache2::Request failed

This problem has problem been solved but I ran into this situation on Debian. Whenever you run into problems installing Perl modules, the best thing to do is get out of CPAN and just read the errors. Here's the solution for getting Apache2::Request on Debian Lenny 64-bit. To get Apache2::Request to work I had to install the following using apt apt-get install apache2-threaded-dev libapache2-mod-perl2-dev And then I had to install the Perl Mod: ExtUtils::XSBuilder::ParseSource
  • Comment on Re^2: CPAN: Install of Apache2::Request failed

Replies are listed 'Best First'.
Re^3: CPAN: Install of Apache2::Request failed
by Anonymous Monk on Mar 26, 2010 at 19:38 UTC
    I went through the tedious procedure for installing Apache2::Request by doing the whole thing in the source directory of libapreq2* and thought do post this with more details to help others in the similiar situation. 1. installing apache2-threaded-dev for getting "apxs2" binary installed. I also have to change the "apxs" binary name in "configure" script to "apxs2" to pass the configuration process. 2. installing apache2-mod-perl2-dev for problems encountered during the "make" process where mod_perl.h, modperl_perl_unembed.h and other header files are needed. 3. installing ExtUtils::XSBuilder::ParseSource is pretty staight forward and can be done in cpan environment without problem. Thanks
      Hi, I've followed the instructions above but I still get an error when I try to install Apache2:: Request. I haven't modified the configure script to encompass the binary name change... perhaps that's where I'm going wrong. Can anyone tell me what line that change should be made on? At the moment I get the following error messages: ./configure: line 19467: apxs: command not found ./configure: line 19481: apxs: command not found ./configure: line 19485: apxs: command not found ./configure: line 19489: apxs: command not found ./configure: line 19489: apxs: command not found build/version_check.pl failed: no version_string found in '' for 'apache2'. configure: error: Bad apache2 binary (/)

        The instructions say:

        I also have to change the "apxs" binary name in "configure" script to "apxs2" to pass the configuration process.

        Your error message says

        ./configure: line 19467: apxs: command not found ./configure: line 19481: apxs: command not found ./configure: line 19485: apxs: command not found ./configure: line 19489: apxs: command not found ./configure: line 19489: apxs: command not found

        It seems to me that the two things are related. I would try following the instructions.