[Haskell-cafe] Can't use libraries in haskell
kommunist1917 at mail.ru
Sun Jun 26 08:56:39 CEST 2011
I'm new in haskell. I want to use xml library (http://hackage.haskell.org/package/xml) in my project.
I downloaded it.then try to build and install:
runhaskell Setup.hs configure
runhaskell Setup.hs build
runhaskell Setup.hs install
All ok. There are no errors. When i try import modules from this lib to my project, for example:
I get error:
Could not find module `Text.XML.Light.Cursor':
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
if i try:
> cabal install xml
No packages to be installed. All the requested packages are already installed.
If you want to reinstall anyway then use the --reinstall flag.
What's wrong? How can i install and use library in haskell?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe