[sci.astro] I finally compiled ephem v4.12 for my Sys V.2

danj1@cbnewse.ATT.COM (Dan Jacobson) (03/24/90)

 ...and I should let you other Sys V'ers see what I noted/had to change.
(`uname -a`~=uts 5.2.6b 5 [IBM] 3090 [maxi]) My changes are probably not
too portable, and were made by banging around until something worked.
[Elwood sent me an uninjured part 1 shar.]

Highlights of make:
ihlpa 3:22 1.ephemV4.12> make
+ /etc/preroot /native /bin/make 
	cc -O -c altmenus.c
altmenus.c: 358: warning: force set but not used
	cc -O -c io.c
io.c: 177: warning: BC set but not used


Changes:
ihlpa 3:22 1.ephemV4.12> diff Makefile.~1~ Makefile
39c39,41
< 	cc -o $@ $(EPHEM) -ltermcap -lm
---
> #Dan. J. no termcap lib here
> #	cc -o $@ $(EPHEM) -ltermcap -lm
> 	cc -o $@ $(EPHEM) -lcurses -lm
ihlpa 3:22 1.ephemV4.12> diff io.c.~1~ io.c
24c24
< /* #define USE_NDELAY */
---
> #define USE_NDELAY		/* Dan J, from netnews */
32a33,34
> #include <sys/termio.h>	/* Dan J., now works on Amdahl UTS SYS V*/
> 
173c175,178
< 	extern char *UP, *BC;
---
> 
> /* 	extern char *UP, *BC; */
> 	char *UP, *BC;	/* Dan J. */
> 
230c235,239
< 	sg.sg_flags |= CBREAK;	/* wake up on each char but can still kill */
---
> 
> 				/* Dan J. from netnews */
> /*	sg.sg_flags |= CBREAK;*/ /* wake up on each char but can still kill */
> 	sg.sg_flags |= RAW;	/* wake up on each char but can still kill */
> 




-- 
Dan_Jacobson@ATT.COM	+1-708-979-6364