[Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Björn
Hi @all I am quite new to haskell ... But need to get the HaXml to work... Unfortunatly I dont know why ghc doesnt find the lib... Ghc is installed on my linux and it works it appears to be the ghc 6.6 I managed to compile the little hello world programm ... But as soon as i try to import HaXml

Re: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Andrew Coppin
Björn wrote: Hi @all I am quite new to haskell ... But need to get the HaXml to work... Unfortunatly I dont know why ghc doesnt find the lib... Ghc is installed on my linux and it works it appears to be the ghc 6.6 I managed to compile the little hello world programm ... But as soon as i try

AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Björn
type to compile it in the shell: ghc --make bjoern -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andrew Coppin Gesendet: Sonntag, 27. Mai 2007 17:06 An: haskell-cafe@haskell.org Betreff: Re: [Haskell-cafe] Problems with HaXml -- ghc cant find

Re: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Andrew Coppin
Björn wrote: Hey, Ghc-pkg list says: ... HaXml-1.13.2, ... so that should be alright. That's a good start - you've got further than I ever did! My Programm is something simple right now: Module bjoern where Import HaXml Import IO Main = putStrLn hello world But it always fails to

Re: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Stefan O'Rear
On Sun, May 27, 2007 at 04:48:10PM +0100, Andrew Coppin wrote: Björn wrote: My Programm is something simple right now: Module bjoern where Keywords like module must be lower case. Module names must be capitalized. module Bjoern where Import HaXml import Text.XML.HaXml Import IO

Re: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Andrew Coppin
Stefan O'Rear wrote: The argument to --make must be a file name, and the file must have a .hs or .lhs extension. Really? Over here GHC seems to accept module names... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

AW: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs

2007-05-27 Thread Björn
: Sonntag, 27. Mai 2007 17:56 An: Andrew Coppin Cc: haskell-cafe@haskell.org Betreff: Re: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs On Sun, May 27, 2007 at 04:48:10PM +0100, Andrew Coppin wrote: Björn wrote: My Programm is something simple right now: Module bjoern where

[Haskell-cafe] Problems with HaXml

2004-10-31 Thread Tom Spencer
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: