- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perl 5.6.1 not installed - why?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 07:49 AM
тАО09-11-2002 07:49 AM
I have installed perl version 5.6.1 via swinstall, there was no problems and i thought it was installed correctly, however when i perform a perl v - get the perl version 4.0 appearing.
Any ideas why this may be happening??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 07:57 AM
тАО09-11-2002 07:57 AM
Re: perl 5.6.1 not installed - why?
Do you have your path set correctly? It sounds like you are picking up the old Perl that comes in /usr/contrib/bin/perl. When I installed Perl 5.6.1 from the depot package, it put it into /opt/perl5/bin. I made a symlink for /usr/bin/perl to point to /opt/perl5/bin/perl.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:08 AM
тАО09-11-2002 08:08 AM
Re: perl 5.6.1 not installed - why?
Tried the following but still no joy -
$ symlink() /usr/bin/perl /application/opt/perl/binperl5.6.1
$ perl -v
This is perl, version 4.0
$RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $
Patch level: 36
Copyright (c) 1989, 1990, 1991, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 4.0 source kit.
$ exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:12 AM
тАО09-11-2002 08:12 AM
Re: perl 5.6.1 not installed - why?
Use this command
ln -s /usr/bin/perl /application/opt/perl/binperl5.6.1
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:13 AM
тАО09-11-2002 08:13 AM
Re: perl 5.6.1 not installed - why?
You can also type "whence perl" under ksh and it will tell you which binary it will run.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:20 AM
тАО09-11-2002 08:20 AM
Re: perl 5.6.1 not installed - why?
Still no joy. Here is what i am doing - any other ideas?
# echo $PATH
/usr/local/bin/gcc:/opt/binutils/bin:/opt/byacc/bin:/var/adm/sw/products/gcc:/us
r/local/bin:/var/adm/sw/products/byacc/pfiles:/usr/sbin:/usr/bin:/usr/ccs/bin:/u
sr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt
/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/usr/sbin/diag/contrib
:/opt/hparray/bin:/opt/ignite/bin:/sbin:/home/root
As you can see from above /usr/contrib/bin is there..
# ln -s /usr/bin/perl /application/opt/perl/bin/perl5.6.1
ln: /application/opt/perl/bin/perl5.6.1 exists
# perl -v
This is perl, version 4.0
$RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $
Patch level: 36
Copyright (c) 1989, 1990, 1991, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 4.0 source kit.
Still no luck?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:21 AM
тАО09-11-2002 08:21 AM
Re: perl 5.6.1 not installed - why?
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:24 AM
тАО09-11-2002 08:24 AM
Re: perl 5.6.1 not installed - why?
/usr/contrib/bin/perl
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:25 AM
тАО09-11-2002 08:25 AM
SolutionMan, I'm a real idiot today - must have a dyslexic brain-thing going.
Had that backwards - NEEDS to be
ln -s /application/opt/perl/binperl5.6.1 /usr/bin/perl
Sorry,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 08:28 AM
тАО09-11-2002 08:28 AM
Re: perl 5.6.1 not installed - why?
ln -s /application/opt/perl/bin/perl5.6.1 /usr/bin/perl
Will make /usr/bin/perl run perl5.6.1
But verify you haven't wiped out perl5.6.1, enter-
/application/opt/perl/bin/perl5.6.1 -v
and see what version. You may have overwritten it and put a symbolic link in its place. In which case you might have to swinstall again.
HTH
-- Rod Hills