Mailinglist Archive: opensuse (4348 mails)

< Previous Next >
Re: [SLE] Problem with apache + mod_perl + websieve
  • From: Pep Serrano <pep@xxxxxxxxxxx>
  • Date: Fri, 4 Oct 2002 14:09:26 +0200
  • Message-id: <200210041409.26310.pep@xxxxxxxxxxx>
Hi zentara,

Thanks for your asnwer. You were rigth it was nothing about mod_perl, just
PERL cgi...

Anyway I downloaded the last version and still get the same errors... I can
not find a reason why it doesn't locate a module that is installed@INC.
I'll be trying and I post a message to the list when I find answers...

On Tuesday 01 October 2002 19:36, zentara wrote:
> 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/Admin.pm 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 ./funclib.pl line 5. BEGIN
> > failed--compilation aborted at ./funclib.pl line 5. Content-type:
> > text/html
> > ----- cut ----- cut ----- cut -----
> >
> > IMAP::Admin is installed (twice???):
> >
> > montblanc:/ # find / -name Admin.pm
> > /usr/lib/perl5/site_perl/5.6.1/IMAP/Admin.pm
> > /usr/lib/perl5/site_perl/5.6.1/i586-linux/Cyrus/IMAP/Admin.pm
> > 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/Admin.pm is a different module. So the system says it can't
> find /usr/lib/perl5/site_perl/5.6.1/IMAP/Admin.pm; 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 modperl.org for a very good manual on mod_perl.
> But maybe websieve uses mod_perl , so I may be offbase here. :-)

< Previous Next >
Follow Ups
References