The version of perl on my amanda server is rather old (5.002).
Yes, that's rather old. But I'm not sure it is the problem either; on all perl versions I have, the problem does not appear, but I don't have 5.002 anyware.
However, as it was installed about 6 years ago, as part of another application, I'm a bit nervous about upgrading it.
I've never had problems with upgrading perl itself up to perl 5.6.1. However perl 5.8 is unicode aware completely, and if you scripts are not, then you (could) have a problem. I've had many such problems...
Also when upgrading, you sometimes have problems with certain CPAN modules.
Would it be sensible to install 2 versions of perl?
Yes, that's how I do it. (Actually, I have even more than 2 versions.)
If I install the latest version of perl in non-standard directories, e.g. /usr/local/perl/bin and /usr/local/perl/lib, is there an option to configure, that would enable these to be recognised when amanda is built?
Just change the first line in the perl scripts to #!/usr/local/perl/bin/perl
Failing that, if I add /usr/local/perl/bin to the start of my PATH variable, and add -L /usr/local/perl/lib to LDFLAGS, would this have the desired effect.
Yes, if you do this before ./configure (and run "make distclean" before too!).
-- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************
