
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

Tom Spencer
I thought i had successfully installed HaXml, ghci loads up the package successfully etc. but then it complains that it can't find XmlLib.
There isn't any module called XmlLib in HaXml. You maybe want to import Text.XML.HaXml instead? Regards, Malcolm

Tom Spencer
writes: I thought i had successfully installed HaXml, ghci loads up the package successfully etc. but then it complains that it can't find XmlLib.
There isn't any module called XmlLib in HaXml. You maybe want to import Text.XML.HaXml instead?
Thanks, that seems to have done the trick
participants (2)
-
Malcolm Wallace
-
Tom Spencer