[comp.emacs] Gnu Emacs & X11R3

dana@BELLCORE.BELLCORE.COM (Dana A. Chee) (12/02/88)

In article <8812020217.AA17670@mimsy.umd.edu> israel@MIMSY.UMD.EDU (Bruce Israel) writes:

   Unfortunately today I installed X11 for the first time, so I don't have an
   X11R2 installation to get a libXMenu11.a from.  Any other suggestions?

The menu portion of gnumacs under X11 is on hold until it can be
re-written for new menus.  It isn't necessary to have it to compile
gnumacs (just don't uncomment the line #define HAVE_X_MENU in config.h).

   Also, right afterwards I installed 18.52 with the HAVE_X_WINDOWS variable
   set (or whatever it's name was) and it ran into problems compiling because
   it was missing an include file from /usr/include/X11.  <something>fonts.h
   or something like that.  What can I do to compile a vanilla 18.52 on a new
   sun after installing X11R3?  Given that everything is vanilla distributions
   and installations, I'm getting kind of frustrated.

Ok, first you need some patches to 18.52, they are available anonymous
ftp from expo.lcs.mit.edu (18.30.0.212) in contrib/ver-18.52.diff or
you can send me mail and I will send them to you.

Once these are installed, if your X include files or libraries are in
a different place from the standard /usr/include and /usr/lib, you
will have to add a -I or -L line to ymakefile (or xmakefile) so that
it can find everything.

After this, just recompile and go.  I've installed both (gnumacs and
X) on an Ultrix system as well as a Sun and had no problems.  Just
make sure that HAVE_X_WINDOWS is uncommented, HAVE_X_MENU is
commented, and X11 is uncommented in the file src/config.h

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

bob@CIS.OHIO-STATE.EDU (Bob Sutterfield) (12/03/88)

In article <8812020217.AA17670@mimsy.umd.edu> israel@MIMSY.UMD.EDU (Bruce Israel) writes:
|
|   From: karl@cis.ohio-state.edu  (Karl Kleinpaste)
|
|   mvp@v7fs1.UUCP (Michael Van Pelt) writes:
|      I just tried building Gnu Emacs with X11R3 support, and got
|      errors because XMenu is no longer supplied as part of the base
|      release.
|
|   I'm told that you should go get libXMenu11.a from your X11R2
|   installation and just drop it in place.  It should be fine at that
|   point.
|
|Unfortunately today I installed X11 for the first time, so I don't
|have an X11R2 installation to get a libXMenu11.a from.  Any other
|suggestions?

We're all looking forward to the new menu support in GNU Emacs 19.
Though I agree with Dana Chee that the One True Right Way would be to
wait patiently (or help work on it!), and until then, compile Emacs
without HAVE_X_MENU; I've grown rather accustomed to having those
menus at my mouse fingertips. If you don't mind the aesthetic
dirtiness of using a hacked early-X11 port of an X10-originated menu
package, you can use the libXMenu11.a that came with X11R2 to make
your nice new GNU Emacs.

See giza.cis.ohio-state.edu:pub/X.V11R3/contrib/oldXMenu.tar.Z for all
you'll need to make it for yourself.