Andrea Rossato [EMAIL PROTECTED] wrote:
So, I'm not able to create an object file (dynamically) linked to
HaXml. This is the reason why hxml doesn't work with ghc (and ghci)
but works perfectly with hugs.
Now, I don't know whether I should contact the HaXml author or submit
a bug report
Andrea Rossato wrote:
It seems related to dynamic linking: I created a separated module
(Xml.hs) that imports Text.XML.HaXml and parses a xml string. I then
created a file (xml.hs) that imports Xml and prints name, defined in
Xml.hs. The expected output should be elementTest.
Whatever it is,
Il Mon, Sep 11, 2006 at 11:30:41AM +0200, Udo Stenzel ebbe a scrivere:
Whatever it is, I cannot reproduce any of your problems. I installed
HaXml-1.13.2 from source using Cabal, and both ghc -c Xml.hs and ghc
--make xml.hs work as expected, even without the -package switch. This
is GHC 6.4.1
Il Sat, Sep 09, 2006 at 05:20:55PM -0400, Mark T.B. Carroll ebbe a scrivere:
FWIW I have the same problem - I can't use HaXml with ghci.
So it's not just you. (-:
Indeed!
So I found my first bug in ghc... And now I'll dig into ghc bug
reports to see if someone is working on the problem...
Il Sat, Sep 09, 2006 at 04:34:04AM +0100, Marco André F. de Almeida ebbe a
scrivere:
I know this will not solve your problem, but just so that you
know that with Hugs, you code works without any problems.
If you don't want/need to compile the program, I guess one interpreter
(Hugs) is as good
It looks a bit like 'HaXml' has been updated after 'hxml' was built.
Try rebuilding 'hxml' against the 'HaXml' you've got installed.
On 9/10/06, Andrea Rossato [EMAIL PROTECTED] wrote:
Il Sat, Sep 09, 2006 at 05:20:55PM -0400, Mark T.B. Carroll ebbe a scrivere:
FWIW I have the same problem - I
Il Sun, Sep 10, 2006 at 11:41:45AM +0200, Lemmih ebbe a scrivere:
It looks a bit like 'HaXml' has been updated after 'hxml' was built.
Try rebuilding 'hxml' against the 'HaXml' you've got installed.
No, I installed the together, HaXml first and then hxml
In hxml there where a couple of bugs,
Andrea Rossato wrote:
[12:03:[EMAIL PROTECTED]:~/devel/haskell/xml]$ ghci -package HaXml xml1.hs
[logo]
Loading package base-1.0 ... linking ... done.
Loading package haskell98-1.0 ... linking ... done.
Loading package HaXml-1.13.1 ... linking ... done.
Skipping Main ( xml1.hs,
Il Sun, Sep 10, 2006 at 01:56:25PM +0200, Udo Stenzel ebbe a scrivere:
Hrm, you're accessing a symbol presumably found in a library that isn't
loaded. Either GHC cannot find the library, which shouldn't happen if
you're using the right package switch, or the .hi file you compiled
against is
Il Sat, Sep 09, 2006 at 02:17:36PM +0200, Andrea Rossato ebbe a scrivere:
probably it's me, but I cannot understand what I'm doing wrong.
Thanks to the discussion of this thread I was able to (sort of)
isolate the problem and understand why I cannot get hxml (if linked
with HaXml) to work with
On 9/9/06, Andrea Rossato [EMAIL PROTECTED] wrote:
Hello!
[snip]
During interactive linking, GHCi couldn't find the following symbol:
TextziXMLziHaXmlziParse_xmlParse_closure
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session.
Il Sat, Sep 09, 2006 at 09:58:03AM -0700, Jason Dagit ebbe a scrivere:
Maybe ...use -package HaXml interactively with GHCi... (That's from
the HaXml website.)
I'm using -package HaXml, obviously, otherwise the module would not
load.
What I do not understand is that unresolved symbol message: I
12 matches
Mail list logo