
Hello, I have a small program with a 'import XmlParse' - statement. During compiling with ghc --make main.hs I get following error message ghc-5.02.2: chasing modules from: main.hs ghc-5.02.2: can't find module `XmlTypes' Ghc finds modules like IO and System. Which option do I need, that ghc finds the Xml... - modules. thanks -- Christof Lehmann VUB Printmedia GmbH Berlin Bonn Dresden Köln Leipzig Chopinstr. 4 TEL: +49 341 960 50 93 04103 Leipzig FAX: +49 341 960 50 92

Christof Lehmann
I have a small program with a 'import XmlParse' - statement. During compiling with ghc --make main.hs I get following error message ghc-5.02.2: chasing modules from: main.hs ghc-5.02.2: can't find module `XmlTypes'
Ghc finds modules like IO and System. Which option do I need, that ghc finds the Xml... - modules.
Try adding "-package text". Btw, the version of HaXml (1.00) supplied with ghc-5.02.2 is well out-of-date now. Newer versions are distributed separately - see http://www.haskell.org/HaXml/ If you build and install HaXml from sources, then the ghc option you will need to use it is "-package HaXml". Regards, Malcolm
participants (2)
-
Christof Lehmann
-
Malcolm Wallace