Discuter:GenI/Getting GenI
Un article de Loria Wiki.
Sommaire |
[modifier]
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:
[modifier]
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
[modifier]
Install HaXmL
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
[modifier]
Graphical stuff
[modifier]
graphviz
- Open your Cygwin setup program
- Install the graphviz package (FIXME: under what categories?)
[modifier]
wxhaskell
cabal update cabal install wx
[modifier]
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
- Follow the rest of the instructions below from "cd GenI" on
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)
