Installation manual for KaRa

-----------------------------------------------------------------------------------------------------

KaRa is intended to be as platform independant as possible.
With that goal in mind it was written in PerlTk and hence you only need Perl and the two Perl-add-ons
for Tk and for SerialPort your computer to run KaRa.

However, currently it only runs completely on Gnu/Linux; on Windows everything runs fine except for
the serial port interface (to/from the timing device), but the solution is near.
For the Apple/McIntosh platform no plans exist to port/test this application, but hey if Perl + Tk
+ SerialPort would be available on it, KaRa might just work fine.

-----------------------------------------------------------------------------------------------------

Summing it up, you will need these items to run KaRa:
	1 Perl
	2 Perl/Tk
	3 SerialPort
	4 KaRa

Here it is, step by step:

1  If you do not have Perl installed on your computer ...

	unix	that is mighty strange, since most unix computers come with Perl installed;
		you will have to install Perl, you can try by installing:
			- a package
				especially if you have a Gnu/Linux distribution you may very well be
				able to install perl 'rpm' packages, it will be the quickest solution
			- a binary distribution
				you can search the Net for a binary distribution for your system,
				but it will hard to find I guess
			- from source
				you will need a fully working system with a C compiler, probably gcc
				but if your system is fully operational it should work out fine,
				check out: www.cpan.org www.perl.com ...

	windows
		you will probably need to install Perl, a good binary installation can be used from
		ActiveState:
		go to www.activestate.com and choose 'perl'
		among the 'Resources' choose ActivePerl
		check out 'System Requirements', make sure to download and install additional
			software if it is required (example: for Windows 98 you will need the
			'Windows Installer' of a certain version; I installed InstMsiA.exe
			in C:\Program Files\)
		check out 'Features' this will lead you to a page with info, go to 'download' and
			download the MSI package for Windows
		so now you should have two files:
			1  InstMsiA.exe
			2  ActivePerl-<version>.msi
		install the 'Windows Installer' by double-clicking the first file (you may have to
			close your web browser and - yes you're working with Windows - you will have
			to reboot the computer before going any further
		after rebooting install Perl by double-clicking the second file and walk through the
			installation screens;
			you might want to put the installation in a directory (destination folder)
			like C:\Program Files\Perl
			just go for the default installation features
			during all that - which takes some time - PPM will also be installed for you
		reboot the system once more


2  If you do not have Perl/Tk installed on your computer ...

	unix
		as with Perl itself you have multiple options to install Perl/Tk on your computer, so
		work like above (1)
		Gnu/Linux users might want to know how it got installed on a portable with RedHat 7.3
		working from an RPM package:
		downloaded perl-Tk-800.022-11.i386.rpm (from Bastille site I think) to /tmp
		installed with 'rpm ivh <package>'

	windows
		if you went through step 1, above, Tk should be installed in
		C:\Program Files\Perl\site\lib\Tk.pm check that out


3  If you do not have Perl/SerialPort installed on your computer ...

	unix
		download SerialPort *.tar.gz module from www.CPAN.org
		copy to /tmp
		unzip & untar
		make, make test (the testing registered some problems), make install
		make sure that the device /dev/ttyS0 is 'rw' for group & others!

	windows
		you will need two extra modules: Win32::API and Win32::SerialPort
		like in step 1, go to www.activestate.com and choose 'perl'
		among the 'Resources' choose ActivePerl
		with 'Technical Info' choose 'Documentation'
		go to 'PPM Repository'
		go to 5.6
		download 'Win32-API.ppd'
		fire up an MsDOS prompt and in it go to the directory where you put Win32-API.ppd,
			type 'ppm' and wait for the 'PPM>' prompt to appear
			type 'install Win32-API' and let PPM do its job, exit
		exit from the MsDOS window
		download SerialPort-0_19.zip from the KaRa website
		put it in a convenient location (C:\Windows\temp or whatever)
		unzip it
		fire up an MsDOS prompt and in it go to the directory where you put SerialPort-0_19
			'perl Makefile.PL'
			'perl test.pl' (don't be afraid if this fails)
			'perl install.pl'


4  Install KaRa
	you're almost there, this is the easy part
	first decide in which directory (map) you will put KaRa, it may be a good idea to
	make a directory (map) specifically for it, some examples:
		on unix:	$HOME/KaRa
		on windows:	C:\My documents\KaRa
	use a web browser to go to the website www.KaRa.kajak.be.eu.org
	(or www.esat.kuleuven.ac.be/~schoeter/KaRa/) where you can
	download the (latest) KaRa distribution
	the distribution will be available in different, compressed, formats, choose the one that
	suits you best:
		for unix:	kara-<version>.tar.bzip2 or kara-<version>.tar.gz
		for windows:	kara-<version>.zip
	put the compressed file in the directory (map) where you want to put KaRa
	unpack the distribution, examples:
		unix:		gunzip kara-2.1.8.tar.gz ; tar xvf kara-2.1.8.tar
		windows:	double-click kara-2.1.8.zip and winzip will unpack it
					yes, Windows users need WinZip or a comparable programme

