Operating System - HP-UX
1833091 Members
3125 Online
110050 Solutions
New Discussion

Re: Installing Bash on HP-UX 11.00

 
Mikikiki
Frequent Advisor

Installing Bash on HP-UX 11.00

Hallo All,
I am trying to install bash shell on my hp-ux 11.00.
I have this version of a bash: bash-2.05b.
I followed the install manual and when I needed to compile the bash with "make" command I received the following errors:
cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"hppa2.0w"' -DCONF_OSTYPE='"hpux11.00"' -DCONF_MACHTYPE='"hppa2.0w-hp-hpux11.00"' -DCONF_VENDOR='"hp"' -DSHELL -DHAVE_CONFIG_H -DHPUX -I. -I. -I./include -I./lib -g -c syntax.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "syntax.h", line 67: warning 5: "const" will become a keyword.
(Bundled) cc: "syntax.h", line 67: error 1000: Unexpected symbol: "int".
(Bundled) cc: "syntax.c", line 10: warning 5: "const" will become a keyword.
(Bundled) cc: "syntax.c", line 10: error 1000: Unexpected symbol: "int".
*** Error exit code 1

Stop.
Do you have any idea what the problem could be? Do I need some libraries and if so which?
Thank you in advance.
Br,
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Installing Bash on HP-UX 11.00

I would guess you're using the built-in compiler, which is really only useful for kernel builds. You need to use the ANSI C compiler or the GNU C compiler. Or you could download a prebuilt version:

http://hpux.connect.org.uk/hppd/hpux/Shells/bash-4.0.024/


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Installing Bash on HP-UX 11.00

Oops, for 11.00, I don't think you'll find a pre-built version!


Pete

Pete
Sunny123_1
Esteemed Contributor

Re: Installing Bash on HP-UX 11.00

Hi

Look out following depot

http://hpux.ee.ualberta.ca/hppd/hpux/Shells/bash-3.2/

Get it and installed it.

Regards
Sunny
Sunny123_1
Esteemed Contributor

Re: Installing Bash on HP-UX 11.00

Hi

download the depot from the following for bash

http://hpux.connect.org.uk/hppd/hpux/Shells/bash-4.0.024/


Regards
Sunny
Mikikiki
Frequent Advisor

Re: Installing Bash on HP-UX 11.00

Hi Sunny,
Thank you for your quick reply.
First link you sent me does not work.
About the second link, do you think that bash-4.0 will work with hp-ux 11.00.
My OS is very old so I am afraid that it would not work with this version of bash. But if you have think that it should work then I can try to install it.
Br,
Pete Randall
Outstanding Contributor

Re: Installing Bash on HP-UX 11.00

No, the depot will not install on 11.0, like I realized in my second post! Sunny needs to read.

;^)


Pete

Pete
Sunny123_1
Esteemed Contributor

Re: Installing Bash on HP-UX 11.00

Hi Mikiki

I have the HP 11.11 OS version and i installed that depot in my server 1 month ag o and it is working fine as of now.


Regards
Sunny
Steven E. Protter
Exalted Contributor

Re: Installing Bash on HP-UX 11.00

Shalom,

The depot for 11.11 will not install in 11.00.

You can from the above links download the source and compile it.

Use the gcc compiler.

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/

Download and install all dependencies and dependencies of dependencies.

Also note: DO NOT change the root shell to bash

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com