Daryl C. W. O'Shea wrote:
Dhaval Patel wrote:
I am running a Debian stable system and have perl 5.8.4 installed
from the Debian packages.
I had a problem with the Net::DNS module a while back and upgrade
perl to 5.8.8 using
CPAN. This upgrade installed perl 5.8.8 as the default perl version
system wide.
Unfortunately Debconf is not part of CPAN, so I cannot install it in
5.8.8. Because of
this, certain Debian utilities will not work.
Is there anyway to tell spamc to use perl 5.8.8 and leave the rest of
the system to use
the Debian 5.8.4?
Both versions are currently on the system. /usr/bin has perl5.8.4 and
perl5.8.8
binaries. Currently /usr/bin/perl is the 5.8.8 binary for spamassassin.
Will changing the top line of /usr/bin/spamassassin be all that is
needed for spamc?
spamc couldn't care less what version of Perl is on your system since
it's written in C.
All the other programs that ship with SA (spamassassin, spamd,
sa-update, etc) are written in Perl. If you want those programs to
use a different perl (and I would suggest they all use the same perl),
yeah, you can change the shebang line to point at a different perl.
Daryl
I would first like to thank Daryl for properly using the phrase,
"...couldn't care less". To many people today say, "I could care less",
which makes me want to pull their face off.
Dhaval,
I have never been able to successfully upgrade Perl, and not have at
least a few apps bomb. I think you can edit the file /usr/sbin/spamd.
Change the first line #!/usr/bin/perlX.X.X -T -w to whatever version you
have upgraded to.
I wish I could be more help.
-=Aubrey=-