Operating System - HP-UX
1827295 Members
4095 Online
109717 Solutions
New Discussion

Re: Upgrade Perl Programming Language in HPUX 11.0

 
Binukuttan VM_1
Frequent Advisor

Upgrade Perl Programming Language in HPUX 11.0

Dear all,

Please tell how to upgrade perl from 4.5 version to 5.6.1 in hpux 11.0. I reqd. this for upgrading oracle 8i to 9i.If i install 11i,perl 5.6.1 will get install.Is there any alternate way ?

Also tell me whether JDK(java development kit) is available for hpux 11.0
11 REPLIES 11
Ravi_8
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi,
Remove the perl 4.5 from the machine (swremove) and mount the 11i application CD which has perl 5.6 and install.

yes JDK is available for 11.0
never give up
Binukuttan VM_1
Frequent Advisor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi,

Thanks for imediate response.Please tell me which application cd,out of 4 ?? I tried using 4 cds..it was not listing any where ??Whether it will show "perl" or it will be part of any other bundle .

JDK is downloadable or present in 11i applicatiopn cd?Pls give me the link...

Thanks in advance

regds
Binu
Ravi_8
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi

Mount the application CD

#swlist -s /cdrom |grep -i perl

check in all 4 CD's
never give up
Ravi_8
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Fred Ruffet
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

I'm not sure you should remove 4.5 version. If this is the one located under /usr/contrib/bin, it is needed for OS scripts.

Just install new perl, and it will be OK.

One more point, quoting Procura : "Perl 5.6.1 is rather old". You can download and install 5.8 from his website.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Ranjith_5
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi Binu,

From my last week experience:-
After installing perl you will need to set the PATH for the newly installed version.

Find out the perl executables using
#which perl . After that use
#perl -v to see the version of perl installation. You need to run perl -v with its proper path. If the which command shows you multiple results then try all the versions to find out the new version. Then add this path to /etc/.profile or /etc/PATH.

make sure that you are adding the new path just after "PATH=" .

Normally the path for perl would be /opt/perl/bin

The latest version of Perl is 5.8.2.

Download it from https://payment.ecommerce.hp.com/portal/swdepot/try.do?productNumber=PERL


Download latest java for hp-ux from

http://www.hp.com/products1/unix/java/?jumpid=go/java

Hope this helps.

Regards,
Syam
Binukuttan VM_1
Frequent Advisor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi,

As ravi told i searched in all application cds of 11i, it was not found. Tried downloading perl, but i was not able to install since c-compiler was not installed in the server.

Installation procedure of downloaded perl:

./configure -de
./make
./make install ------> this step gives error says to install c- compiler ,which is a priced product.


pls advice

Ranjith_5
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi Binu,

HP aC++ is a priced product. Available in the cd part # 5012-0009 1 of 4 of december 2001. But you need code word for the same to get it installed.

regards,
Syam
Ranjith_5
Honored Contributor

Re: Upgrade Perl Programming Language in HPUX 11.0

Binukkutta,

How are you..

Pre-compiled version of Perl 5.8.2 can be downloaded from the link which is mentioned in the last post.You can download it as a depot and any manual compiling is required as you had mentioned. I could install it without any compiling last week too.

Installation
=================
The 32 and 64 bit Perl are installed in /opt/perl and /opt/perl_64 directories respectively. The 64 bit Perl for PA-RISC is available only starting from 5.8.2.

If you are installing Perl 5.8.2 and you need to use the SSL functionality you may have to download and install OpenSSL if it is not already on your system.

Download OpenSSL from

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=OPENSSL11I


Installation Steps for Perl
============================

Login as root.

After you have downloaded the Perl depot file, move it to the /tmp directory.

Verify that the file has down-loaded correctly using swlist.

Note: swlist and swinstall require you to specify the full path name to the source depot.

#swlist -d @ /tmp/

On a stand-alone system, run swinstall to install the product:

#swinstall -s /tmp/ perl

Release notes of perl is located at /opt/perl/html/RELEASE.html.


Regards,
Syam
Binukuttan VM_1
Frequent Advisor

Re: Upgrade Perl Programming Language in HPUX 11.0

Hi syam,

pls tell me whether perl 5.6 or above is supported in R380 server ??Becase i could list #swlist -s /cdrom|grep perl from application 4 cd of 11i,but when i goes to swinstall menu, it is not shown there,ie server is not allowing to install 5.6 version ??

Pls advice me how to complete this installation.

Binukuttan VM_1
Frequent Advisor

Re: Upgrade Perl Programming Language in HPUX 11.0

I got perl from application 4 cd but server is not compatible