XML::SAX::Expat and XML::SAX::ExpatXS will fail when trying to install via g-cpan -i <modulename> Installing them via the CPAN shell went just fine.
what version of g-cpan ? and please post g-cpan output
They generate fine here with r228 of g-cpan, to be released shortly.