[Haskell-cafe] Problems with HaXml

Tom Spencer t.e.spencer at gmail.com
Sun Oct 31 05:58:29 EST 2004


Hi,

I thought i had successfully installed HaXml, ghci loads up the
package successfully etc. but then it complains that it can't find
XmlLib.

Using -v i get the following:

Prelude> :load iChing.hs
*** Chasing dependencies:
iChing.hs:
   Can't find module `XmlLib'
   locations searched:
       XmlLib.hs
       XmlLib.lhs
       /usr/lib/ghc-6.2.1/imports/XmlLib.hi
       /usr/lib/ghc-6.2.1/imports/HaXml/XmlLib.hi
       /usr/lib/ghc-6.2.1/hslibs-imports/data/XmlLib.hi
       /usr/lib/ghc-6.2.1/hslibs-imports/util/XmlLib.hi
       /usr/lib/ghc-6.2.1/hslibs-imports/posix/XmlLib.hi
       /usr/lib/ghc-6.2.1/hslibs-imports/concurrent/XmlLib.hi
       /usr/lib/ghc-6.2.1/hslibs-imports/lang/XmlLib.hi

i ran the install script again to see what was happening and noticed
this line at the end of the install script:

warning: can't find GHCi lib `HSHaXml.o'
Saving old package config file... done.
Writing new package config file... done.
make[1]: Leaving directory `/usr/local/bin/HaXml-1.12/obj/ghc'

it doesn't seem to work in ghc or hugs either
any ideas?

Thanks in advance
Tom Spencer

P.S.  apologies if i've accidentally posted this twice


More information about the Haskell-Cafe mailing list