bash shell

Started by drshmooz2001, June 14, 2008, 03:24:50 am

Previous topic - Next topic

drshmooz2001

How can I install bash shell on NeXTStep 3.3

neozeed

Sure thing, I run bash 2 on my cube & intel install (on qemu)...

It works great!
# include <wittycomment.h>

kb7sqi

check out my packages. bash-2.05b is comiled/packaged already.  It's installed into /usr/local/bin.  So after installing the package you just have to add /usr/local/bin/bash to /etc/shells so the system recognizes it.  If you don't know, there's over 75 packages now on my site for NEXTSTEP/OPENSTEP. :-)  http://kb7sqi.dyndns.org/files/packages/  Hope that helps.  Take care.

kb7sqi

Just FYI, this thread http://www.nextcomputers.org/forums/viewtopic.php?t=1099 has a running log of packages I've compiled for NEXTSTEP/OPENSTEP.  About the only thing it don't mention is postfix-2.0.20 which is compiled quad fat, but not packaged up.  It's on the site also.  Feel free to ask any questions.  Take care.

drshmooz2001

Note sure how to install, do I use edit or terminal?

neozeed

packages are installed with installer.app in nextadmin... although you should be able to just double click and go..
# include <wittycomment.h>

drshmooz2001

/usr/local/bin/bash to /etc/shells  How is this done...with a just click approach I get error messages after install, not all packages have permission, where do I need to SAVE this file and what needs to be done after install...This is very important to me as alot of my software to be installed is dependent on a bash shell. :idea:

neozeed

Quote from: "drshmooz2001"/usr/local/bin/bash to /etc/shells  How is this done...with a just click approach I get error messages after install, not all packages have permission, where do I need to SAVE this file and what needs to be done after install...This is very important to me as alot of my software to be installed is dependent on a bash shell. :idea:


Oh you need to run it as root....

if you don't have passwords you can su from the cli & run the installer manually...

login: neozeed
Password:
Last login: Sat Jun  7 09:44:07 from 2.0.2.6
You have mail.
albinonext> su
Password:
albinonext:1# cd /NextAdmin/Installer.app
albinonext:2# ./Installer


Then just open the package and it'll install.  I'm hoping you have the update 3 (for y2k?) installed??
# include <wittycomment.h>

drshmooz2001

This still doesn't do it, if the code you gave me are exact lines to be entered at terminal with nothing like bash.pkg then no I do not have y2k patch, is this the reason....... :!:

neozeed

Quote from: "drshmooz2001"This still doesn't do it, if the code you gave me are exact lines to be entered at terminal with nothing like bash.pkg then no I do not have y2k patch, is this the reason....... :!:


Once you've run the installer, you have to click on it, and then open the bash package.. it's not a CLI install..  

As far as the update 3, you'll most certainly want it.

Do you have the developer tools?

If so it may just be easier to build the stuff yourself...

Then again I'm assuming you have a working network...
# include <wittycomment.h>

neozeed

Information on Nextstep 3.3 update 3 is here:

http://docs.info.apple.com/article.html?artnum=70124

the CISC (x86,m68k / white/black) patch is here:
http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/nextstep/patches/3.3/3.3_Patch_3/NS33CISCUserPatch3.tar

And the RISC (hppa,sparc) patch is here:
http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/nextstep/patches/3.3/3.3_Patch_3/NS33RISCUserPatch3.tar

Finally patch #2 for the developer tools is here:
http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/nextstep/patches/3.3/3.3_Patch_2/NS33DeveloperPatch2.tar

To veryif the patch is installed you shold see something like this:

NeXT Mach (albinonext) (ttyp1)

login: root
Password:
Last login: Sun Jun 15 17:21:25 from 2.0.2.128
albinonext:1# hostinfo
Mach kernel version:
        NeXT Mach 3.3: Tue Jul 13 09:36:06 PDT 1999; root(rcbuilder):mk-171.14.
obj~22/RC_i386/RELEASE_I386

Kernel configured for a single processor only.
1 processor is physically available.
Processor type: I386 (Intel 486)
Processor active: 0
Primary memory available: 191.00 megabytes.
Default processor set: 55 tasks, 96 threads, 1 processors
Load average: 3.00, Mach factor: 0.24
albinonext:2#


And with patch #2 for the developer tools:

albinonext:2# cc -v
Reading specs from /lib/i386/specs
NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8
# include <wittycomment.h>

neozeed

And for the heck of it, here is a black m68k box:

NeXT Mach (nextbox) (ttyp0)

login: root
Password:
Last login: Sun Jun 15 11:08:06 from 192.168.1.250
nextbox:1# hostinfo
Mach kernel version:
        NeXT Mach 3.3: Tue Jul 13 10:33:44 PDT 1999; root(rcbuilder):mk-171.14.
obj~22/RC_m68k/RELEASE_M68K

Kernel configured for a single processor only.
1 processor is physically available.
Processor type: MC680x0 (68040)
Processor speed: 25 MHz
Processor active: 0
System type: 2
Board revision: 0x0
Primary memory available: 40.00 megabytes.
Default processor set: 47 tasks, 75 threads, 1 processors
Load average: 0.29, Mach factor: 0.80


And the developer tools:

nextbox:2# cc -v
Reading specs from /lib/m68k/specs
NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8
nextbox:3#


So you get the idea... I gues I can install a "virgin" 3.3 on qemu and get those #'s but what I'm thinking is that it's probably easier for you to just set a password and go forward..

You can do it from the calender icon on the dock, then click on the 'lock' icon and you can set a password for 'me', then logoff, then login as root.. your packages and stuff will "just install"...
# include <wittycomment.h>