1834650 Members
2226 Online
110069 Solutions
New Discussion

Re: What to do next

 
daisie
Occasional Contributor

What to do next

I have finished download perl v5.6 and also have done tar them. What do I do next? Is there any documentation on direction for the installation of perl..please help
5 REPLIES 5
pap
Respected Contributor

Re: What to do next

Have you downloaded perl from HP website or from any other site?

If you have downloaded from HP site then you just have to use swinstall to install it.

Thanks,


-pap
"Winners don't do different things , they do things differently"
John Dvorchak
Honored Contributor

Re: What to do next

I am guessing that you are new to HPUX or at least new to using swinstall of a depot file. If you downloaded a file from HP and after using tar to extract it you end up with a file that has the .depot on the end then just use swinstall to install the file:

> swinstall -s /tmp/yournewfile.depot \*

This assumes that you put the file in /tmp. Just remember that swinstall has to know the complete path to the depot file and the "\*" at the end of the command says to load it without starting an interactive session. If you just want to test it without loading it you can use the -p option that says "Preview" the swinstall session:

> swinstall -p -s /tmp/your.depot \*

Good luck
If it has wheels or a skirt, you can't afford it.
John Poff
Honored Contributor

Re: What to do next

Hi,

If you have downloaded the source for Perl 5.6 and you have untarred it, you should have a perl-5.6.0 directory. Go in there and you should find a file named INSTALL which will tell you how to install it. If you are going this route you'll need either the ANSI/C compiler or the gcc compiler.

Of course, if you've downloaded the HP depot of Perl, you just swinstall it as others have mentioned.

JP
Jose Mosquera
Honored Contributor

Re: What to do next

Hi,

Pls follow these steps:

1.- Go to any HP port to download the gnu tar software, i.e:
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.0/
Pls check Dependencies, In this case you need install first "libiconv", this is available on:
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.8/

2.- Select the correct depot version according your operating system version, if you have HP-UX 11.0 you must select:
HP-UX 11.00 PA-RISC Binary Depot (gzipped)


3.- Download the Depots and place them in binary mode in your target HP-UX host, I recommend you in /var/tmp directory.

4.- Unzip the files and, if you want, list them:
#cd /var/tmp
#gzip -d -sd-11.00.depot.gz
#swlist -s /var/tmp/-sd-11.00.depot
# Initializing...
# Contacting target "your_host_name"...
#
# Target: your_host_name:/var/tmp/-sd-11.00.depot
#

#
# No Bundle(s) on mad01h:/var/tmp/-sd-11.00.depot
# Product(s):
#


#

5.- Finally try to install them by swinstall command:
#swinstall -s /var/tmp/-sd-11.00.depot-sd-11.00.depot

Take note about the destination Path for both of them:
libiconv: /usr/local
perl-5.8.0: /usr/local

Maybe you need add manually binary and man path files into /etc/PATH (/usr/local/bin/)and /etc/MANPATH (/usr/local/man/) to work fine.


Rgds.
Jose Mosquera
Honored Contributor

Re: What to do next

Hi again,

You can find additional useful information about Perl-5.8.0 in:
http://www.perl.com/

Rgds.