Re: [siesta-dev] package "Class::Accessor" is empty

[prev] [thread] [next] [lurker] [Date index for 2004/10/14]

From: Bowen Dwelle
Subject: Re: [siesta-dev] package "Class::Accessor" is empty
Date: 19:59 on 14 Oct 2004
I have lots of my modules that Siesta requires installed in
/home/bdwelle/lib. I have
PERLLIB=/home/bdwelle/lib:/home/bdwelle/lib/i386-linux set in my shell,
and nacho, tequila work fine from the shell. They must be picking up
Class::Accessor from somewhere else in @INC, indeed


bdwelle:~> ls /usr/share/perl/5.6.1/Class/
Accessor  DBI  Data

BUT when tequila is run from .procmailrc, it doesn't seem to be picking
up the full @INC...

I installed Class::Accessor in /home/bdwelle/lib, and then it moved on
and started complaining about another package:

procmail: Executing "/home/bdwelle/bin/tequila,post,info-list"
Can't locate in @INC (@INC contains: /home/bdwelle/lib
/home/bdwelle/lib/i386-linux /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 .) at
/home/bdwelle/lib/ line 14.

however, that package should be findable in that @INC:

bdwelle:~> ls /usr/lib/perl/5.6.1/Template*

/usr/lib/perl/5.6.1/Template:   Manual   Manual.pod   Plugin   Tools  Modules.pod   Stash
        Tutorial    FAQ.pod       Library      Namespace     Tutorial.pod

I did check, and /usr/local/bin/perl is a symlink to /usr/bin/perl. I 
even changed the shebang to /usr/bin/perl... still the same. What's with 
the strange @INC behavior?

Simon Wistow wrote:
> On Thu, Oct 14, 2004 at 11:14:33AM -0700, Bowen Dwelle said:
>>Now I'm trying to hook Siesta in via .procmailrc, as Dakkar outlined here:
>>I'm getting a compilation error; here's the procmail log. BTW, I can run 
>>tequila just fine from the shell, and it even delivers mail!
> Ok, it looks like you've installed your Perl modules in a none-standard 
> location 
> This looks like it could be your problem 
> What does 
> 	/home/bdwelle/lib/Class/
> look like? Does it exist?
> Simon

Generated at 14:00 on 11 Nov 2004 by mariachi 0.52