Andy Catero <[EMAIL PROTECTED]> writes:
> /usr/local/perl5/lib/5.00502/ExtUtils/xsubpp -typemap
> /usr/local/perl5/lib/5.00502/ExtUtils/typemap -typemap typemap Parser.xs
> >Parser.tc && mv Parser.tc Parser.c
> gcc -c -D_HPUX_SOURCE -I/usr/local/include -O
> -DVERSION=\"3.08\" -DXS_VERSION=\"3.08\" -fpic
> -I/usr/local/perl5/lib/5.00502/PA-RISC1.1/CORE -DMARKED_SECTION Parser.c
> util.c: In function `decode_entities':
> In file included from Parser.xs:70:
> util.c:59: `hexdigit' undeclared (first use in this function)
> util.c:59: (Each undeclared identifier is reported only once
> util.c:59: for each function it appears in.)
> *** Error exit code 1
The hexdigit stuff is supposed to be declared in one of the perl
standard headers. My guess is that this must be something that is
different in 5.005_02. Could you try to upgrade to perl5.005_03 (or
5.6.0).
If you need to stick with 5.005_02 you should be able to get
HTML-Parser to compile by adding a line like this:
static char *hexdigit = "0123456789abcdef0123456789ABCDEF";
somewhere near the beginning of Parser.xs and then recompile.
Regards,
Gisle