[comp.unix.ultrix] ATT C++ Release 2.1 under Ultrix 4.0

DEEJ@MAINE.BITNET (Dj Merrill) (02/08/91)

I am trying to install the AT&T C++ compiler Release 2.1 on a
DECstation 3100 running Ultrix 4.0
The compiler is made in 2 stages, a make scratch stage, which
works fine, and a make munch stage, which gives the following
after executing partway:
 
sh: illegal io
*** Error code 1
Stop.
 
The problem seems to be in the CC script.
Has anyone else run across this problem or have an idea where to go from here?
The manuals claim that it should compile on the VAX line of computers,
now whether that includes DECstations.....
Any help is appreciated..
 
+------------------------------+
|         Dj Merrill           |
| Systems and Network Manager  |
|  University of Maine NCGIA   |
|                              |
| deej@grouse.umesve.maine.edu |
| deej@maine.maine.edu         |
+------------------------------+

D. Allen [CGL]) (02/11/91)

In article <91039.104006DEEJ@MAINE.BITNET> DEEJ@MAINE.BITNET (Dj Merrill) writes:
>The compiler is made in 2 stages, a make scratch stage, which
>works fine, and a make munch stage, which gives the following
>after executing partway:
> 
>sh: illegal io
>*** Error code 1
>Stop.

You can't redirect I/O on certain Ultrix /bin/sh built-in commands, e.g.

   $ set >/tmp/foo
   [...lots of junk...]
   illegal io
   $ read junk </tmp/foo
   [...type one line here, then...]
   illegal io

If you run the script under /bin/sh5, which doesn't have these
problems, it may work.  Change the starting #!/bin/sh to #!/bin/sh5
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada