|
|
This Item is for discussion of the Perl scripting language
2 responses total.
I am trying to get spamassassin to work at another BSD account (sdf). I am supposed to start compiling by typing perl Makefile.PL PREFIX=$HOME if my account is /home/user What do I put instead of $HOME if it is /arpa/gm/k/keesan? I tried various things and none of them worked. I had it working but they made some changes to mail (and maybe removed a system-wide SpamAssassin.pm?) and it broke my spamassassin, and I tried to recompile and reinstall, so I don't know whether the files in my directories now are new or old, but there is a ~keesan/bin/spamassassin and a ~keesan/.libs/Mail/SpamAssassin.pm Spamassassin cannot find the latter and is looking in /usr/pkg/.... (various directories which are in @INC.) Probably it got compiled wrong. I can post parts or all of it and the instructions here. I did a web search for help and tried export PERLLIB=~/.libs export PERL5LIB=~/.libs set... Command line or in .profile. To tell spamassassin where to look. But probably it should be compiled to look where the file is instead. I know nothing about perl and really just want a quick fix, not an education right now.
Has anyone dicked around with the Perl module "Dancer"? From what I have read in the perldocs on CPAN.ORG and in the Cookbook, it looks pretty straightforward and easy to use. Any gotchas? Are things like port and protocol (HTTP vs HTTPS) configurable, or do you have to do that with Apache or Squid or balance in front of it?
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss