[comp.unix.aix] pcsim install difficulties

hhd0@GTE.COM (Horace Dediu) (12/04/90)

I've been trying to install pcsim on our Model 320 and I failed every time.
The installation instructions say to use smit to install the two
distribution diskettes (everything went well), then to run the following 
command with a DOS disk in the floppy drive (I have DOS 3.3).
	pcsim -A 3 -C [filename]
(where filename is the name of the file where DOS is to be loaded (i.e. the
C drive)).
This failed.
I did a man page on pcsim and it showed that the -A and -C  options are not 
defined, and that I should use something like
	pcsim -Adiskette 3 -Cdrive [filename]
I tried both with no success, getting the following every time:
ERROR: NLS message catalog missing.
ERROR: NLS message catalog missing. -A

ERROR: NLS message catalog missing.
	Trying just pcsim without any options results in booting with BASIC.
The /usr/lpp/pcsim directory seems OK:
-rwxr-xr-x   1 bin      bin          315 Nov 30 16:43 copyright*
drwxr-xr-x   2 bin      bin          512 Nov 30 16:44 lib/
-rw-r--r--   1 bin      bin         8782 May 29 1990  lpp.README
-rwxr-xr-x   1 bin      bin         2120 Nov 30 16:43 lpp.X11*
-rw-r--r--   1 bin      bin        66048 Nov 30 16:44 lpp.bios
-rwxr-xr-x   1 bin      bin          852 Nov 30 16:43 lpp.cleanup*
-rwxr-xr-x   1 bin      bin       668810 Nov 30 16:45 lpp.simulator*
drwxr-xr-x   2 bin      bin          512 Nov 30 16:44 samples/
drwxr-xr-x   2 bin      bin          512 Nov 30 16:44 tty/
The /usr/lpp/pcsimmEn_US directory looks like:
-rw-r-----   1 root     system       270 Nov 30 16:42 copyright
-rwxr-x--x   1 root     system      1148 Nov 30 16:42 lpp.cleanup*
It seems to me that something is wrong here.  I followed the install
procedure correctly for this disk, or did I?  Anyone have any clues?

Thanks in advance.

-- 
Horace Dediu \"That's the nature of research--you don't know |GTE Laboratories
(617) 466-4111\  what in hell you're doing." `Doc' Edgerton  |40 Sylvan Road
UUCP:  ...!harvard!bunny!hhd0................................|Waltham, MA 02254
Internet: hhd0@gte.com or hhd0%gte.com@relay.cs.net..........|U. S. A.

peter@cassandra.uucp (Peter Blemel) (12/04/90)

In article <10148@bunny.GTE.COM> hhd0@GTE.COM (Horace Dediu) writes:
>I've been trying to install pcsim on our Model 320 and I failed every time.
>The installation instructions say to use smit to install the two
>distribution diskettes (everything went well), then to run the following 
>command with a DOS disk in the floppy drive (I have DOS 3.3).
>	pcsim -A 3 -C [filename]
>(where filename is the name of the file where DOS is to be loaded (i.e. the
>C drive)).
>This failed.
>I did a man page on pcsim and it showed that the -A and -C  options are not 
>defined, and that I should use something like
>	pcsim -Adiskette 3 -Cdrive [filename]
>I tried both with no success, getting the following every time:
>ERROR: NLS message catalog missing.
>ERROR: NLS message catalog missing. -A
>
>ERROR: NLS message catalog missing.
>	Trying just pcsim without any options results in booting with BASIC.
>The /usr/lpp/pcsim directory seems OK:

I have this problem too, sort of. I have a 520 that IBM shipped to me to 
do development on. I installed the PCSIM that they sent me (~4 months ago)
and it works. (It spew's tick marks uncontrollably when I enter the editor,
but that's not the point here).

I purchased a 530 that arrived about a week ago with the pre-install option.
After installing this version I get the same message that you do. So, I am
inclined to believe that this revision is broken. I will probably go grab
the lpp from the old version and install it, but I have finals to tend to
before I tinker any more.

The only difference between the two machines in terms of installed software
is a) the versions, and b) the 530 doesn't have info explorer installed. I
realize that this isn't much, but I hope that it helps.

Peter
-----
bbx!yenta!cassandra!peter@unmvax.cs.unm.edu

lindner@cs.umn.edu (Paul Lindner) (12/04/90)

In <10148@bunny.GTE.COM> hhd0@GTE.COM (Horace Dediu) writes:

>	pcsim -Adiskette 3 -Cdrive [filename]
>I tried both with no success, getting the following every time:
>ERROR: NLS message catalog missing.
>ERROR: NLS message catalog missing. -A

>ERROR: NLS message catalog missing.

Aha, sounds like another case of the Stupid LANG variable.
I had this problem when my LANG variable was set to "C".  Change it
En_US and it should work.  It seems that IBM left out the pcsim
messages from the C language database.  I'm not sure whether or not
pcsim works with other languages either.

-- 
Paul Lindner, Univ. of MN   \ Microcomputer /  Pauls Law: You can't
IT Sun dude, & UofM ACM pres \ Workstation / fall off the floor.
lindner@boombox.micro.umn.edu \ Networks  / {...!rutgers!umn-cs!lindner}
     |   |  |  |  | | | | |||||\ Center  /||||| | | | |  |  |  |   |

jerry@heyman.austin.ibm.com (Jerry Heyman) (12/07/90)

In article <1990Dec03.221107.10680@cassandra.uucp> cassandra!peter@yenta.alb.nm.us (Peter Blemel) writes:
>In article <10148@bunny.GTE.COM> hhd0@GTE.COM (Horace Dediu) writes:
>>	pcsim -Adiskette 3 -Cdrive [filename]
>>I tried both with no success, getting the following every time:
>>ERROR: NLS message catalog missing.
>>ERROR: NLS message catalog missing. -A
>>
>>ERROR: NLS message catalog missing.
>>	Trying just pcsim without any options results in booting with BASIC.
>
[... more problems running the pcsim lpp described ...]

When the pcsim lpp was originally shipped, there was a missing link statement
in the installation process.  This link added soft-links from the
/usr/lpp/msg/En_US directory to the /usr/lpp/msg/C default language directory.
This has been corrected for the the latest installation diskettes of pcsim
(not sure when they'll become available).

The solution for now is setting your LANG environment variable to LANG=En_US
which will get you all the necessary pcsim messages and will allow you to 
actually use the simulator.  The drawback is that you will now get multi-lined
error messages from normal system commands rather than the one's that Unix
folks are used to seeing.  The other solution would be to create the necessary
links fromt the /usr/lpp/msg/C directory to the /usr/lpp/msg/En_US directory
where the messages really reside.

jerry

-- 
Jerry Heyman                     IBM T-R: jerry@heyman.austin.ibm.com
AWD Tools Development            VNET   : HEYMAN at AUSVMQ
AWD Austin                       T/L    : 793-3962
*** All opinions expressed are exactly that - my opinions and NOT IBM's