Installation manual for KaRa

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

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

Currently it runs and has been tested on Gnu/Linux (RedHat) and Windows (mainly Windows98, on
Windows2000 it has been reported to work, but no serious tests were done).
For the Apple/McIntosh platform no plans exist to port 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

Once you have gone through steps 1, 2 and 3 you do not have to go through them again when you update
KaRa (only step 4, which is easy and takes no time at all).
However it must be said that installing Perl on Windows (steps 1, 2 & 3) is not a 'click-and-ready'
affair (see also www.extropia.com/tutorials/winperl/).


Here it is, step by step:

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

	unix	that is sad for you, since most unix computers have Perl installed;
		you will have to install Perl, you can try by installing:
			- a package
				especially if you have a Gnu/Linux distribution which supports RPM
				packages, 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
		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
				for Windows 98 you will need the 'Windows Installer' of a certain version;
				I installed InstMsiA.exe in C:\Program Files\
				for Windows 2000 however, you do not need the 'Windows Installer'
		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
		if your Windows version needs it, install the 'Windows Installer' by double-clicking the
			first file (you may have to close your web browser and 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, this will not be necessary on all Windows versions


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
		you can find that at: www.activestate.com/PPMPackages/
			if that would not exist, try searching it 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', or search it out there somewhere
		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
			note: if you access the Internet through a proxy, installing Win32-API may
			be problematic, because reference is made to a website which may not be
			accessible (workaround: download tar-file with Win32-API to your hard-disk,
			then modify the website specification in the ppd file to make it point to
			the file on your hard-disk like C:\temp\whatever...)
		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

