Version 42 (modified by kowey, 6 years ago)

--

GenI realiser

The latest GenI release is 0.17.3.

GenI can be installed either with or without a GUI. We strongly recommend doing the installation in two phases, first without the GUI and second with. The GUI can be a bit tricky to install, so this two-phase approach should at least get you up and running with a console version fairly quickly.

Step I: Install the non-graphical interface

  1. Install GHC 6.8.3 binary from GHC site (should work with any GHC 6.8.x and GHC 6.10.x)
  2. Install cabal-install
  3. cabal update
  4. cabal install cabal-install
  5. cabal install GenI --flags="-gui"
  6. make sure ${HOME}/.cabal/bin is in your path
  7. make sure it works
    • geni --unit-test
    • geni --help for more details

Step Ib: Test with example data

Note that this uses the hashed repository format, which requires a darcs 2 client.

  1. darcs get --lazy http://code.haskell.org/GenI
    
  2. geni -m examples/ej/macros -l examples/ej/lexicon -s examples/ej/suite

Note that if you ever need to install the darcs version of GenI, you should be able to do so by cd'ing into the GenI directory and invoking cabal install

Step II: Install with GUI

Warning, this part can be a little hairy because of the wxHaskell installation process.

  1. Please make sure you can install GenI without the GUI first.
    • If you do not succeed at installing without the GUI, stop and ask for help!
    • Doing so will help us to refine our install instructions, and most importantly save you a lot of time!
  2. Install graphviz
  3. Install wxWidgets 2.6 (see notice below)
    • Note - either use
      • wxWidgets 2.6 with wxhaskell 0.10.3 OR
      • wxWidgets 2.8 with wxhaskell 0.11 (don't mix versions)
  4. Install wxcore and wx 0.10.3 by hand
  5. cabal install GenI --flags=gui
  6. On MacOS X:
    • cd ~/.cabal/bin; macosx-app geni
    • make sure ${HOME}/.cabal/bin/geni.app/Contents/MacOS is in your path, before ${HOME}/.cabal/bin
    • Contact us on the MailingList? if you need extra help.

Documentation

Community