You need to do some Makefile hacking because the existing Perl module for discovering library dependencies (ExtUtils::Liblist::Kid) doesn't work that well on Windows. In all of the Makefiles for XML::LibXML* that are generated when you run perl Makefile.PL, you need to add C:\camelbox\bin\zlib1.dll and C:\camelbox\bin\libxml2.dll to the environment variables LDLOADLIBS and EXTRALIBS. So those environment variables should look something like this when you're done:
EXTRALIBS = C:\camelbox\lib\libmsvcrt.a C:\camelbox\lib\libmoldname.a +C:\camelbox\lib\libkernel32.a C:\camelbox\lib\libuser32.a C:\camelbox +\lib\libgdi32.a C:\camelbox\lib\libwinspool.a C:\camelbox\lib\libcomd +lg32.a C:\camelbox\lib\libadvapi32.a C:\camelbox\lib\libshell32.a C:\ +camelbox\lib\libole32.a C:\camelbox\lib\liboleaut32.a C:\camelbox\lib +\libnetapi32.a C:\camelbox\lib\libuuid.a C:\camelbox\lib\libws2_32.a +C:\camelbox\lib\libmpr.a C:\camelbox\lib\libwinmm.a C:\camelbox\lib\l +ibversion.a C:\camelbox\lib\libodbc32.a C:\camelbox\lib\libodbccp32.a + C:\camelbox\bin\zlib1.dll C:\camelbox\bin\libxml2.dll LDLOADLIBS = C:\camelbox\lib\libmsvcrt.a C:\camelbox\lib\libmoldname.a + C:\camelbox\lib\libkernel32.a C:\camelbox\lib\libuser32.a C:\camelbo +x\lib\libgdi32.a C:\camelbox\lib\libwinspool.a C:\camelbox\lib\libcom +dlg32.a C:\camelbox\lib\libadvapi32.a C:\camelbox\lib\libshell32.a C: +\camelbox\lib\libole32.a C:\camelbox\lib\liboleaut32.a C:\camelbox\li +b\libnetapi32.a C:\camelbox\lib\libuuid.a C:\camelbox\lib\libws2_32.a + C:\camelbox\lib\libmpr.a C:\camelbox\lib\libwinmm.a C:\camelbox\lib\ +libversion.a C:\camelbox\lib\libodbc32.a C:\camelbox\lib\libodbccp32. +a C:\camelbox\bin\zlib1.dll C:\camelbox\bin\libxml2.dll
You can use the 'look' command from within the CPAN shell to download the source to hack it up prior to running 'dmake'. Using the above instructions I was able to get XML::LibXML::Common and XML::LibXML to compile under Camelbox (after installing the other prerequisites of XML::SAX and XML::NamespaceSupport of course).
C:\camelbox\.cpan\build\XML-LibXML-1.69-8uOaSj>perl -e "use XML::LibXM +L; print $XML::LibXML::VERSION . qq(\n);" 1.69 C:\camelbox\.cpan\build\XML-LibXML-1.69-8uOaSj>
Thanks, Brian

In reply to Re: XML::LibXML, Windows, & Camelbox Install Problems by spicyjack
in thread XML::LibXML, Windows, & Camelbox Install Problems by boblawblah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.