dwp@mtune.ATT.COM (David Preisler) (10/21/89)
Am trying to build GNU emacs 18.54 on a 3b2-600/700 running sVr3. I include "s-usg5-3.h", "m-att3b.h", and define HAVE_SOCKETS, and HAVE_PTYS [ yes, we have sockets and pseudo terminals ]. The symptom: on compilation I get the error from src/sysdep.c: 'can not find "sioclt.h"'. Sure enough, sioctl.h does not exist anywhere on any of our 3b's. When I attempt to compile without sioctl.h [ just for the heck of it ] the struct winsize, and it's fields ws_col, ws_row are unknown. I know it has to do with #ifdef USG && TIOCGWINSZ... but I'm still not sure how or why TIOCGWINSZ ( TIOCGSIZE ) is set, and how that involves sioctl.h [ please respond by email, I don't always get a chance to read news ] Thanks! David William Preisler System Administrator AT&T Bell Laboratories Email: att!mtune!dwp.ATT.COM 200 Laurel Avenue Middletown, NJ 07748 Phone: (201) 957-2594
thk@uxrd14.UUCP (Tom Kiermaier) (10/25/89)
In article <8121@mtune.ATT.COM> dwp@mtune.ATT.COM (David Preisler) writes:
:Am trying to build GNU emacs 18.54 on a 3b2-600/700 running sVr3.
:The symptom: on compilation I get the error from src/sysdep.c:
:'can not find "sioclt.h"'. Sure enough, sioctl.h does not exist
:anywhere on any of our 3b's.
:
Replace the include for sioctl.h with includes for streams.h
and ptem.h. At least this will allow the compile to proceed. GNU
Emacs seems to work fine on our svr3.2 machines, but I haven't
done really extensive testing.
Tom Kiermaier