Changeset 413


Ignore:
Timestamp:
Aug 30, 2007, 6:25:24 PM (16 years ago)
Author:
Peter Johansson
Message:

adding INSTALL instructions for BASE1 and Stand-alone. refs #53

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/se/lu/thep/wenni/INSTALL

    r409 r413  
    5757The configure script accepts a few options that may be of
    5858interest. You can provide `./configure` with BASE location information
    59 with `--with-basedir=DIR`. This information is used to find jar files
     59with `--with-basedir=BASEDIR`. This information is used to find jar
     60files such as `BASE2Core.jar`. Files `WeNNI.jar` and `nni` will be
     61installed in `<BASEDIR>/www/plugins/se/lu/thep/wenni/`. Installation
     62directory can be changed by using `./configure` option
     63`with-plugindir=DIR`.
     64
     65
     66You can configure where files `WeNNI.jar` and
     67the `nni` will be installed using `with-plugindir=DIR`. Files will be
     68installed in `<DIR>/se/lu/thep/wenni/`. Default `DIR` is set to
     69`path/to/base/www/plugins/`. You may use `with-gsl=DIR` to provide
     70•information on GSL location. The option `enable-debug` turns on debug
     71options on the compilation of binary `nni` (e.g. enables assertions).
     72
     73 3. Now build using
     74    $ `make`
     75
     76If all went well `nni` created in directory `bin/nni` as well as
     77`WeNNI.jar` in directory `base/base2/`.
     78
     79 4. Optionally, run the test program
     80    $ `make check`
     81
     82 5. Install files using
     83    $ `make install`
     84
     85 6. Make BASE aware of the plugin, see BASE documentation
     86 http://base.thep.lu.se/chrome/site/doc/html/index.html
     87
     88
     89= BASE 1 mode =
     90
     91== Pre-requisite ==
     92
     93 1. Download and install GSL, http://www.gnu.org/software/gsl/.
     94 2. Perl, http://www.cpan.org/.
     95 3. A working BASE1 installation.
     96
     97== WeNNI install ==
     98
     99 1. Download and unpack WeNNI. `cd` to the root directory of the distribution.
     100
     101 2. Run configure script with
     102    $ `./configure --enable-state=base1`
     103
     104The configure script accepts a few options that may be of
     105interest. You can provide `./configure` with BASE location information
     106with `--with-basedir=BASEDIR`. This information is used to find base library
     107and header file. Header file `basefile.h` is expected to be found in
     108`<BASEDIR>/BASE-plugindevkit/bogus_base/include/cxx/`.
     109
     110
     111This information is used to find jar files
    60112such as `BASE2Core.jar`. You can configure where files `WeNNI.jar` and
    61113the `nni` will be installed using `with-plugindir=DIR`. Files will be
     
    80132 http://base.thep.lu.se/chrome/site/doc/html/index.html
    81133
    82 
    83 = BASE 1 mode =
    84 
    85 == Pre-requisite ==
    86 
    87  1. Download and install GSL, http://www.gnu.org/software/gsl/.
    88  2. Perl, http://www.cpan.org/.
    89  3. A working BASE1 installation.
    90 
    91 == WeNNI install ==
    92134
    93135pre-requisite:
Note: See TracChangeset for help on using the changeset viewer.