Skip site navigation (1)Skip section navigation (2)
Date:      05 Apr 2001 12:47:33 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Can't install HTML::Parser on FreeBSD 4.2-STABLE
Message-ID:  <m1d7ar1sbu.fsf@zaphod.realtime.co.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

I am trying to build HTML::Parser on a FreeBSD 4.2-STABLE box. I have
tried building by doing
perl -MCPAN -e shell
install HTML::Parser

and this is the output I get when it dies:

[zaphod ~/.cpan/build/HTML-Parser-3.20]
# make
cc -c  -fno-strict-aliasing -I/usr/local/include -O      -DVERSION=\"3.20\"  -DX
S_VERSION=\"3.20\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd/CORE -D
MARKED_SECTION Parser.c
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:462: `sv_yes' undeclared (first use in this function)
hparser.c:496: `sv_undef' undeclared (first use in this function)
Parser.xs: In function `XS_HTML__Parser_strict_comment':
Parser.xs:273: `sv_yes' undeclared (first use in this function)
Parser.xs: In function `XS_HTML__Parser_boolean_attribute_value':
Parser.xs:284: `sv_undef' undeclared (first use in this function)
Parser.xs: In function `XS_HTML__Parser_handler':
Parser.xs:379: `sv_undef' undeclared (first use in this function)
Parser.c: In function `boot_HTML__Parser':
Parser.c:574: `sv_yes' undeclared (first use in this function)
*** Error code 1

Has anyone else seen something similar / the same, and if so, how did
you solve it? 

I'm using perl 5.6.0 on this machine compiled from source. I get the
same output if I cd ~/.cpan/build/HTML-Parser-3.20 and do a 

perl Makefile.PL && \
make

TIA,

-- 
- Wayne Pascoe 
E-mail: wayne.pascoe@realtime.co.uk
Phone : +44 (0) 20 7544 4668
Mobile: +44 (0) 788 431 1675

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1d7ar1sbu.fsf>