[news.software.b] Need help making C News on Apollo

yountm@gtephx.UUCP (Marvin Yount) (04/18/91)

I'm trying to make C News on the Apollo.  We're primarily a sys5 (usg) site.
I first tried running doit.bin from an Apollo at SR10.2 but this failed
looking for include files stddef.h and sys/stdtypes.h in hdrdefs.c. 
These 2 files are apparently included in Apollo's SR10.3 release or at
least the version of C that comes with 10.3.  On a 10.3 node I restarted
doit.bin from the point it failed on 10.2 and it ran to completion
(successfully, I think).

I didn't like the idea of some programs compiled/linked at 10.2 and
others at 10.3, so I started the whole process over on the 10.3 node. 
This time the compiles failed with a multiple declaration of "daylight"
in getdate.y.  As best as I can tell, it's picking up the declaration of
"daylight" from time.h (it's in an '#ifdef _INCLUDE_XOPEN_SOURCE').  I
have no idea how to turn off the declaration, or what harm I might do by
doing so.

Has anyone successfully built C News on the Apollo (sys5 rather than
bsd)?  If so, how do I get around these problems?  I'm open to using
either SR10.2 or 10.3, which ever works best for C News.

We are currently running bnews and are *really* bogging down (we
continuously have about a 40mb backlog of unbatched news), so we're kind
of desperate to get C News running.  If anyone has any suggestions I
would really appreciate the help.  Since we do have this large news
backlog I'd prefer responses via email.

Thanks.

-- 
======================================================================
Marv Yount            AG Communication Systems, Phoenix  
INTERNET: gtephx!yountm@asuvax.eas.asu.edu
UUCP: {ncar!noao!asuvax | uunet!zardoz!hrc}!gtephx!yountm