Installation instruction for Ubuntu 8.10
Maciej Noszczyński
maciej.noszczynski at pwr.wroc.pl
Tue Apr 7 15:57:55 EDT 2009
Hello, I've installed Leksah 0.4.4.1 today in Ubuntu 8.10. This
procedure is based on the one given in the manual, but uses GHC 6.10.2.
Hope it will be useful.
------------8<------------8<------------8<------------8<------------8<
# setup
cd ~
mkdir ghc-build
cd ghc-build
# compile ghc 6.10.2
sudo aptitude build-dep ghc6
wget http://www.haskell.org/ghc/dist/6.10.2/ghc-6.10.2-src.tar.bz2
wget http://www.haskell.org/ghc/dist/6.10.2/ghc-6.10.2-src-extralibs.tar.bz2
tar jxf ghc-6.10.2-src.tar.bz2
tar jxf ghc-6.10.2-src-extralibs.tar.bz2
cd ghc-6.10.2/
./configure --prefix /home/macks/ghc
make
make install
cd ..
# cleanup and setup paths
sudo aptitude remove ghc6
export PATH=$PATH:/home/username/ghc/bin:/home/username/.cabal/bin
(you should put this export into some startup file e.g. .bash_profile
and source it when needed)
# gtk2hs from darcs (> 0.10.0) is needed for 6.10.2
sudo aptitude install darcs
darcs get --partial http://code.haskell.org/gtk2hs/
aptitude install happy alex libglib2.0-dev libgtk2.0-dev
libgtksourceview2.0-dev libgmp3-dev autoconf
cd gtk2hs
autoreconf
./configure
make
sudo make install
cd ..
# cabal install
wget
http://hackage.haskell.org/packages/archive/cabal-install/0.6.2/cabal-install-0.6.2.tar.gz
tar zxf cabal-install-0.6.2.tar.gz
cd cabal-install-0.6.2
./bootstrap.sh
cd ..
# build and install Leksah
wget
http://hackage.haskell.org/packages/archive/leksah/0.4.4.1/leksah-0.4.4.1.tar.gz
tar zxf leksah-0.4.4.1.tar.gz
cd leksah-0.4.4.1
mv leksah.cabal leksah.cabal.old
sed -e 's/Cabal ==1.6.0.1/Cabal >=1.6.0.1/g' leksah.cabal.old > leksah.cabal
cabal update
cabal install binary
cabal install utf8-string
runhaskell Setup configure --user
runhaskell Setup build
runhaskell Setup install
cd ..
# run the IDE
leksah
More information about the Leksah
mailing list