At 08:51 AM 2/2/04 -0800, Ravi Malghan wrote:
Hello: I have perl 5.005_03 on solaris 2.8 which was
installed with the OS. I would like to upgrade it to
5.6. Should I pkgrm the existing perl before I install
the new perl ? or is there any other recommended way
to upgrade.

you might check with Sun, I think that they have a patch that will upgrade their version of perl that is actually in /usr/perl5.

So what you can do is build a version of perl 5.8.3
and install it in /usr/local/ you can then make the
symbolic link for /usr/bin/perl point at /usr/local/bin/perl
and Sun's stuff will work in it's own space, since it
is built to look for /usr/perl5/bin/perl

eg
vladimir: 59:] head /usr/bin/kstat | sed 's/^/ /'
        #!/usr/perl5/bin/perl
        #
        # Copyright (c) 1999, 2001 by Sun Microsystems, Inc.
        # All rights reserved.
        #
        #ident  "@(#)kstat.pl   1.3     01/11/09 SMI"

        require 5.6.1;
        use strict;
        use warnings;
vladimir: 60:]

HTH.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to