[Haskell-cafe] Problem building HXT

Uwe Schmidt uwe at fh-wedel.de
Tue Apr 8 07:03:46 EDT 2008


ln wrote:

> I would like to try HXT, but I can't manage to build it. I resolved all
>
> the dependencies, but I get the following error:
> > > ln at igemyvuci:~/Desktop/hxt$ make all
> > > make -C src      all VERSION=7.5
> > > make[1]: Entering directory `/home/ln/Desktop/hxt/src'
> > > make install_local_hxt
> > > make[2]: Entering directory `/home/ln/Desktop/hxt/src'
> > > ghc -Wall -O2 -fglasgow-exts -ignore-package hxt -package-name hxt-7.5
> > > -package parsec -package HTTP -package tagsoup --make HXT.hs
> > > [  1 of 143] Compiling Text.XML.HXT.Validator.RE (
> > > Text/XML/HXT/Validator/RE.hs, Text/XML/HXT/Validator/RE.o )
> > > (.....)
> > > [100 of 143] Compiling Text.XML.HXT.Parser.TagSoup (
> > > Text/XML/HXT/Parser/TagSoup.hs, Text/XML/HXT/Parser/TagSoup.o )
> > >
> > > Text/XML/HXT/Parser/TagSoup.hs:305:21: Not in scope: `options'
> > > make[2]: *** [libHShxt.a] Error 1
>
> The alternative installation method with cabal leads to the same result.
>
> Using Ubuntu 8.04 Beta and GHC6.8. Maybe there are incompabilities with
> newer versions of the dependencies?

please use tagsoup version 0.4 from hackage.
That's the version which works with hxt-7.5.
We will specify the precise version in the cabal file
of the next hxt release.

Uwe


More information about the Haskell-Cafe mailing list