Operating System - HP-UX
1830868 Members
1748 Online
110017 Solutions
New Discussion

Installtion failed of Perl 5.8.0

 

Installtion failed of Perl 5.8.0

Hi,

i try to install a new version of perl 5.8.0 in my hp-unix system 11.0, the file i have downloaded is : perl-5.8.0-sd-11.00.depot.

With swinstall , i have this message :

/tmp/perl-5.8.0-sd-11.00.depot": You do not have the required
permissions to perform this SD operation. Please check to see that
you have the required permissions using the "swacl" command or see
your system administrator for assistance.

What's the matter?
Thanks for your helps
Regards
5 REPLIES 5
Marco Santerre
Honored Contributor

Re: Installtion failed of Perl 5.8.0

I take it that you are root when you are actually installing this product, so what I would recommend is this, restart your swagentd by issuing the following command :

swagentd -r
Cooperation is doing with a smile what you have to do anyhow.

Re: Installtion failed of Perl 5.8.0


Thanks.

Re: Installtion failed of Perl 5.8.0

Hi,

The installation is ok, but
How to remplace the version 4.0 by the new release 5-8.0 .

# swlist |grep perl gives :
perl 5.8.0 perl

# perl -v gives

This is perl, version 4.0

Thanks
Robert-Jan Goossens
Honored Contributor

Re: Installtion failed of Perl 5.8.0

Hi,

believe default install of perl 5.8.0 is in /usr/local/perl

check if your PATH is set to the new perl install.

Hope this helps,
Robert-Jan
Marco Santerre
Honored Contributor

Re: Installtion failed of Perl 5.8.0

Chances are what is happening is that your PATH is set and finds your other version of Perl prior to finding your Perl 5.8

Issue a whereis command to find your Perl v4.0

whereis perl

and remove it from there (it's probably /usr/contrib/bin), and then include your new path for Perl 5.8 in your PATH (probably /opt/perl/bin or /opt/perl5/bin)

That should fix your problem
Cooperation is doing with a smile what you have to do anyhow.