HaXml and ghc-current

Peter Simons simons at cryp.to
Mon Jan 10 19:07:38 EST 2005


Lemmih  writes:

 > But no worries; HaXml is cabalized and should be
 > available in your CVS source tree.

I see, thanks for the info! Any advice on how to
build/install it with Cabal? I've tried it, but when Cabal
tries to create the library, it appears to get the file
suffixes wrong:

 $ runghc Setup.lhs Setup.lhs build
 | Preprocessing HaXml-1.0...
 | Building HaXml-1.0...
 | [...]
 | /usr/bin/ar: creating dist/build/libHSHaXml-1.0.a
 | /usr/bin/ar: 'dist/build/src/Text/ParserCombinators/HuttonMeijerWallace..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Combinators..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/DtdToHaskell/Convert..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/DtdToHaskell/Instance..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/DtdToHaskell/TypeDef..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Escape..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Haskell2Xml..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Html/Generate..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Html/Parse..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Html/Pretty..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Lex..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/OneOfN..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Parse..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Pretty..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Types..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Validate..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Verbatim..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Wrappers..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Xml2Haskell..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Xtract/Combinators..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Xtract/Lex..o': No such file
 | /usr/bin/ar: 'dist/build/src/Text/XML/HaXml/Xtract/Parse..o': No such file
 | /usr/local/ghc-current/bin/ghc -odir dist/build/src/tools -hidir dist/build/src/tools -o dist/build/src/tools/Canonicalise --make -isrc/tools src/tools/Canonicalise.hs
 | Chasing modules from: src/tools/Canonicalise.hs
 | src/tools/Canonicalise.hs:
 |     Could not find interface file for `Text.XML.HaXml.Wrappers'
 |     (use -v to see a list of the files searched for)

Peter



More information about the Glasgow-haskell-users mailing list