Operating System - HP-UX
1855586 Members
3024 Online
104112 Solutions
New Discussion

Re: Linux to hp-ux porting kit question

 
SOLVED
Go to solution
NOreen Merrick
Frequent Advisor

Linux to hp-ux porting kit question

Hi,

I have just received my "linux to hp-ux 11.0/11.i porting kit version 1.0" in the hope of installing bash on my hp-ux 11.0 machine. I have installed two depots so far bin.depot and src.depot, there is a third depot hp.depot which I will install but must create some more space first.

Anyway my question is how do I make bash work after this? The content of one of the directories in /usr/local is the following

# pwd
/usr/local/src
# ls
autoconf fileutils gtk+ patch tiff
automake flex gv perl tk
bash gawk gzip python unzip
bison gcc imake readline vim
bzip2 gdb jpeg sed xalan
ddd gdbm lclint tar xaw3d
dejagnu gettext less tcl xemacs
diffutils ghostscript libgd tcp_wrappers xerces
emacs glib libpng tcsh xpm
enscript gmake m4 texinfo zip
expect grep ncurses textutils zlib
# cd bash
# ls
bash-2.04.tar.gz
#

Anyway just wondering do I need to gunzip all of these files and install everything or how do these porting kits work? Everything inside /usr/local/src is .gz. I would have thought once you do swinstall everything would work;(

Thanks a mill
Noreen



5 REPLIES 5
Jaime Bolanos Rojas.
Honored Contributor

Re: Linux to hp-ux porting kit question

Noreen,

I do not know about the porting kit, but did you try downloading bash from the porting center to work on HP-UX?

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

Regards,

Jaime.
Work hard when the need comes out.
Torsten.
Acclaimed Contributor

Re: Linux to hp-ux porting kit question

Hi,

if you want to have bash only, take a look at

http://hpux.asknet.de/hppd/hpux/Shells/bash-3.2/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
NOreen Merrick
Frequent Advisor

Re: Linux to hp-ux porting kit question

Hi but this seems to be only for 11i but I have 11.0.

How about dependencies, I have to install too as i have nothing in my machine.

rick jones
Honored Contributor
Solution

Re: Linux to hp-ux porting kit question

Unless you feel the need to recompile, you should only need to install the bin depot. The source depot is there to satisfy the requirements of the GPL.

I would _guess_ that the bin depot would install bash into /usr/local/bin and then to use it you would probably want /usr/local/bin to be in your $PATH. Any bash scripts you have may need to be updated to use /usr/local/bin/bash, or you may need to (sym)link /usr/local/bin/bash to where those scripts expect to find bash.

Keep in mind though that this is coming from a networking guy, not a shell fellow :)
there is no rest for the wicked yet the virtuous have no pillows
NOreen Merrick
Frequent Advisor

Re: Linux to hp-ux porting kit question

Hi Rick,

This was probably really obvious but now my bash is finally working, thank you. I just didn't have /usr/local/bin in my PATH. Its great to finally have it working, was really sick of ksh. I used both the bin and src depot but didn't bother with the hp depot, not sure what thats for. Oh and didn't have to gunzip anything.

Thanks again

Noreen