Operating System - HP-UX
1835116 Members
4105 Online
110076 Solutions
New Discussion

Re: Perl Installation in Different location

 
Rajeev Andrews
Advisor

Perl Installation in Different location

Hi,

I have the perl 5.8.8 depot file.When I try to install this depot file using swinstall it's getting installed under /opt/perl_32/.

When I change the target directory ,in the Analayze face it's getting failed.

How I can install the depot file in a different location.

Thanks
Rajeev Andrews
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Perl Installation in Different location

Shalom Rajeev,

I've played with this before for the benefit of ITRC.

You can install normally and move after the fact. The binaries will function normally if they are part of the PATH variable.

Can you submit the commands you tried, and I can take a whack at providing you different swinstall command line options. swjob output would be helpful too.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Perl Installation in Different location

swinstall provides two ways to control where the results go. One is alternate root, where you add "@ absolute-path" to the end of your command.

The other is indicated by the ",l=location" option after selection.
Note to use l=, the software must be packaged appropriately. (I believe this has now been changed to the default.)
James R. Ferguson
Acclaimed Contributor

Re: Perl Installation in Different location

Hi Rajeev:

I suggest you leave things the way they are packaged. If you depot comes from HP, a symbolic link from '/usr/bin/perl' will automatically be created for you. Your scripts can then standardize on the '/usr/bin/perl' shebang interpreter line and no one will know the difference.

Regards!

...JRF...