Mailinglist Archive: opensuse (4348 mails)

< Previous Next >
Re: [SLE] Problem with apache + mod_perl + websieve
  • From: zentara <zentara@xxxxxxxxxxx>
  • Date: Tue, 1 Oct 2002 13:36:53 -0400
  • Message-id: <20021001133653.556d7add.zentara@xxxxxxxxxxx>
On Tue, 1 Oct 2002 19:00:17 +0200
Pep Serrano <pep@xxxxxxxxxxx> wrote:

> Second parton the "problem with apache + mod_perl" series :-)
> I am trying to run websieve, which is a web interface to the any sieve server.
> I am getting the following message everytime I try to load the websieve URL:
> ----- cut ----- cut ----- cut -----
> Error: Can't locate IMAP/ in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl .) at ./ line 5. BEGIN failed--compilation
> aborted at ./ line 5. Content-type: text/html
> ----- cut ----- cut ----- cut -----
> IMAP::Admin is installed (twice???):
> montblanc:/ # find / -name
> /usr/lib/perl5/site_perl/5.6.1/IMAP/
> /usr/lib/perl5/site_perl/5.6.1/i586-linux/Cyrus/IMAP/
> montblanc:/ #
> I am running on a SuSE 8.0 box with Apache, mod_perl and Cyrus Imap server.
> What I am missing?

The Cyrus/IMAP/ is a different module. So the system says it can't find
/usr/lib/perl5/site_perl/5.6.1/IMAP/; but it says it's there in @INC.
That usually means there is a module version problem. Get the latest versions
of the modules, or check the docs to see what versions are required.

P.S. FWIW. It looks like alot of people think that mod_perl enables perl
cgi support in apache. This isn't true. Perl cgi scripts will run without mod_perl
installed. Mod_perl is the "high-performance apache perl interpreter",
and programs must be specifically written to use it. It's easy to get this
confused, because mod_php works like this.
Check out for a very good manual on mod_perl.
But maybe websieve uses mod_perl , so I may be offbase here. :-)

use Perl; #powerful programmable prestidigitation

< Previous Next >
Follow Ups