in reply to Re^2: use XML::LibXML; is causing compile error
in thread use XML::LibXML; is causing compile error

None of the above, I tried v1.66 for Perl 5.8.

Cheers
Harry

  • Comment on Re^3: use XML::LibXML; is causing compile error

Replies are listed 'Best First'.
Re^4: use XML::LibXML; is causing compile error
by syphilis (Archbishop) on Aug 21, 2008 at 12:35 UTC
    Could be worth a try.

    Earlier you reported the error Can't load 'C:/Perl/site/lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML: load_file:The specified procedure could not be found ..

    That's fairly typical of what happens when your XML C library doesn't provide the required symbols (eg, because it's too old). So ... if the trouchelle rep provides the opportunity to download an XML dll, you should probably accept the offer. Or, you should try the uwinnipeg version which, I'm confident, will provide you with the offer to download any other pre-requisites. (The trouchelle rep is usually reliable in this regard, too.)

    If the XML::LibXML binaries that you're using expect a certain set of symbols from the XML C library, then there's little point in providing a C library that doesn't provide those symbols (functions).

    Cheers,
    Rob

      I had already tried that, i.e. "accept their offer" but it didn't work either. I should have mentioned that in Update 2. I have some options left which I will try as well (given time...). But after reading Problems installing XML::LibXML for Perl5.10 on Win32 platform I got a bit depressed (reinventing buggy wheels?). I am going to try to build it myself and keep my eye on my bug report.

      Cheers
      Harry

        I am going to try to build it myself

        Good luck. I discovered I already have the XML library (libxml2.a) and, you're right, the XML::LibXML-1.66 source looks pretty fucked:
        C:\_32\comp\XML-LibXML-1.66>perl Makefile.pl INC="-IC:/_32/msys/1.0/lo +cal/include" LIBS="-LC:/_32/msys/local/lib -lxml2" enable native perl UTF8 looking for -lxml2... yes Warning: prerequisite XML::LibXML::Common 0.13 not found. Warning: prerequisite XML::NamespaceSupport 1.07 not found. Warning: prerequisite XML::SAX 0.11 not found. Note (probably harmless): No library found for -lxml2 Note (probably harmless): No library found for -lzlib Writing Makefile for XML::LibXML
        Personally, if I was in a hurry to get this working (which I'm not) I'd try the uwinnipeg binaries.

        Cheers,
        Rob