I'm trying to install this module, and there are two dependencies that
need to first be installed - XML::Liberal 0.02 and XML::RSS::LibXML 0.09.
So, I then proceeded to install XML::Liberal. having problems with MAKE
TEST, and here's what shows up. It seems that the URLs are incorrect
for some reason, as you can see at the bottom. How do I fix this so
that this test won't fail?
[ERROR] [Mon Aug 6 21:48:43 2007] MAKE TEST failed: PERL_DL_NONLAZY=1
/usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/01basic.....................ok
t/02parse.....................ok
t/03doc.......................ok
t/04node......................ok
t/05text......................ok
t/06elements..................ok
2/187 skipped: various reasons
t/07dtd.......................ok
t/08findnodes.................ok
t/09xpath.....................ok
t/10ns........................ok
t/11memory....................ok
26/26 skipped: various reasons
t/12html......................ok
2/38 skipped: various reasons
t/13dtd.......................ok
t/14sax.......................ok
t/15nodelist..................ok
t/16docnodes..................ok
t/17callbacks.................ok
t/18docfree...................ok
t/19encoding..................ok
t/20extras....................ok
t/23rawfunctions..............ok
t/24c14n......................# Test 15 got: "<n1:elem2
xmlns:n1=\"http://example.net\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 154)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 154 is: ok( $c14n_res, $result);
# Test 16 got: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 158)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 158 is: ok( $c14n_res, $result);
# Test 17 got: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 162)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 162 is: ok( $c14n_res, $result);
# Test 18 got: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 166)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 166 is: ok( $c14n_res, $result);
# Test 19 got: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 170)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 170 is: ok( $c14n_res, $result);
# Test 20 got: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:n2=\"http://foo.example\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>" (t/24c14n.t
at line 174)
# Expected: "<n1:elem2 xmlns:n1=\"http://example.net\"
xmlns:n2=\"http://foo.example\" xml:lang=\"en\">\n <n3:stuff
xmlns:n3=\"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
# t/24c14n.t line 174 is: ok( $c14n_res, $result_n0n2);

Signature
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)
Jonasbn - 07 Aug 2007 08:19 GMT
Hello Lola,
Get a later version of XML::Liberal, I can see from the CPAN testers
reports that this version does not seem to have ever successfully
completed a test run.
http://cpantesters.perl.org/show/XML-Liberal.html#XML-Liberal-0.02
The latest version is 0.17 and the test suite seems to have been
cleaned up.
Just yell if you need assistance,
jonasbn
> I'm trying to install this module, and there are two dependencies
> that need to first be installed - XML::Liberal 0.02 and
[quoted text clipped - 80 lines]
> \"ftp://example.org\"></n3:stuff>\n </n1:elem2>"
> # t/24c14n.t line 174 is: ok( $c14n_res, $result_n0n2);
Lola J. Lee Beno - 07 Aug 2007 13:23 GMT
jonasbn wrote:
> Hello Lola,
>
[quoted text clipped - 6 lines]
> The latest version is 0.17 and the test suite seems to have been
> cleaned up.
Checking the install log, it looks like XML-Liberal-0.17 is what was
downloaded for install. Seems that the test suite is still messed up.

Signature
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)
Jonasbn - 07 Aug 2007 14:12 GMT
Hi Lola,
The errors come from XML::LibXML.
I can replicate the failing tests here. What version of xmllib do you
have installed btw.
Try: xmllint --version
Should report the version.
jonasbn
> jonasbn wrote:
>> Hello Lola,
[quoted text clipped - 12 lines]
> was downloaded for install. Seems that the test suite is still
> messed up.
Lola J. Lee Beno - 07 Aug 2007 14:19 GMT
jonasbn wrote:
> I can replicate the failing tests here. What version of xmllib do you
> have installed btw.
>
> Try: xmllint --version
>
> Should report the version.
xmllint: using libxml version 20616
compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer
XInclude Iconv Unicode Regexps Automata Schemas

Signature
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)
Jonasbn - 12 Aug 2007 20:05 GMT
Hi Lola,
I am still looking into the problem. But let me not stop you.
As far as I can read from the failling tests it should be ok to
install XML::LibXML and move on.
Can I get you to send me the version of libxml2 using xml2-config?
% xml2-config --version
I might just report the problem to the author in the end, but
currently I am just attempting to locate the problem.
jonasbn
--
AIM: BjonasN Gtalk: jonasbn@gmail.com
ICQ: 62401545 MSN: jonasbn@io.dk
> jonasbn wrote:
>>
[quoted text clipped - 8 lines]
> compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer
> XInclude Iconv Unicode Regexps Automata Schemas