"Daryl C. W. O'Shea" <[EMAIL PROTECTED]> said: > 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.
I figured that spamc would not use perl but I though it might use one of the other things that are written in perl. I have looked at the spamassassin package and see the following binaries /usr/sbin/spamd /usr/bin/sa-learn /usr/bin/spamassassin /usr/bin/sa-update Are these the only packages that I need to edit the perl line to point to a different version? Perhaps I missed a dependent script or scripts in another dependent package? Thanks, Dhaval > > > Daryl > > --