|
|
/usr/local/bin/perl: cannot execute
Hi,
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
|
|
0
|
|
|
|
Reply
|
hadzramin.ar (2)
|
1/26/2010 4:11:18 PM |
|
Amin AR <hadzramin.ar@gmail.com> wrote:
> # pkgadd -d perl-5.8.8-sol10-sparc-local
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/
|
|
0
|
|
|
|
Reply
|
hume
|
1/26/2010 4:34:50 PM
|
|
It returns:
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=A0am, hume.spamfil...@bofh.ca wrote:
> Amin AR <hadzramin...@gmail.com> wrote:
> > # pkgadd -d perl-5.8.8-sol10-sparc-local
>
> 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. =A0What does
> "uname -a" tell you?
>
> > In /etc/profile, I have set PATH=3D/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 =A0 =A0- hume -> BOFH.Ca,http://WWW.BOFH.Ca/
|
|
0
|
|
|
|
Reply
|
Amin
|
1/26/2010 4:58:11 PM
|
|
On Jan 26, 4:34=A0pm, hume.spamfil...@bofh.ca wrote:
> Amin AR <hadzramin...@gmail.com> wrote:
> > # pkgadd -d perl-5.8.8-sol10-sparc-local
>
> You installed 5.8.8 for SPARC...
I'm surprised pkgadd allows one to do that. I would consider that a
bug.
|
|
0
|
|
|
|
Reply
|
David
|
2/4/2010 2:51:51 PM
|
|
On 2010-02-04 14:51:51 +0000, David Kirkby said:
> On Jan 26, 4:34�pm, hume.spamfil...@bofh.ca wrote:
>> Amin AR <hadzramin...@gmail.com> wrote:
>>> # pkgadd -d perl-5.8.8-sol10-sparc-local
>>
>> You installed 5.8.8 for SPARC...
>
> 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
|
|
0
|
|
|
|
Reply
|
Chris
|
2/4/2010 3:19:44 PM
|
|
|
4 Replies
1002 Views
(page loaded in 0.091 seconds)
|
|
|
|
|
|
|
|
|