Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Clean Install 5.6

by atha2001 (Initiate)
on Mar 24, 2001 at 01:01 UTC ( #66739=perlquestion: print w/replies, xml ) Need Help??

atha2001 has asked for the wisdom of the Perl Monks concerning the following question:

I've got a Sun box wt Solaris 2.5.1. The box is 24x7 access and has Perl5.004_04 running fine. Now I've to upgrade it with Perl5.6.0 keeping old Perl version. Previously, when I tried to install it in test directory could not be succeeded. What's the cleanest way to get Perl5.6 installed without disturbing present Perl version ? I've got gcc 2.8.1 version, so I can recompile it.

Replies are listed 'Best First'.
Re: Clean Install 5.6
by scottstef (Curate) on Mar 24, 2001 at 09:26 UTC
    The easiest way if you installed it in package format would be to do:
    pkginfo | grep perl (output should look similar to :)
    pkgrm yadda/yadda/yadda/perl
    This will wipe out the old and then go to the sun website and download the perl package
    then try
    pkgadd -d ./perlPackageName
    Hope that helps:-)
      No, its not in a package format... It is compiled with gcc 2.8.1 ... I need to compile it either with 2.8.1 (if it works) or gcc 2.95.2 in parallel to work with both perl versions.. Later on, if there is no any problem with new version, I can remove the old perl version... Thanks in advance
        I haven't done it, but allegedly, you can compile it in a different directory. My perl on my box is in /usr/local/bin/perl. Perhaps you want to compile yours to either somewhere in /usr/local and then adjust your scripts. I have glanced thru several books and not seen anything regarding this, however we just installed a new mail server that bundled an older version of perl in it. They placed it in the home directory for the mail account i.e. /opt/users/mail/bin/perl. HTH
      I tried to compile Perl 5.6 other than default dir, which was successful. there is no errors shown whil compilation. All tests were performed successfully. When tried to test perl by executing in /jpl/JNI it display some err like "compilation failed (related to some JNI module)". Then I tried to compile manually in JPL & JNI dir as instructed in "README" file in jpl. Then err mesg was changed "Install Solaris patch to run this module for this version of Java Runtime". I checked for solaris patches which were reqd by JDK 1.1.6 which are already installed. I am not getting what is wrong ? what went wrong, but unable to execute perl program ? Can you have any idea? can you help me any way ? Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://66739]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-04-18 02:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found