Discuter:GenI/Getting GenI

Un article de Loria Wiki.

Sommaire

Draft for installing on Windows

realdarcs.exe: takeFile ./bugs/aux.dtd-0 in C:/cygwin/tmp/HaXml: openFd: does not exist (No such file or directory)

Instructions for compiling GenI under Windows:

Install GHC

  • Go to http://haskell.org/ghc
  • Click on Download and then 6.4.2
  • Download the Windows version and launch the graphical installer

Install HaXmL

edit HaXmL instructions
cd /tmp
darcs get --partial http://www.cs.york.ac.uk/fp/darcs/polyparse
cd polyparse
runhaskell Setup.hs configure
runhaskell Setup.hs build
sudo runhaskell Setup.hs install
cd /tmp
darcs get --partial http://www.cs.york.ac.uk/fp/darcs/HaXml 
cd HaXml
rm HaXml-darcs.cabal
runhaskell Setup.hs configure
runhaskell Setup.hs build
sudo runhaskell Setup.hs install

Graphical stuff

graphviz

  • Open your Cygwin setup program
  • Install the graphviz package (FIXME: under what categories?)

wxhaskell

edit wxHaskell instructions
cabal update
cabal install wx

GenI

darcs get http://trac.loria.fr/darcs/geni/GenI
cd GenI
emacs Makefile
  • Insert the following line on top of the Makefile
LDFLAGS=-lwx_gtk2u_gl-2.6
  1. Follow the rest of the instructions below from "cd GenI" on
edit GenI install
darcs get http://trac.loria.fr/darcs/geni/GenI
cd GenI
runhaskell Setup.lhs configure
runhaskell Setup.lhs build
sudo runhaskell Setup.lhs install
cd geniprog
runhaskell Setup.lhs configure
runhaskell Setup.lhs build
sudo runhaskell Setup.lhs install

(What really needs to happen is that Eric needs to get around to writing a fancier configure script that figures this stuff out for you, but this probably won't happen until the demand for it increases)

Outils personels