I am working on Debian GNU/Linux etch and have installed perl packages 5.8.8with CPAN configured.
In the cpan shell, I was to install the module of XML::Parser, but it always failed with many error message returned. I don't know whether if it is the issue of source on the mirror server, OR is the tool issue on my box. The error msg is quite long that I can only paste the tail part of it. Could anybody help look at this? It's really appreciated of your help error: Expat.c: In function 'XS_XML__Parser__Expat_UnsetAllHandlers': Expat.c:2609: error: 'XML_Parser' undeclared (first use in this function) Expat.c:2609: error: expected ';' before 'parser' Expat.xs:2144: error: 'parser' undeclared (first use in this function) Expat.xs:2147: error: 'CallbackVector' has no member named 'ns' Expat.xs:2148: error: 'CallbackVector' has no member named 'p' Expat.xs:2149: error: 'XML_StartNamespaceDeclHandler' undeclared (first use in this function) Expat.xs:2149: error: expected ')' before numeric constant Expat.xs:2154: error: 'XML_StartElementHandler' undeclared (first use in this function) Expat.xs:2154: error: expected ')' before numeric constant Expat.xs:2158: error: 'XML_UnknownEncodingHandler' undeclared (first use in this function) Expat.xs:2158: error: expected ')' before numeric constant Expat.c: In function 'XS_XML__Parser__Expat_ElementIndex': Expat.c:2642: error: 'XML_Parser' undeclared (first use in this function) Expat.c:2642: error: expected ';' before 'parser' Expat.xs:2167: error: 'parser' undeclared (first use in this function) Expat.xs:2168: error: 'CallbackVector' has no member named 'st_serial_stack' Expat.xs:2168: error: 'CallbackVector' has no member named 'st_serial_stackptr' Expat.c: In function 'XS_XML__Parser__Expat_SkipUntil': Expat.c:2664: error: 'XML_Parser' undeclared (first use in this function) Expat.c:2664: error: expected ';' before 'parser' Expat.xs:2179: error: 'parser' undeclared (first use in this function) Expat.xs:2180: error: 'CallbackVector' has no member named 'st_serial' Expat.xs:2182: error: 'CallbackVector' has no member named 'skip_until' Expat.c: In function 'XS_XML__Parser__Expat_Do_External_Parse': Expat.c:2687: error: 'XML_Parser' undeclared (first use in this function) Expat.c:2687: error: expected ';' before 'parser' Expat.xs:2194: error: 'parser' undeclared (first use in this function) make[1]: *** [Expat.o] Error 1 make[1]: Leaving directory `/home/michael/.cpan/build/XML-Parser-2.34/Expat' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make cpan>

