// vMac Unix INSTALL
// Michael Hanni (mhanni@sprintmail.com)

Install:
========

Step 0. Look at Includes/config.h! Make sure to check #define FIXEND to
	see if it is set for your system.

Step 1.	Decide if you want to use the Motif/LessTif gui. If you do you'll
	have to get the LessTif library or have Motif 1.2. You can get
	LessTif from ftp://ftp.lesstif.org/pub/lesstif/, try to get the
	latest version. Most Linux distribs include lesstif, so check your CD.
	Make sure to compile it to be Motif 1.2 compatible.

Step 2. Scan-line screen draw or normal screen-draw?

	In vMac 0.1.8.3 and beyone you will be given the option of using a
	scan-line Screen_Draw. It dramatically speeds up performance on
	non-accelerated servers (like the ones distributed with MkLinux.) Of
	course you can also use it with accelerated ones if you are so 
	inclined. If you want to use scan-line redraw edit
	Includes/config.h and uncomment #define _ScanLine.

	For the scan-line setup, you have the option of using MIT-SHM
	extensions, by using the MIT Shared Memory extension you can
	really speed the scan-line redraw up, so if you have the extension 
	(check xdpyinfo) I would suggest uncommenting #define MITSHM 1 in
	the _ScanLine section.

Step 3.	Compile the version you want:

	If you want the LessTif GUI version type:

	make -f Makefile.Motif

	else, if you don't want the GUI choose (like the last version):

	make

	(Yes I know this is a pain, I'll fix it in time... Can anyone say,
	autoconf?)

Step 4.	Enjoy! Be patient, if you corrupt your disks vMac will Segfault.
	Also random Segfaults have been reported, so don't worry about 
	them. However, this version is many times more stable. I have been
	leaving vMac running all night and all day for several days without a
	segfault. If you get a segfault, etc. just rerun vMac a few times
	and it should be fine. Feel free to email me
	(mhanni@sprintmail.com) if you have any comments, questions,
	suggestions.

Troubleshooting:
================

Check Includes/sysconfig.h and fix it to conform to your system. Presently
it is set for a typical Linux/2.0.29 system.

If you have problems compiling check the Makefile and correct any path
diffrences you may have, i.e. you have a /usr/X11/lib instead of my
/usr/X11R6/lib. Or you have a /usr/X11R6/include/Xm instead of my
/usr/local/include/Xm (LessTif default).


Have fun!
Michael
