Have you done a google search for "expat", downloaded that package, and installed it on your machine? It is not a CPAN package, but XML modules from CPAN depend on having it installed in order for the module tests to work (and maybe for the compilation stage to succeed as well, since expat provides a C subroutine library).