On Sat, Jan 04, 2003 at 01:49:37PM -0500, Theo Van Dinter wrote:
> On Sat, Jan 04, 2003 at 07:31:40PM +0100, Denis Ducamp wrote:
> > are loaded from /usr/lib/perl5/site_perl first. Looking at the spamassassin
> > installed script show it uses that directory :
> > $ grep 'use lib' ~/saCVSusr/bin/spamassassin 
> > use lib '/usr/lib/perl5/site_perl';  # substituted at 'make' time
> > 
> > So this line isn't substituted at make time, even after a fresh
> > "cvs co spamassassin"
> 
> You're assuming it's "use lib".  As with all things perl, TIMTOWTDI.
> Look at the spamassassin script for the section titled "BEGIN".  I have
> a feeling the problem is that you're using '~' which doesn't translate
> to $HOME in most places.  Try replacing ~ with $HOME when you install.

With ~ or /home/ducamp in "perl Makefile.PL" the installed script begin with :

my $PREFIX = '/home/ducamp/saCVSusr';  # substituted at 'make' time
my $DEF_RULES_DIR = '/home/ducamp/saCVSusr/share/spamassassin';  # substituted at 
'make' time
my $LOCAL_RULES_DIR = '/home/ducamp/saCVSetc/mail/spamassassin';  # substituted at 
'make' time

use lib '/usr/lib/perl5/site_perl';  # substituted at 'make' time

I use the slackware 8.0 version of perl v5.6.1.

Denis Ducamp.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to