sorry, forgot the list...

On Tue, 11 Sep 01:54 Tim J Spriggs wrote:
> I am running Debian Linux(Woody) and installed apache-perl and all of the
> supporting libraries. Whenever Apache is run I get the error message:
> 
> 
> ---------------------------------------------------------------------------
> [Mon Sep 10 16:50:03 2001] [error] Can't locate Apache.pm in @INC (@INC
> contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
> /usr/local/lib/site_perl /usr/lib/perl5/5.6 /usr/lib/perl5/5.005 .
> /etc/apache/ /etc/apache/lib/perl) at (eval 1) line 3.
> ---------------------------------------------------------------------------

This is a Debian bug. There are allready several bugs reported (you might
want to check http://bugs.debian.org/libapache-mod-perl). This is the
result of Debian testing/unstable distribution transition from perl-5.6.0
to perl-5.6.1.

The file you are looking for is still in /usr/lib/perl/5.6.0, while
/usr/lib/perl/5.6.1 is in your path. There are two quite easy solutions:
- Add /usr/lib/perl/5.6.0 to your path, or (TMTOWTDI)
- Create symlinks from /usr/lib/perl/5.6.1/Apache.pm to
/usr/lib/perl/5.6.0/Apache.pm, and all mod_perl stuff etc...

Of course some things might break, but I only ran into trouble using the
XML::Parser (still have to report/test that one, tough). Don't forget about
your solution when the package is upgraded...

> If I goto the /usr/share/perl/5.6.1/CGI where Apache.pm is located and
> try to start apache it simply says apache cannot be started and in the
> logfile it says:

If you read the file yourself, you notice this is some CGI::Apache
backward-compatible file of some sort... the Apache.pm you need is in one
of the above mentioned directory.

> ---------------------------
> Apache.pm failed to load!.
> ---------------------------
> 
> Thank you in advance for any help given.
> 
> -Tim([EMAIL PROTECTED])

Bye, 
Remco


Reply via email to