XML :: Parser no se puede construir en una caja Debian de 64 bits bastante reciente. Después de emitir cpan XML::Parser
, CPAN falla con un montón de errores sobre Expat.c y Expat.xs:¿Cómo instalar XML :: Parser sin expat-devel?
[...]
Expat.xs:2182: error: ‘CallbackVector’ has no member named ‘skip_until’
Expat.c: In function ‘XS_XML__Parser__Expat_Do_External_Parse’:
Expat.c:2904: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2904: 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 `/root/.cpan/build/XML-Parser-2.41-rpV6ok/Expat'
make: *** [subdirs] Error 2
TODDR/XML-Parser-2.41.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
mensaje en el inicio de la producción explica que se necesita Expat-devel para la construcción.
Expat debe instalarse antes de compilar XML :: Parser y no puedo encontrarlo en los directorios de la librería estándar . Instale el paquete 'expat-devel' con su gestor de paquetes . Ver 'README'.
Pero Expat-devel no está en el repositorio de Debian.
¿Es posible superar esto sin necesidad de construir/instalar expat desde la fuente?