| Version 47 (modified by kowey, 4 years ago) |
|---|
GenI realiser
Downloading GenI
The latest GenI release is 0.17.4. Tarballs are available on GenI's hackage entry
The darcs version is available via
darcs get --lazy http://code.haskell.org/GenI
Note that this uses the hashed repository format, which requires a darcs 2 client.
Installing GenI
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 1: Install the non-graphical interface
- Install GHC 6.8.3 binary from GHC site (should work with any GHC 6.8.x and GHC 6.10.x)
- Install cabal-install
- cabal update
- cabal install cabal-install
- cabal install GenI
- make sure ${HOME}/.cabal/bin is in your path
- make sure it works
- geni --unit-test
- geni --help for more details
- Either retrieve the GenI tarball from hackage or darcs get the latest source and...
- geni -m examples/ej/macros -l examples/ej/lexicon -s examples/ej/suite
The instructions above assume you want the latest stable version of GenI. If you want to install the darcs version, instead of executing cabal install GenI, you can do cd GenI; cabal install
Step 2: Install with GUI
Warning, this part can be a little hairy because of the wxHaskell installation process.
- 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!
- Install graphviz
- 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)
- Note - either use
- Install wxcore and wx 0.10.3 by hand
- http://hackage.haskell.org/packages/archive/wxcore/0.10.3/wxcore-0.10.3.tar.gz
- http://hackage.haskell.org/packages/archive/wx/0.10.3/wx-0.10.3.tar.gz
- for each one: runhaskell Setup configure; runhaskell Setup build; sudo runhaskell Setup install
- while wx 0.10.3 is the last known working version, wx 0.11 appears to work for some people... if you can get that working, even better!
- cabal install GenI --flags=gui
- 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
- FrequentlyAskedQuestions
- Walkthrough
- Manual
- Features
- Old documentation: http://wiki.loria.fr/wiki/GenI (Please help us migrate it to this wiki!)
Community