On Sun, Jun 05, 2005 at 08:22:40PM +0100, Mike Spamassassin wrote: > Everything seems to work OK, but I get one error message. > When I run sa-learn --sync I get > "Parameter to use lib must be directory, not file at > $HOME/local/lib/perl5/i386-linux/Razor2/Client/Agent.pm line 13" > > Can anyone point me in the right direction? > I know Unix but not much Linux and very little perl.
Arguably this is a Razor question (it's their module), not a SpamAssassin-specific question, but ... In my install, line 13 in Agent.pm is: use lib qw(lib); So I'm assuming you have a file named "lib" somewhere. Possibly in the directory where you're calling sa-learn, though I can't be certain there's no chdir'ing going on. -- Randomly Generated Tagline: "4) Bobby Flay is coming to your house to tape an episode of "Food Nation" so you thoughtfully replace your 'Welcome' mat with a large wooden cutting board." - From the Top 12 Signs You've Been Watching Too Much FoodTV
pgp5j7ay9XYR8.pgp
Description: PGP signature