[Haskell-cafe] Re: ANN: HSH 1.2.0

Max Vasin max.vasin at gmail.com
Wed Mar 21 07:50:34 EDT 2007


>>>>> "Thomas" == Thomas Hartman <tphyahoo at gmail.com> writes:

Thomas> Furthermore (as the above messages suggest and locate confirms), I
Thomas> seem to have mtl already

Thomas> I took a wild guess and tried specifying this with ghc -i

Thomas> like

Thomas> sudo runghc -i/usr/lib/ghc6-mtl-dev Setup.lhs configure
Thomas> and sudo runghc -i/usr/lib/ Setup.lhs configure

Thomas> but no dice.

Thomas> ***************

Thomas> thartman at linodewhyou:~/haskellInstalls/hsh$ locate libghc6-mtl-dev
Thomas> /home/thartman/libghc6-mtl-dev_1.0-3_i386.deb
Thomas> /usr/lib/libghc6-mtl-dev
Thomas> /usr/lib/libghc6-mtl-dev/register.sh
Thomas> /usr/lib/libghc6-mtl-dev/unregister.sh
Thomas> /usr/share/doc/libghc6-mtl-dev
Thomas> /usr/share/doc/libghc6-mtl-dev/changelog.Debian.gz
Thomas> /usr/share/doc/libghc6-mtl-dev/copyright
Thomas> /var/lib/dpkg/info/libghc6-mtl-dev.list
Thomas> /var/lib/dpkg/info/libghc6-mtl-dev.md5sums
Thomas> /var/lib/dpkg/info/libghc6-mtl-dev.postinst
Thomas> /var/lib/dpkg/info/libghc6-mtl-dev.prerm

As you have built ghc6.6 from sources I think that you also need to build
all haskell libs from sources. So, do

$ apt-get source libghc6-mtl-dev
$ cd <haskell-mtl-or-whatever-dir-is-named>
$ runhaskell Setup.lhs configure
$ runhaskell Setup.lhs build
$ sudo runhaskell Setup.lhs install

Another way is to take ghc6 and all haskell libs from fiesty.

-- 
WBR,
Max Vasin.



More information about the Haskell-Cafe mailing list