Since the make test didn't work even after changing the PATH, I just changed my script as below and it passesed the make test. But now make install is failing need to look into it. Any way thanks again Matt!

export CC=/opt/SUNwspro/bin/cc
export PERL=/usr/perl5/5.8.4/bin/perl

perl Makefile.PL PREFIX=/opt/oso/spamd CONFDIR=/opt/oso/spamd/etc \
LIB=/usr/perl5/site_perl/5.8.4 LOCALSTATEDIR=/opt/oso/spamd/var \
DATADIR=/usr/perl5/5.8.4/share/spamassassin


make
make test

On 02/05/09 10:33, Nandini Mocherla wrote:
Matt,

Thank you very much for your response and the bug looks like the same error i am getting. I have perl installed in /usr/perl5/5.8.4/bin with a sym.link to /usr/bin. I changed my PATH so that it sees the installed directory. I also ran "prove -v t/spamd_hup.t" and went fine. But the make test failed again with same reason. I am using v3.2.5. Any ideas?



On 02/05/09 03:48, Matt Kettler wrote:
mocherla wrote:
Hi
I am trying to install/configure SpamAssassin and make test filed with the following reasons. I was running this as root. and would like to run spamd as non-root user (Tspamd with /opt/oso/Tspamd as its home directory). I have postfix installed and want to integrate with Postfix. I am new to this and not sure how to go ahead. I have used the following parameters with make Makefile.PL

bash-3.2# perl Makefile.PL PREFIX=/opt/oso/spamd CONFDIR=/opt/oso/spamd/etc
\
LIB=/usr/perl5/site_perl/5.8.4 LOCALSTATEDIR=/opt/oso/spamd/var \
DATADIR=/usr/perl5/5.8.4/share/spamassassin
-----errors from "make test"
t/spamd_hup.....................ok 4/110# Failed test 5 in t/spamd_hup.t at
line 40
# t/spamd_hup.t line 40 is: ok (-e $pid_file) or warn "$pid_file does not
exist post restart";
log/spamd.pid does not exist post restart at t/spamd_hup.t line 40.

I'm not terribly familiar with this problem, but you might want to look
at this bug, which appears to be the same scenario:

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5591

Is your perl installed in one directory, with a symlink to the path
that's actually running from in your PATH?

 (ie: does "which perl" return a path that is a symlink)









Reply via email to