I had successfully installed perl package from Sunfreeware -
ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/perl-5.8.8-sol10-sparc-local.gz.
using below:
# pkgadd -d perl-5.8.8-sol10-sparc-local
However, after the installation, executing
#perl -v"
still pointing to old version "v5.8.4 built for i86pc-solaris-64int".
In /etc/profile, I have set PATH=/usr/local/bin:/usr/local/apache2/
bin:/usr/postgres/8.3/bin:/usr/local/pgsql/bin:/usr/sfw/bin:/usr/ccs/
bin:/usr/bin:$PATH
Any tips on how I can point perl to run version 5.8.8 instead of
5.8.4?
Thanks,
Amin
You installed 5.8.8 for SPARC...
> still pointing to old version "v5.8.4 built for i86pc-solaris-64int".
But your old version is 5.8.4 for i86?
SPARC binaries will not function on i86, and vise versa. What does
"uname -a" tell you?
> In /etc/profile, I have set PATH=/usr/local/bin:/usr/local/apache2/
> bin:/usr/postgres/8.3/bin:/usr/local/pgsql/bin:/usr/sfw/bin:/usr/ccs/
> bin:/usr/bin:$PATH
Did you "export PATH" afterward?
What does "which perl" at the shell prompt tell you?
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
SunOS testserver01 5.10 Generic_141415-10 i86pc i386 i86pc
Ah... brilliant! I reinstalled x86 package and it works like charm
Thanks,
Amin
On Jan 27, 12:34 am, hume.spamfil...@bofh.ca wrote:
I'm surprised pkgadd allows one to do that. I would consider that a
bug.
Yes, but maybe ARCH isn't set correctly in the package.
--
Chris