balangs / eTeak

A GALS Synthesiser for the Balsa language
http://apt.cs.manchester.ac.uk/projects/tools/eTeak/
Other
4 stars 6 forks source link

eTeak Installation Guide for ghc >6 #2

Open Mahdi89 opened 8 years ago

Mahdi89 commented 8 years ago

Installing ghc and cabal: 1- Download and Install ghc 7.4.1 from source (www.haskell.org/ghc/dist/7.4.1/ (filename due to architecture) )

2- Download and Install cabal 1.18.1.6 from source (www.haskell.org/cabal/release/cabal-1.18.1.6/Cabal-1.18.1.6.tar.gz )

3- Download and Install cabal-install version 1.18.1.0 from source (https://www.haskell.org/cabal/release/cabal-install-1.18.1.0/ cabal-install-1.18.1.0.tar.gz)

Adding gtk and gtk2hs build tools: 4- Install the following libraries:

The modules such as Array, Monad, etc could not be compiled with ghc version later than 6. They should be specifically defined with their associated libraries: Data.Array, control.Monad... Ghc compiler with version later than 7.4.1 has compatibility issue with compiling bits.hs therefore ghc 7.4.1 needs to be considered. Pre-requirements: libgmp-dev , libgmp3-dev , zlib1g-dev Note: libgmp.so.10 library should be linked to libgmp.so.10 library with ln -s command

Mahdi89 commented 8 years ago

Now eTeak can be installed using the Haskell tool stack: https://github.com/commercialhaskell/stack Thanks to Rob Taylor. This enables the users to install eTeak without concerning about the ghc compatibility issues as were stated above.