1827997 Members
2982 Online
109973 Solutions
New Discussion

Re: Installing bash

 
SOLVED
Go to solution
SOS_2
Occasional Advisor

Installing bash

Hi,

I have gone through various threads on ITRC but havent reached anywhere. Either the links no more exist or dont open. Please help with the bash software as well as steps to install.

I downloaded bash-4.0-rc1.tar. Untarred it and ran ./configure. Then, ran make and some messages about an unexpected '-' in siglist were being popped up. When I run make again I get following:

# make

***********************************************************
* *
* GNU bash, version 4.0.0(3)-rc1 (ia64-hp-hpux11.23)
* *
***********************************************************

if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi

14 REPLIES 14
Jupinder Bedi
Respected Contributor

Re: Installing bash

Which version of hpux you are using ?
All things excellent are as difficult as they are rare
Horia Chirculescu
Honored Contributor
Solution

Re: Installing bash

Get the binary depot from:

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

Best regards,
Horia
Best regards from Romania,
Horia.
SOS_2
Occasional Advisor

Re: Installing bash

Jupinder,

I m using B.11.23 U ia64

That depot has been gunzipped, now a simple

# swinstall bash-4.0.033-ia64-11.23.depot

must install it. Hope I am correct and no reboot is required?
Kapil Jha
Honored Contributor

Re: Installing bash

Yup no reboot,
anyways it would ask for reboot if you do it via SAM so no worries.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Horia Chirculescu
Honored Contributor

Re: Installing bash

There is no need for reboot.

Horia.
Best regards from Romania,
Horia.
Jupinder Bedi
Respected Contributor

Re: Installing bash

yes no reboot is required but if you still want to check at yore bundle requires reboot or not than use the following command

#swlist -l fileset -a is_reboot -s depot_name

All things excellent are as difficult as they are rare
SOS_2
Occasional Advisor

Re: Installing bash

Its done !..All..Thanks much
SOS_2
Occasional Advisor

Re: Installing bash

Well, when trying to do the same thing in a different box, I get following message:

You do not have permission for this operation. The depot owner, system ministrator, or alternate root owner may need to use the "swreg" or
"swacl" command to give you permission. Or, to manage applications
designed and packaged for nonprivileged mode, see the
"run_as_superuser" option in the "sd" man page.

I am running this as root. So the error seems strange. Couldnt find similar error anywhere on net. Help !
Horia Chirculescu
Honored Contributor

Re: Installing bash

Please go through the following thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264757332606+28353475&threadId=17991

Horia.
Best regards from Romania,
Horia.
Johnson Punniyalingam
Honored Contributor

Re: Installing bash

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start

or

#/usr/sbin/swagentd -r
Problems are common to all, but attitude makes the difference
SOS_2
Occasional Advisor

Re: Installing bash

Restarting swagent helped in installing bash!

Thanks. Although the solution is strange

Now another:
$ bash
/usr/lib/hpux32/dld.so: Unable to find library 'libtermcap.so'.
Killed


I found many answers to the same problem the links dont open. They say that I need to take care of some run-time dependencies.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264760246426+28353475&threadId=1117812

Someone throw light please
Horia Chirculescu
Honored Contributor

Re: Installing bash

You have all "light" that you need in that post you are quoting. Any program have some dependencies. In order to run that program, all those dependencies must be solved.


"Patrick Wallek Expert in this area This member has accumulated 40000 or more points
Apr 13, 2007 07:59:47 GMT 9 pts
OK guys, so what is the ARIES emulator for then? ARIES on Itanium machines is designed to ALLOW you to run HP-UX PA-RISC programs in HP-UX Itanium machines.

The biggest problem here is that LIBTERMCAP is not installed. You need to find it and install it.

If you go to the bash download page here:
http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/

You will see a list of "Run time dependencies"
Run-time dependencies: gettext libiconv termcap

These must all be installed in order for BASH to work."

Horia.
Best regards from Romania,
Horia.
SOS_2
Occasional Advisor

Re: Installing bash

:-)

Horia..I completely understand what Patrick said but as i stated above, the link doesnt open. So just thought if I could get a link which opens. Thank you for continously helping me.
Horia Chirculescu
Honored Contributor

Re: Installing bash

It does not help because that page only keeps track of the latest version which will be:

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


(You could check the top parent directory:
http://hpux.connect.org.uk/hppd/hpux/Shells
)

So get the missing dependencies from there...

Horia.
Best regards from Romania,
Horia.