-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Menschel writes:
>Hello Justin,
>
>Monday, December 1, 2003, 10:19:32 AM, you wrote:
>
>JM> Robert, BTW --
>
>JM> were you saying previously that you couldn't get hit-frequencies
>JM> working? Could you remind me what was up there?   I might be able to
>JM> help.
>
>Minor handicap: I'm a domain user on a shared virtual domain server. I
>don't have admin access to most of SA. Just about everything I do is
>centered on user_prefs. 
>
>I've built a script I call masscheck.sh, which has the commands:
>> cd ~/.spamassassin/masscheck
>> perl ./mass-check -c ./testrule.txt -j 1 --mbox ../massham/* >ham.log
>> perl ./mass-check -c ./testrule.txt -j 1 --mbox ../massspam/* >spam.log
>> perl ./hit-frequencies -x spam.log ham.log >freq.log
>
>The two mass-check steps seem to run OK.  I have ham.log and spam.log,
>and they look pretty much as I expect.
>
>The hit-frequencies step fails, with
>> sh: /home/menschel/.spamassassin/masscheck/parse-rules-for-masses:
>>         /usr/bin/perl: bad interpreter: Permission denied
>> Died at ./hit-frequencies line 267.
>
>Perl doesn't seem to be the problem, since:
>> type perl
>>     perl is /usr/bin/perl
>> ls -lF /usr/bin/perl
>>     -rwxr-xr-x  2 root  root  781816 Apr 11 21:41 /usr/bin/perl*
>
>> perl --version
>>     This is perl, v5.6.1 built for i686-linux
>
>The line in hit-frequencies which seems to be failing appears to be
>>  system ("$FindBin::Bin/parse-rules-for-masses -d \"$cffile\" -s $opt_s") and die;
>
>Can anyone suggest a quick work-around? (With 25+ years programming
>experience, I'm still a novice in perl, so please take that into
>account.)

You could try changing that to

  system ("perl parse-rules-for-masses -d \"$cffile\" -s $opt_s") and die;

in other words, use the "perl" from your path instead of whatever FindBin
is trying to use.  Sounds like that may be the problem.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/zAtDQTcbUG5Y7woRAsXCAKDvuGo9/ILDxHDK9X25Ykwkz02pvwCfSGqw
UyK8MOTqx+ZS8YD3dpW0OG0=
=73O5
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to