1847123 Members
5574 Online
110263 Solutions
New Discussion

Re: Bash installation

 
SOLVED
Go to solution
Muda Ikhsan_1
Frequent Advisor

Bash installation

Hi. i'm using HPUX11.0

I have downloade Bash3.0 and i'm intend to install it into my HPUX machine.

Anyone could help me on the steps to install it form the bash-3.00.16-src-11.11.tar.gz file ?

anyone ever try it on HPUX11.00 ? any implication ?

Thank you :)
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: Bash installation

Hi:

Whatever you do, do *not* make 'bash' or any other shell the default shell for root!

To do so may leave you with an unbootable server. Root's shell must always remain '/sbin/sh' --- the statically-linked Posix shell.

Most shells will have dynamically-linked libraries that require '/usr' to be mounted. While conservative in terms of memory, these shells cannot run during the early steps of startup when '/usr' isn't mounted.

Regards!

...JRF...
Rajeev  Shukla
Honored Contributor

Re: Bash installation

I haven't tried installing bash but surely other programes from the source.
gunzip the file in a temporary location and untar the file.
Then run configure and then make and then install
You should have a readme file giving you the options you can provide with the configure...usually --prefix is to be give which means where to install the bash
Arunvijai_4
Honored Contributor
Solution

Re: Bash installation

Hello, No implications at all as long it is no longer your default shell for root. You can download bash depot from,

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

Even though, it is for 11.11, you can install and use it on 11.0. Also make sure, you download all Run-time dependencies: gcc, gettext, libiconv.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Bash installation

There is a file called INSTALL*? You can read to install it. Or else you can try with depot file itself as,

http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-3.00.16/

download based on your platform and install with swinstall command.

-Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Bash installation

Hello,

If you want to compile your own bash, you can read the HPUX.Install from

http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Shells/bash-3.00.16/bash-3.00.16-src-11.11.tar.gz+bash-3.00.16/HPUX.Install+text

It provides what all modifications you need to do in order to compile BASH 3.0 on HP-UX.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muda Ikhsan_1
Frequent Advisor

Re: Bash installation

Hi.. thanks.. one of the dependencies are gcc
butt seem HPUX11.0 ot supported by gcc

This the message that i have , when updating gcc.
root @ SAPQA K370/4 [/temp/ixos_exchange/gcc/gcc-4.0.2/gcc]
# ./configure
loading cache ./config.cache
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
checking build system type... hppa2.0w-hp-hpux11.00
checking for a BSD compatible install... ./install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
configure: error: Building in the source directory is not supported in this release. See http://gc
c.gnu.org/install/configure.html for more details.
Arunvijai_4
Honored Contributor

Re: Bash installation

Hello,

You can download GCC for 11.0 from Procura's page at http://mirrors.develooper.com/hpux/downloads.html
After installing GCC, you can continue with compiling bash. Revert back if you need more help.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Bash installation

Hello,

You can download GCC from 11.0 from procura's page at http://mirrors.develooper.com/hpux/downloads.html

After installing GCC, you can continue with Bash compilation. Revert back if you need any help.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"