Ian Kallen <[EMAIL PROTECTED]> writes:

> I just installed Perl 5.6.1 on FreeBSD 4.2 and I'm trying to populate my
> site_perl library... HTML::Parser 3.22 is bombing out in the compile
> thusly:
> 
> In file included from Parser.xs:84:
> util.c: In function `decode_entities':
> util.c:101: `hexdigit' undeclared (first use in this function)
> util.c:101: (Each undeclared identifier is reported only once
> util.c:101: for each function it appears in.)
> In file included from Parser.xs:85:
> hparser.c: In function `report_event':
> hparser.c:461: `sv_yes' undeclared (first use in this function)
> hparser.c:495: `sv_undef' undeclared (first use in this function)
> Parser.xs: In function `XS_HTML__Parser_strict_comment':
> Parser.xs:276: `sv_yes' undeclared (first use in this function)
> Parser.xs: In function `XS_HTML__Parser_boolean_attribute_value':
> Parser.xs:287: `sv_undef' undeclared (first use in this function)
> Parser.xs: In function `XS_HTML__Parser_handler':
> Parser.xs:382: `sv_undef' undeclared (first use in this function)
> Parser.c: In function `boot_HTML__Parser':
> Parser.c:577: `sv_yes' undeclared (first use in this function)
> *** Error code 1
> 
> Is there something funny that needs to happen in Parser.xs wrt to the
> defines in patchlevel.h? There seems to be a few special cases in there
> but I thought I'd ask here in case this is a known issue with a known
> fix.

The reason for this kind of failure is usually that you have some
other 'patchlevel.h' file, not related to perl, picked up by your
compiler.

Regards,
Gisle

Reply via email to