Operating System - HP-UX
1830899 Members
3055 Online
110017 Solutions
New Discussion

swinstall of emacs & bash yields "can't execute"

 
Ken Miller_1
New Member

swinstall of emacs & bash yields "can't execute"

Hi,

I downloaded emacs & bash depot files from
HP site and ran swinstall per the instructions.
I got no errors and /usr/local/bin is populated with emacs and bash; however, I can't run any of the files. I get "can't execute" messages. I'm running HPUX 11i as root and the ls -l of the files are:

# cd /usr/local/bin
# ./bash
ksh: ./bash: cannot execute
# ./emacs
ksh: ./emacs: cannot execute
# ./emacsclient
ksh: ./emacsclient: cannot execute
# ls -l bash emacs*
-rwxr-xr-x 1 bin bin 4235780 May 22 2001 bash
-rwxr-xr-t 2 bin bin 5769836 May 22 2001 emacs
-rwxr-xr-t 2 bin bin 5769836 May 22 2001 emacs-20.7
-rwxr-xr-x 1 bin bin 47576 May 22 2001 emacsclient
#
and the also the file command shows:

# file bash
bash: ELF-32 executable object file
# file emacs
emacs: ELF-32 executable object file
#
Lastly, the files I downloaded are:
-rw-rw-r-- 1 root sys 1413120 Feb 11 08:03 bash-2.04-11.20.depot
-rw-rw-r-- 1 root sys 19148800 Feb 11 08:01 emacs-20.7-11.20.depo
t

Any help would be most appreciated. I'm new to HPUX but not UNIX.

Regards,
== ken miller ==
8 REPLIES 8
Craig Rants
Honored Contributor

Re: swinstall of emacs & bash yields "can't execute"

I think you will have to compile rather than use the 11.00 depots on an 11i box.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
A. Clay Stephenson
Acclaimed Contributor

Re: swinstall of emacs & bash yields "can't execute"

Ki Ken:

It appears that you downloaded the wrong executables. The file command should display PA-RISC unless this is an Itanium box.
If it ain't broke, I can fix that.
Ken Miller_1
New Member

Re: swinstall of emacs & bash yields "can't execute"

Thanks!

== k ==
Sanjay_6
Honored Contributor

Re: swinstall of emacs & bash yields "can't execute"

Hi Ken,

Is it possible you downloaded the wrong version of the software.

Hope this helps.

Regds
melvyn burnard
Honored Contributor

Re: swinstall of emacs & bash yields "can't execute"

You do not say which model 9000 you are trying to run this on, but your symptoms are typical of having loaded or installed an executable compiled on a PARISC2.0 or greater syetem onto a PARISC1.x system. You may want to confirm what model system you are using, or go look at the site you obtained the softwar efrom and either get a compiled version to suit your box, or get the source and compile it yourself.

HTH
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ken Miller_1
New Member

Re: swinstall of emacs & bash yields "can't execute"

Yes, I didn't realize HP UX 11i V1.5 meant Itanium. I just needed 11i . I've installed the correct ones and they work fine now, thanks!

== k ==
melvyn burnard
Honored Contributor

Re: swinstall of emacs & bash yields "can't execute"

silly me, just read the last few lines of your post and there is the clue, the fact that the depots say 11.20
This is for Itanium system and not for normal PARISC boxes.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Craig Rants
Honored Contributor

Re: swinstall of emacs & bash yields "can't execute"

Ah yes, I overlooked that as well, 11i should be in the 11.11 format.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut