in reply to Re: version change on solaris
in thread version change on solaris

"Why so old versions? 5.8.4 is at least seven years old and there is a lot of really cool stuff in the latest releases."

I suspect because 5.8.4 is the version installed with Solaris 10.

Replies are listed 'Best First'.
Re^3: version change on solaris
by cdarke (Prior) on Mar 15, 2011 at 14:29 UTC
    Yes, looks like it, although that wasn't clear from the original post. I would still ask the same question though, particualrly if moving everything over. Just about everything has to be tested again anyhow (I'll bet there is a later version of ksh, bash, sed, gcc, etc.), so why not upgrade now?

      I agree, we had to argue this case with our clients Unix admin team and their security team. They came round to our way of thinking and we built our own perl. In certain industries/companies it's not always as straightforward as you'd think to get upgrades done :)

      yea we are planning to upgrade only. But i am interested to know for my knowledge would it be possible to downgrade the perl version. can you please just let me know whether that option is there.
        ... for my knowledge would it be possible to downgrade the perl version. can you please just let me know whether that option is there.

        I very much doubt that downgrading is a viable option. There is a high probability that, in installing 5.8.0 over the top of 5.8.4, you would end up with a broken Perl installation. I'm not sure that there is any other way of doing a "downgrade" of version. Because Solaris depends to quite a degree on Perl scripts that are now distributed as part of the o/s there's a good chance that you will also end up with a compromised Solaris installation.

        If you really must run 5.8.0 the safest policy would be to build and install it in a separate directory from the supplied 5.8.4 so that the two do not clash. However, I would strongly advise that the effort to build 5.8.0 would be much better devoted to testing your scripts under 5.8.4 and ironing out any wrinkles.

        Cheers,

        JohnGG

Re^3: version change on solaris
by krishnapriya (Initiate) on Mar 15, 2011 at 14:28 UTC
    when i give perl -v i have got the below message This is perl, v5.8.4 built for sun4-solaris-64int (with 31 registered patches, see perl -V for more detail) Actually we are going to do all the tests. But i would to know whether there is any possibility for downgrade of perl.

      Just do all of your tests, forget about downgrading lest you end up with an unstable system.

      It depends where you put the old release, and what else on your system uses perl. For example, if there are some Sun scripts which use 5.8.4 then they might not work with an earlier release. If you totally isolate all your old stuff then it should work, but I have to ask why you would want to, particularly since you say you are testing everything anyway.