[comp.soft-sys.andrew] Andrew crashing machine - Sun4/4.1

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (02/14/91)

We've had reports of similar problems here from people running SunOS
4.1, although things work fine on 4.0.3.  A question:  We've compiled
our binaries on 4.0.3 and are running the same binaries on both places,
which is supposed to work but might be the problem.  Are you doing the
same thing, or did you actually compile on 4.1?  It might be that
compiling on 4.1 will fix the problem.  Of course, that means two binary
trees would be necessary as long as you had some machines running
each....

brossard@sic.epfl.ch (Alain Brossard EPFL-SIC/SII) (02/15/91)

In article <wbidnfu0M2Yt8FLVkk@thumper.bellcore.com>, nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) writes:
> We've had reports of similar problems here from people running SunOS
> 4.1, although things work fine on 4.0.3.  A question:  We've compiled
> our binaries on 4.0.3 and are running the same binaries on both places,
> which is supposed to work but might be the problem.

   I have been trying to compile (patch level 9) under 4.1, and I haven't succeeded yet.
First I got the following problem:

        When doing a make World under a sun4, OS: 4.1, I got
the following error:
cc -c -I.  -O4 -I/sic/install_andrew/sun4-4.1/include/atk -I/sic/install_andrew/
sun4-4.1/include -I/sic/X11/include/X11   getcpw.c
"getcpw.c", line 95: pw_quota undefined
*** Error code 1
make: Fatal error: Command failed for target `getcpw.o'
Current working directory /net/sasun1/sic/install_X11/X.V11R4/sun4-4.1/contrib/t
oolkits/andrew/overhead/util/lib

        The solution was to comment out the offending line
(pw_quota doesn't exist on 4.1 machine):
#if (! defined(SYSV) && ! defined(AIX) && ! defined(sys_sun4_41))
    RetP.pw_quota = 0;                  /* pw_quota */
#endif /* ! SYSV && ! AIX */

   And now I'm stuck with:

building (dependInstall) (/net/sasun1/sic/install_X11/X.V11R4/sun4-4.1/contrib/toolkits/andrew/atk/layout)
../.././config/depend.csh /sic/X11/bin/makedepend /sic/install_andrew/sun4-4.1 /sic/install_andrew/sun4-4.1 \
/sic/X11/include/X11 "cc" /sic/install_andrew/sun4-4.1/bin/class "-I.   \
-I/sic/install_andrew/sun4-4.1/include/atk -I/sic/install_andrew/sun4-4.1/include -I/sic/X11/include/X11"

Andrew class preprocessor exiting abnormally!
  processing file: filler.ch
  message: can not open the file cel.ch
  exit code = 3.


Andrew class preprocessor exiting abnormally!
  processing file: fillerv.ch
  message: can not open the file celv.ch
  exit code = 3.

(....)

/sic/install_andrew/sun4-4.1/bin/class -s -I.  -I.   -I/sic/install_andrew/sun4-4.1/include/atk -I/sic/install_andrew/sun4-4.1/include -I/sic/X11/include/X11 filler.ch

Andrew class preprocessor exiting abnormally!
  processing file: filler.ch
  message: can not open the file cel.ch
  exit code = 3.

*** Error code 3
make: Fatal error: Command failed for target `filler.ih'
Current working directory /net/sasun1/sic/install_X11/X.V11R4/sun4-4.1/contrib/toolkits/andrew/atk/layout
/sic/X11/bin/makedepend:  filler.c: /sic/X11/bin/makedepend:  cannot find include file "filler.eh"
/sic/X11/bin/makedepend:        not in filler.eh
/sic/X11/bin/makedepend:        not in ./filler.eh
/sic/X11/bin/makedepend:        not in /sic/install_andrew/sun4-4.1/include/atk/filler.eh
/sic/X11/bin/makedepend:        not in /sic/install_andrew/sun4-4.1/include/filler.eh
/sic/X11/bin/makedepend:        not in /sic/X11/include/X11/filler.eh
/sic/X11/bin/makedepend:        not in /usr/include/filler.eh
/sic/X11/bin/makedepend:  cannot open "filler.eh"
/sic/X11/bin/makedepend:  fillerv.c: /sic/X11/bin/makedepend:  cannot find include file "filler.ih"
(...)
/sic/X11/bin/makedepend:  fillerv.c: /sic/X11/bin/makedepend:  cannot find include file "fillerv.eh"
(...)
/sic/install_andrew/sun4-4.1/bin/class -s -I.  -I/sic/install_andrew/sun4-4.1/include/atk -I/sic/install_andrew/sun4-4.1/include -I/sic/X11/include/X11 fillerv.ch

Andrew class preprocessor exiting abnormally!
  processing file: fillerv.ch
  message: can not open the file celv.ch
  exit code = 3.

*** Error code 3
make: Fatal error: Command failed for target `fillerv.ih'
Current working directory /net/sasun1/sic/install_X11/X.V11R4/sun4-4.1/contrib/toolkits/andrew/atk/layout
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'
Current working directory /net/sasun1/sic/install_X11/X.V11R4/sun4-4.1/contrib/toolkits/andrew/atk/layout


    Any help would be appreciated, I also had problems at the very
start.  I had to do a make install.time manually before the make World
because it expects to have files in /sic/andrew/include which aren't put
there until the end.  I believe the problem is with the following line
in the generated Makefile:
install:: all install.time doc
    the install.time should probably be before the all.

-- 

Alain Brossard, Ecole Polytechnique Federale de Lausanne,
	SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse
brossard@sasun1.epfl.ch

wollman@KIRA.UVM.EDU (Garrett Wollman) (02/15/91)

Excerpts from andrew.info: 14-Feb-91 Re: Andrew crashing machine..
Nathaniel Borenstein@thu (497)

> We've had reports of similar problems here from people running SunOS
> 4.1, although things work fine on 4.0.3.  A question:  We've compiled
> our binaries on 4.0.3 and are running the same binaries on both places,
> which is supposed to work but might be the problem.  Are you doing the
> same thing, or did you actually compile on 4.1?  It might be that
> compiling on 4.1 will fix the problem.  Of course, that means two binary
> trees would be necessary as long as you had some machines running
> each....

This is precisely the same setup as we have.  I would love to just
compile everything on 4.1, but we still need the programs running on
4.0, and I can't afford the disk space of two binary trees.  >Sigh<

-GAWollman



Garrett A. Wollman - wollman@sadye.uvm.edu

Disclaimer:  I'm not even sure this represents *my* opinion, never
mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's.