Bob -
You can give read permissions (if needed) on the SpamAssassin CPAN build
folder (usually /root/.cpan/build/<packagename>-<random-key> - on my
system it was: /root/.cpan/build/Mail-SpamAssassin-3.2.5-Bpy3vr) to some
non-root user on your system - ie: bob
as bob run make test in the /root/.cpan/build/<packagename>-<random-key>
folder.
If that succeeds then you can switch back to root and finish installing
via make install.
-Chris H
Bob Cohen wrote:
On Sep 3, 2008, at 11:24 AM, Chris Henry wrote:
I've found that the 'make test' part of spamassassin fails when run
as root on some machines. Since you need to run CPAN as root to
install spamassassin I've found that it fails for me on most systems.
Here's some info I found on this issue.
http://markmail.org/message/6rriowqf3brbntiv#query:t%2Fspamc_optC.t+page:2+mid:h5kfzxb2izwrdjmn+state:results
A workaround I've done in the past is exiting cpan - finding the cpan
source (usually /root/.cpan/build/<packagename>-<random key>) and
running make test as non-root. This usually succeeds and I can also
run make install from that directory to install it.
How did you run make test as non-root? I ended up installing
SpamAssassin from source and it worked fine. Of course maintenance
will be a little more difficult but I just wanted to get the thing done.
Bob Cohen
Principal, MojoTools Web Design
W: www.mojotools.com
O: 508.384.0405