Home Page  |  Commands  |  download & installation  |  Examen description language  |  Examen Installation  |  refinfoexamfile

Installation of FoKon

1 Download

You can get the sources of the FoKon Examination System

either from our ftp server
The \ref \fkftpserverurl/tarball/base/tools/fokon-1.2.2.2-base.tar.gz "fokon-1.2.2.2-base.tar.gz file" is the source tarball of the the last release. Download it and then untar it.
$ tar -zxf fokon-1.2.2.2-base.tar.gz
$ cd fokon-1.2.2.2-base
$
or from our CVS server
You can browse the cvs tree of the FoKon from the url, and checkout the last release from the CVS repository ":pserver:any@\fokoncvsserverhu:/home/cvs/prof/ia/fokon", the module name beeing "fokon".
$ cvs -d lunix120.iie.cnam.fr:/home/cvs/prof/ia/fokon co -r R051104 fokon
$ cd fokon
$ ./autogen.sh
$
In the generated "fokon" directory, as shown above, you must run "./autogen.sh" before configuring and compiling. So a recent automake and autoconf are required.

2 Basic installation

The installation is centralized but if you plan to use additional material such lex-yacc or middleware examen support see Supplementary libraries. For standart GNU/Linux box with make, gcc, ar, ranlib, flex and standart autoconf and automake tools accessible through the PATH environment variable, try the next instructions to generate and install the FoKon in the /usr/local/fokon directory (you should be root to build it).

fokon $ ./configure
fokon $ make world
fokon $ make install
fokon $ make doc
if you have not root privilege you should use the --prefix to specify specify an installation directory other than /usr/local/fokon For example to install it in a TMP directory just type.
fokon $ ./configure --prefix=$PWD/TMP
fokon $ make world
fokon $ make install
fokon $ make doc
If all this fails, please type : script your-mail.log and restart the installation procedure, when this fails type exit. Next send us a bug-report with the your-mail.log generated file in attachment.

3 Expert Installation

In addition to the classical configure options such as the --prefix , you can give several options in the configuration file :

--enable-groups="g0 g1" exercise groups for cbasic exercises (default: TOP
PRACTICE

--with-extralibs="opt0 opt1 ..."
add opti when programs are linked.
--with-exos="exo0 exo1 ..."
directories of exo-data-base containing the sources
of the exercises you want integrate in the fokon
programs (default: qcmchess cbasic cmdline)
--with-exotypes="t0 t1 ..."
exercise type tokens recognized in the exercise file
(default: argument of --with-exos)

4 Supplementary libraries

There is several supplementary libraries allowing other types of exams. Until now the mains ones are the lex-yacc and the middleware packages. If you plan lex-yacc exam see the next section if you plan middleware exam witch is not directly available contact us.

4.1 Download

either from our ftp server
The \ref \fkftpserverurl/tarball/base/tools/fokon-1.2.2.2-lexyac.tar.gz "fokon-1.2.2.2-lexyacc.tar.gz file" is the source tarball of the the last release. Download it in the fokon-1.2.2.2-base/exo-data-base directory and then untar it and rename it.
$ cd fokon-1.2.2.2-base/exo-data-base
$ tar -zxf fokon-1.2.2.2-lexyacc.tar.gz
$ mv fokon-1.2.2.2-lexyacc lexyacc
or from our CVS server
Actually the lexyacc library is part of the fokon cvs module.

4.2 Configure

4.3 Adding you own librairies


You can now return to Basic installation or to Expert Installation in order to complete the installation .

Home Page  |  Commands  |  download & installation  |  Examen description language  |  Examen Installation  |  refinfoexamfile

Generated on Fri May 26 18:26:37 2006 by The TA documentation system 1.1.2