[comp.sys.next] Compiling for Mouse-X

zazula@uazhe0.physics.arizona.edu (RALPH ZAZULA) (03/22/91)

Sorry to add to all of the X-talk on here but...

I finally got Mouse-X installed on my Cube after removing the 0's that
VMS added to the end of all of the .Znn files (I was doing this when
I read the post about it being available as one file...).  Anyway,
it is up and running.  Now, I thought It'd be nice to compile a few
games for Mouse-X, to really make it usefull.  I went and got xtetris
from uunet.uu.net.  I followed the directions in the README file, namely
I ran 'xmkmf'.  Here's what happened:

[7](bonehead)/users/zazula/temp/xtetris-2.4> xmkmf
mv Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config
/usr/lib/X11/config/Imake.tmpl:199: unterminated character constant
imake: Exit code 33.  Stop.

Is Imake.tmpl broken or is it not this easy to build programs on
the NeXT?  I don't want to waste a lot of time on this (mine or anybody
elses) but if it is a simple thing, could someone steer me in the right
direction?

Ralph

P.S.  Here are some disjointed thoughts:  Does anyone know if it is bad
	to keep an OD mounted all the time?  I do just that to increase
	my available disk space.  I'm wondering if the disk is exposed to
	dirt/dust while it is mounted.  Is the sliding cover pulled back
	all the time it is in the drive?

	It get's pretty dusty here in Tucson and last time I looked at the
	back of my cube, it had a layer dust over the fan!  Well, today
	I installed a no-nonsense (or was that sheer-energy) solution...
	Yup, hacked up a pair of black knee-high hose and draped them over
	the back.  I thought some of you might find *something* in that... 

   |----------------------------------------------------------------------|
   | Ralph Zazula                               "Computer Addict!"        |
   | University of Arizona                 ---  Department of Physics     |
   |   UAZHEP::ZAZULA                            (DecNet/HEPNet)          |
   |   zazula@uazhe0.physics.arizona.edu         (Internet)               |
   |----------------------------------------------------------------------|
   |   "You can twist perceptions, reality won't budge."  - Neil Peart    |
   |----------------------------------------------------------------------|

tyc@cbnewse.att.com (felix.a.lugo) (03/22/91)

In article <1991Mar21.185035.477@arizona.edu> zazula@uazhe0.physics.arizona.edu writes:
| from uunet.uu.net.  I followed the directions in the README file, namely
| I ran 'xmkmf'.  Here's what happened:
| 
| [7](bonehead)/users/zazula/temp/xtetris-2.4> xmkmf
| mv Makefile Makefile.bak
| imake -DUseInstalled -I/usr/lib/X11/config
| /usr/lib/X11/config/Imake.tmpl:199: unterminated character constant
| imake: Exit code 33.  Stop.

	I got this same result when I started building some X programs.  To
	get xmkmf (or imake in this case) to parse Imake.tmpl properly, delete
	lines 199 and 200 (the lines begin with /**/# ...).  I didn't try to
	determine why this problem occured, since removing the lines (which
	are just comments) corrected it.

	Another problem that bit me was the "add a space between macros,
	feature?" of the C preprocessor.  How can this be turned off??!!!!!

/*
** ============================================================================
**
**  Felix A. Lugo					AT&T Bell Laboratories
**
**	E-Mail:
**	(708) 713-4374	coco@ihlpb.att.com	att!ihlpb!coco
**
**	NeXT-Mail:
**	(708) 515-0668	coco@alien.att.com	alien.att.com!bootsie!coco
**
** ============================================================================
*/

howie@cunixf.cc.columbia.edu (Howie Kaye) (03/23/91)

In article <1991Mar21.185035.477@arizona.edu> zazula@uazhe0.physics.arizona.edu writes:
>Sorry to add to all of the X-talk on here but...
>
>[7](bonehead)/users/zazula/temp/xtetris-2.4> xmkmf
>mv Makefile Makefile.bak
>imake -DUseInstalled -I/usr/lib/X11/config
>/usr/lib/X11/config/Imake.tmpl:199: unterminated character constant
>imake: Exit code 33.  Stop.
>
>Is Imake.tmpl broken or is it not this easy to build programs on
>the NeXT?  I don't want to waste a lot of time on this (mine or anybody
>elses) but if it is a simple thing, could someone steer me in the right
>direction?
>
>Ralph


OK, You need to set your IMAKECPP environment variable to
/usr/bin/X11/cpp to use Imake.  The NeXT cpp doesn't work (i don't
know why).

I also couldn't build this version of xtetris though.  A newer one
from lcs.mit.edu did compile, but doesn't run.  If you get it to run,
let me know :-)

------------------------------------------------------------
Howie Kaye				howie@columbia.edu
Columbia University 			hlkcu@cuvma.bitnet
UNIX Systems Group			...!rutgers!columbia!howie