I am trying to follow the instructions here:
http://www.devx.com/enterprise/Article/30809

Any ideas what is going wrong?

# perl -MCPAN -e shell
cpan> install XML::LibXML
[some error about missing libxml2]

# yum install libxml2
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB
00:00
freshrpms 100% |=========================| 951 B
00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libxml2
Nothing to do

[I downloaded libxml2-2.6.28 from xmlsoft.org and compiled and
installed]
# perl -MCPAN -e shell
cpan> install XML::LibXML

--Truncated--

BEGIN failed--compilation aborted at /root/.cpan/build/XML-LibXML-1.63/
blib/lib/XML/LibXML.pm line 12.
Compilation failed in require at t/32xpc_variables.t line 5.
BEGIN failed--compilation aborted at t/32xpc_variables.t line 5.
t/
32xpc_variables.............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/40reader....................Bareword
"XML_READER_TYPE_SIGNIFICANT_WHITESPACE" not allowed while "strict
subs" in use at t/40reader.t line 64.
Bareword "XML_READER_TYPE_TEXT" not allowed while "strict subs" in use
at t/40reader.t line 163.
Bareword "XML_READER_TYPE_END_ELEMENT" not allowed while "strict subs"
in use at t/40reader.t line 166.
Execution of t/40reader.t aborted due to compilation errors.
# Looks like your test died before it could output anything.
t/
40reader....................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/
90threads...................ok
14/14 skipped: optional (set THREAD_TEST=1 to run these tests)
Failed Test Stat Wstat Total Fail Failed List of
Failed
-------------------------------------------------------------------------------
t/01basic.t 2 512 2 3 150.00% 1-2
t/02parse.t 2 512 ?? ?? % ??
t/03doc.t 2 512 131 262 200.00% 1-131
t/04node.t 2 512 136 272 200.00% 1-136
t/05text.t 2 512 32 64 200.00% 1-32
t/06elements.t 2 512 187 374 200.00% 1-187
t/07dtd.t 2 512 38 76 200.00% 1-38
t/08findnodes.t 2 512 46 91 197.83% 1-46
t/09xpath.t 2 512 22 44 200.00% 1-22
t/10ns.t 2 512 122 244 200.00% 1-122
t/11memory.t 2 512 26 0 0.00% ??
t/12html.t 2 512 38 76 200.00% 1-38
t/13dtd.t 2 512 19 38 200.00% 1-19
t/14sax.t 2 512 52 104 200.00% 1-52
t/15nodelist.t 2 512 11 22 200.00% 1-11
t/16docnodes.t 2 512 ?? ?? % ??
t/17callbacks.t 2 512 43 85 197.67% 1-43
t/18docfree.t 2 512 1 2 200.00% 1
t/19encoding.t 2 512 7 14 200.00% 1-7
t/20extras.t 2 512 12 24 200.00% 1-12
t/23rawfunctions.t 2 512 2 4 200.00% 1-2
t/24c14n.t 2 512 20 40 200.00% 1-20
t/25relaxng.t 2 512 ?? ?? % ??
t/26schema.t 2 512 ?? ?? % ??
t/27new_callbacks_simple.t 2 512 21 41 195.24% 1-21
t/28new_callbacks_multiple.t 2 512 50 99 198.00% 1-50
t/29id.t 2 512 ?? ?? % ??
t/30xpathcontext.t 2 512 54 108 200.00% 1-54
t/31xpc_functions.t 2 512 32 64 200.00% 1-32
t/32xpc_variables.t 2 512 35 70 200.00% 1-35
t/40reader.t 255 65280 ?? ?? % ??
40 subtests skipped.
Failed 31/32 test scripts, 3.12% okay. 1113/1153 subtests failed,
3.47% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force