From: matt@jafus.mi.org (Matthew Braun)
Subject: Re: Rice's AIX-RT X11R5 binaries
Organization: The Eccentricity Group - East Lansing Division
Date: Thu, 20 Aug 92 02:06:37 GMT

In article <1048@alsys1.aecom.yu.edu> mjr@balrog.aecom.yu.edu (Mauricio Rosales) writes:
>I downloaded the X11R5 binaries from brazos.is.rice.edu  - extracted and
>installed it according to the instructions. When I run  most of the binaries
>I get  back the message "Killed". If I run just ./X it starts to come up
>and then hangs. 
>When I  run it with dbx I get the error:
>store: could not write instruction at 0x100187e8
>
>I'm running AIX 2.2.1 whith the latest CSD's on an RT model 130.
>
>Has anybody run across this problem or have any idea how to fix it?
>
>
>							Mauricio Rosales
>

I mailed the person that build those binaries and this was his reply:

From: Michael Francis Brantley <brantley@Princeton.EDU>
Subject: Re: X11R5 server
Date: Wed, 10 Jun 92 7:42:17 EDT

> I'm trying to get the X11R5 binaries from brazos.is.rice.edu running on my
> RT type 6151 model 115 running AIX 2.2.1.  When I try to run xinit or
> startx it just says 'Killed' or 'startx: <pid> Killed'.  I assume there is
> a problem with not having some default files like a .xinitrc and maybe
> others.  Those types of files weren't included with the files from brazos.
> But if I try to run the server all by itself by running 'X', it loads for a
> while then gives the following error:
> 
>      Couldn't open RGB_DB '/usr/site/X11R5/lib/X11/rgb'

Your problem here is that you didn't set up the links as described in the 
README.R5 directory.  The symbolic link from /usr/site/X11R5 is necessary
for it to work properly.  

[stuff deleted...]

>      Didn't find an IBM 5081 Graphics Adapter
>      Couldn't open any screens.
> 
> The rgb file doesn't exist, and I'm pretty sure that I don't have an IBM
> 5081 Graphics Adapter.  The X server also has a '-mpel' option which I
> tried and that doesn't work either.  Basically I'm not sure which graphics
> adapter I have.  When I run the 'termdef' program it says 'ibm6155'.  When
> I looked up Display Options in the 'User Setup Guide and Options
> Installation' manual, I found that my adapter looked like the 'IBM RT PC
> Extended Monochrome Graphics Display Adapter'.  So is this supported by the
> current X11R5 server, or does it exist and can it be compiled???

Yes, the code for the 6155 (or APA16) display is supported, though I did not
compile the support into the server available on brazos.is.rice.edu.  You 
are going to need to build the server yourself.  To do so, you'll need to 
download all of the files in brazos.is.rice.edu:/pub/aix_rt/X11R5.src and
follow the directions in the patchfile.  Once you have the distribution 
unpacked, edit the mit/config/ibm.cf file to change the "ibmIncludeAPA16"
preprocessor variable to "YES" and "ibmIncludeMPEL" to "NO".  This should
also shrink the size of your Xserver considerably.

> Also another question I had about the binaries, why are they so big?  Were
> they or can they be compiled with shared libraries?  It is pretty
> ridiculous that such a short program like 'xlogo' is over 750K, and the
> rest of the programs are also big.

AIX 2.2.1 doesn't support shared libraries.  The compiler just creates huge
executables.

I hope this helps.  I should have thought to make an APA16 server available 
before leaving Rice, but I didn't.  Also, I have not tested the APA16 server
myself, I've only been told that it worked by others.

Good luck -
-- 
Michael Brantley
Department of Computer Science
Princeton University, Princeton, New Jersey
(brantley@princeton.edu)



It sounds like X11R5 supports the RT/AIX for the APA16 display, but
hasn't been compiled.  If anyone out there with enough disk space could
compile the X11R5 server for the APA16 display (only, don't want the
binary to be any bigger than needed) and let me (everyone) know where
to get it from.  It would be nice if a different X server is build for
each display that is supported.

Hope this information answers your question.  And hopefully someone
will respond to this request to build the server for all the displays.

Matthew.
Newsgroups: comp.sys.ibm.pc.rt