I'm having the same problem. (Also on Ubuntu 9.04 with Apache2 & mod_perl2)
I've installed all these:
libapache2-mod-perl2 libapache2-mod-perl2-dev apache2-prefork-dev libapreq2-dev libapreq2 libapache2-request-perl
But I'm still seeing this:
CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build J/JO/JOESUF/libapreq2-2.12.tar.gz perl: 5.10.0 ok mod_perl2: 2.000004 ok Apache::Test: 1.31 ok ExtUtils::MakeMaker: 6.42 ok ExtUtils::XSBuilder: 0.28 ok Test::More: 0.88 ok ./configure --enable-perl-glue --with-perl-opts="INSTALLDIRS=site" --w +ith-apache2-apxs="/usr/bin/apxs2" --with-perl="/usr/bin/perl" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no [snip] checking whether ln -s works... yes checking whether to enable maintainer-specific portions of Makefiles.. +. no Can't open perl script "INSTALLDIRS=site": No such file or directory configure: error: Bad apache2 binary (/usr/sbin/apache2) Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] JOESUF/libapreq2-2.12.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install
Any pointers would be gratefully received, this is driving me nuts.
In reply to Re: CPAN: Install of Apache2::Request failed
by aidan
in thread CPAN: Install of Apache2::Request failed
by nesto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |