Installation instruction for Ubuntu 8.10

luc.taesch@gmail.com luc.taesch at googlemail.com
Thu Apr 9 00:23:53 EDT 2009


I had the same problem; I fixed by getting the ghtk2hs not from darcs but
the tar 0.10.0

also make sure after the reconfigure that it tells you gtksourceview2 will
get built.

not fully sure thought, just take that from my memory

Luc


2009/4/9 Mariana Bravo <marivb at gmail.com>

> Hello all,
>
> Thanks for the guide, Maciej! Everything went pretty smoothly until I got
> to "runhaskell Setup configure --user". This command ends with the following
> error:
> Setup: At least the following dependencies are missing:
> glib >=0.10, gtk >=0.10, gtksourceview2 >=0.10.0
>
> Only these libs were installed with no problems...
> Dows anyone know how to fix this?
>
> Thanks in advance for any help.
> Mariana
>
> 2009/4/7 Maciej Noszczyński <maciej.noszczynski at pwr.wroc.pl>
>
> 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
>>
>> _______________________________________________
>> Leksah mailing list
>> Leksah at projects.haskell.org
>> http://projects.haskell.org/cgi-bin/mailman/listinfo/leksah
>>
>
>
>
> --
> Mariana Bravo
>
> Celular: (11) 9179 7796
> msn: marivb at gmail.com
> Skype: marivbravo
>
> _______________________________________________
> Leksah mailing list
> Leksah at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/leksah
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/leksah/attachments/20090409/cee10e18/attachment.htm 


More information about the Leksah mailing list