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

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
  • Comment on Re^3: CPAN: Install of Apache2::Request failed

Replies are listed 'Best First'.
Re^4: CPAN: Install of Apache2::Request failed
by Anonymous Monk on Sep 27, 2010 at 10:42 UTC
    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.