[comp.sys.sun] Gnu Emacs and OpenWindows

ABYKAT%UTCVM.BITNET@cunyvm.cuny.edu (Dr. A.Bykat) (04/20/91)

The other day I decided to install Gnu 18.57 under OpenWindows. Tried both
build-install and make, but without success. It seems that OpenWindows
does not have the X11/X10.h file which is needed by XMenuInt.h:

    XMenuInt.h: 21: Can't find include file X11/X10.h

Has any body compiled successfully Gnu Emacs 18.57 under OpenWindows?
Could you send me the missing file(s)?

AB

PS.Yes, I know, leaving #define HAVE_X_MENU commented out and faking the
X10.h will work. But then there is no menu support in emacs, etc.

hugh@slee01.srl.ford.com (Hugh Fader) (04/24/91)

In article <2556@brchh104.bnr.ca> ABYKAT%UTCVM.BITNET@cunyvm.cuny.edu (Dr. A.Bykat) writes:
>
>The other day I decided to install Gnu 18.57 under OpenWindows. Tried both
>build-install and make, but without success. It seems that OpenWindows
>does not have the X11/X10.h file which is needed by XMenuInt.h:
>
>    XMenuInt.h: 21: Can't find include file X11/X10.h

I didn't compile with HAVE_X_MENU but I did compile with HAVE_X_WINDOWS
(or whatever it is) and I had the same problem with a different header
file. To get around it I commented out the line in the header file which
#included X11/X10.h. Everything seems to be working OK.

Hugh Fader
hugh@slee01.srl.ford.com

elliss@kira.egr.msu.edu (Stew Ellis) (04/24/91)

ABYKAT%UTCVM.BITNET@cunyvm.cuny.edu (Dr. A.Bykat) writes:

>The other day I decided to install Gnu 18.57 under OpenWindows. Tried both
>build-install and make, but without success. It seems that OpenWindows
>does not have the X11/X10.h file which is needed by XMenuInt.h:

>    XMenuInt.h: 21: Can't find include file X11/X10.h

>PS.Yes, I know, leaving #define HAVE_X_MENU commented out and faking the
>X10.h will work. But then there is no menu support in emacs, etc.

I have not tried to bring up Gnu emacs, but  openwindows include files are
not in a "standard place".  If you are running openwin then there should
be an environment variable $OPENWINHOME.  It there is, then you need to
invoke the C compiler with -I${OPENWINHOME}/include.  You can put this in
the "CFLAGS =" definition in the makefile.  If it uses Imake, I do not
know how to do it: Sun and HP do not include imake support on the systems
I have used.

  R.Stewart (Stew) Ellis                    / _______________________________/
  elliss@frith.egr.msu.edu            ENGINEERING & MANAGEMENT INSTITUTE