[comp.windows.x] Gnu Emacs and X11r3

rgr@m10ux.UUCP (Duke Robillard) (12/01/88)

So there I was, installing X11 release 3 and everything
was going along nicely.  So I decided to recompile
GNU Emacs 18.51 to use it's X Windows support, and I 
got the message

xmenu.c: 63: Can't find include file X11/XMenu.h

so I went looking for XMenu.h, and, not finding it,
decided to RTFM.  In there I found:

old XMenu library removed
    The old XMenu library has been removed from this 
    release.  Applications in need of menus should
    use a toolkit.  A prototype X Toolkit menu widget
    is available in the contrib/widgets/MenuBox/
    directory.

Okay, so now it gets complicated.  I'm gonna have to
have on GNU Emacs some, I guess.  Before I start:

    Does anyone have a solution to this  problem?

Thanks muchly



-- 
|  Duke Robillard                  |                                     |
|                                                                        |
|  ARPA:     rgr@m10ux.att.com     |  UUCP:     {backbone!}att!m10ux!rgr |
|  or maybe: m10ux!rgr@att.att.com | BITNET:   rgr%m10ux.att.com@cunyvm  |

dana@dino.bellcore.com (Dana A. Chee) (12/01/88)

Since R3, there is no longer a XMenu package.  Therefore, when
compiling 18.?? GNUmacs, leave commented  the line that says:

/* Define HAVE_X_MENU if you want to use the X window menu system.
   This appears to work on some machines that support X
   and not on others.  */

/* #define HAVE_X_MENU */

in the config.h file.  You will not have the menus, but all other
things will work fine (the patches for 18.52 for X11 are located on
expo as contrib/ver-18.52.diff).

My understanding is that the X support will be completely rewritten 
for version 19 and menus will appear again.

Enjoy and happy emacsing.

--
+*************************************************************************+
*  Dana Chee				(201) 829-4488			  *
*  Bellcore								  *
*  Room 2Q-250								  *
*  445 South Street			ARPA: dana@bellcore.com		  *
*  Morristown,  NJ  07960-1910		UUCP: {gateways}!bellcore!dana	  *
+*************************************************************************+

karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) (12/01/88)

rgr@m10ux.UUCP (Duke Robillard) writes:
   xmenu.c: 63: Can't find include file X11/XMenu.h

   `old XMenu library removed'

   Does anyone have a solution to this  problem?

Yes.  Get a copy of XMenu-related things from your X11R2 installation,
and use it directly.  Don't even bother recompiling libXMenu11.a.

--Karl