[comp.unix.ultrix] Ultrix 4.2 and X11/Motif

eap@bu-it.bu.edu (Eric A. Pearce) (06/13/91)

I just finished building Motif 1.1.2 under Ultrix 4.2 on a DecStation
3100.   (I didn't see a reason to buy the Dec product if I could build
it from source)

Ultrix 4.2 puts the mit headers in /usr/include/mit, so I added this 
to config/ultrix.cf.

#if OSMajorVersion >= 4 && OSMinorVersion >= 2
#define StandardIncludes -I/usr/include/mit
#endif

I went with the "mit" headers, as the Dec supplied ones in
/usr/include/X11 were missing some stuff that Motif required (?).

When running my Motif applications, they behaved as if they could not 
find /usr/lib/X11/XKeysymDB - i.e. spewing errors about not finding
"osfRight", etc...which was strange, as I had installed it correctly.

so I ran strings on /usr/lib/libX11.a

# strings /usr/lib/libX11.a | grep XKeysymDB
/build/bl25/max/kit/usr/lib/X11/XKeysymDB

(note that the libX11-mit.a library has it correctly, but I wanted the
Dec additions)

I unpacked /usr/lib/libX11.a, and edited XStrKeysym.o with emacs.
I deleted the "/build/bl25/max/kit" part and padded the end of string
with 19 nulls.  I then re-archived the library and copied the orginal
to /usr/lib/libX11-dec.a.   This seemed to do the trick, as the
XKeysymDB file is now recognized.

Am I asking for trouble by mixing the "mit" and "dec" environments?

-e

ps: I'm very pleased with 4.2, it only took me a few minutes to
disable Xprompter, set up xdm and start using it.
I loaded the "unsupported" MIT stuff off the CD with no problem.   
CD is the way to go, it takes longer than TK50, but you don't have 
to hang around and swap tapes.
--
-------------------------------------------------------------------------
Eric Pearce eap@bu-it.bu.edu Boston University Information Technology      
111 Cummington Street Boston MA 02215 617-353-2780 voice 617-353-6260 fax