Nick Tonkin wrote:
On Thu, 13 Mar 2003, Geoffrey Young wrote:


hey...

  I recently lost a drive on my sandbox and had to install perl, apache,
and mod_perl all from scratch.

mod_perl 1.0 installed just fine.

mod_perl 2.0 compiles and tests ok, but I can't run make install:

make[1]: Leaving directory `/src/modperl-2.0/src/modules/perl'
Can't locate Apache2.pm in @INC (@INC contains: blib/lib/Apache2
/src/bleedperl/lib/5.9.0/i686-linux-thread-multi /src/bleedperl/lib/5.9.0
/src/bleedperl/lib/5.9.0/i686-linux-thread-multi /src/bleedperl/lib/5.9.0
/src/bleedperl/lib/site_perl/5.9.0/i686-linux-thread-multi
/src/bleedperl/lib/site_perl/5.9.0 /src/bleedperl/lib/site_perl .).
BEGIN failed--compilation aborted.
make: *** [pure_site_install] Error 2

there's really no way to tell for how long this has been an error, since
Apache2.pm would have been in my @INC from previous successful installs.

anyway, if somebody could go through the pain of verifying this, that would
be great - I'm not sure if the problem is with the Makefile/ModPerl::MM or
the placement of Apache2.pm (./blib/lib/Apache2.pm).


FWIW my recent fresh install of perl 5.8.0 and apache2/mp2 did not
encounter this problem.

You'd if you first do:


grep /whereever/your/perl5/lib/is/ -name "Apache2" -exec rm -r {} \;

or simply:

grep /whereever/your/perl5/lib/is/ -name "Apache2.pm" -exec rm {} \;

The patch is on the way.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to