[comp.windows.x] X on Apollo DN3000

bassen@OSLO-VAX.ARPA.UUCP (02/23/87)

	 We have just got a Apollo DN3000 for test. I was hoping to
	 play around with X. Started out trying to compile libapollo.
	 After some fixing it compiled without errors. Afterwards I
	 went for the X-server. Some obscure (for me undocumented)
	 system-call (some $trait-stuff) really made it difficult.
	 After some hacking and commenting I think I made a server
	 which should run, but no: "Segmentation fault" occured after
	 some falshing of the screen. Since I'm short of time I would
	 like to know if anybody really have made X run on DN3000. If
	 so please mail me fixes! Thanks.
	 
	 bassen		or	Tor Sverre Lande
	 			Institute of informatics
				University of Oslo
				arpa: bassen@oslo-vax.arpa

dclemans@mntgfx.UUCP (02/23/87)

The following applies to X10R4, as received directly from MIT...

To get it running on Apollo systems, there are three basic areas that
have to be worked on:

a. Compiling everything:  The preprocessor "built-in" to the 9.2 C compiler
   seems to have problems handling nested include files, especially the nested
   files come from directories specified via -I arguments.  Using the separate
   preprocessor (/usr/lib/cpp) is an effective workaround for this.  You also
   have to fix code that tries to take the address of register variables
   (basically uwm and xwm).  There also some references to /dev/tty which
   have to be removed.  To get xterm to compile/link, "UTMP" must be undefined,
   and vhangup calls need to be removed (at least for sr9.2).

   I also defined "PRE_SR9_5" when compiling the X server.

   The define of "UNIXCONN" was also removed (since Apollo doesn't support Unix
   domain sockets (yet?)).

b. Linking:  /sys/traits/io_traits needs to be linked in to the X server.

c. Running: Since Unix domain sockets don't exist, the default for DISPLAY won't
   necessarily work ("unix:)").  The easiest method of communication is via
   TCP, though at least with the version of TCP, performance is not great.

   Note that there is a "readme" file in the libapollo that talks about font
   conversion; this needs to be done before you try X.

Dave Clemans
Mentor Graphics Corp.