[comp.windows.x] Real problems getting X11-beta.1 to work on a SUN 3/160

KURT@sungod.nsc.syr.EDU (Kurt Swanson) (08/13/87)

	Please help me out any way you can. I'm a recent addition to
xpert@athena.mit.edu, so please don't all jump on me if I say something stupid
or already covered.

	The problem is that from MIT we received a copy of X11-beta.1 tar
format, which was great until we decided to try and use it. We encountered
several apparent problems we think we fixed but can't seem to get anywhere
now that a make after a make clean gives NO error messages. Everything compiles
and links, but we can't get the server/Xsun do much of anything but core dump.

	What we did to the code was: follow the Sun README file for making X.
(Why is there no #2 in things to check before building?) We did a make depend
after having uncommented & commented some code in the Makefile since we don't
have cpp source. After some tinkering we got this to work & we did a make -k
for it all. Most of the trouble was in the 4.2bsd directory. It tried to get
machparam.h from /usr/sys/machine which doesn't exist. This was included only
in param.h when it needed to rebuild the kernel! So this we commented out.
Next a makefile was screwed up & did this: cp'ed a .c file to .c, cc'ed it,
and then rm'ed both the .c and the .o, obviously useless. These were mfb*.c
files. SO we fixed this Makefile and the Xsun server would correctly link.
Now it can be run but immediately core dumps. It stops in GetScratchGC in
"gc.c".

Can anyone help, lead me in some direction, or whatever?

					Kurt Swanson

"You must explain why this must be" -The Clash (Train in Vain)