Date: 05 Apr 2001 06:40:07 -0600 From: Tim Ayers <tayers@bridge.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Can't install HTML::Parser on FreeBSD 4.2-STABLE Message-ID: <y9tfo6zc.fsf@tim.bridge.com> In-Reply-To: Wayne Pascoe's message of "05 Apr 2001 12:47:33 %2B0100" References: <m1d7ar1sbu.fsf@zaphod.realtime.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Wayne, I just built and tested this module on FreeBSD 4-STABLE with Perl 5.6.0 I installed myself, so I think the module is okay. Since 'cc' is complaining about undeclared functions it looks like at least some of your Perl include files are missing or messed up. What does your /usr/local/lib/perl5/5.6.0/i386-freebsd/CORE directory look like? Mine is $ cd /usr/local/lib/perl5/5.6.0/i386-freebsd/CORE; ls -s total 2081 2 EXTERN.h 16 intrpvar.h 2 perlvars.h 2 INTERN.h 48 iperlsys.h 2 perly.h 14 XSUB.h 6 keywords.h 12 pp.h 3 av.h 1056 libperl.a 11 pp_proto.h 2 cc_runtime.h 2 mg.h 61 proto.h 94 config.h 1 nostdio.h 12 regcomp.h 16 cop.h 69 objXSUB.h 4 regexp.h 5 cv.h 14 op.h 13 regnodes.h 4 dosish.h 45 opcode.h 12 scope.h 240 embed.h 8 opnames.h 33 sv.h 70 embedvar.h 3 patchlevel.h 10 thrdvar.h 2 fakethr.h 87 perl.h 10 thread.h 1 form.h 31 perlapi.h 5 unixish.h 5 gv.h 1 perlio.h 2 utf8.h 20 handy.h 10 perlsdio.h 1 util.h 7 hv.h 3 perlsfio.h 4 warnings.h HTH and Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) >>>>> "W" == Wayne Pascoe <wayne.pascoe@realtime.co.uk> writes: W> I am trying to build HTML::Parser on a FreeBSD 4.2-STABLE box. I have W> tried building by doing W> perl -MCPAN -e shell W> install HTML::Parser W> and this is the output I get when it dies: W> [zaphod ~/.cpan/build/HTML-Parser-3.20] W> # make W> cc -c -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"3.20\" -DX W> S_VERSION=\"3.20\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd/CORE -D W> MARKED_SECTION Parser.c W> In file included from Parser.xs:84: W> util.c: In function `decode_entities': W> util.c:101: `hexdigit' undeclared (first use in this function) W> util.c:101: (Each undeclared identifier is reported only once W> util.c:101: for each function it appears in.) W> In file included from Parser.xs:85: W> hparser.c: In function `report_event': W> hparser.c:462: `sv_yes' undeclared (first use in this function) W> hparser.c:496: `sv_undef' undeclared (first use in this function) W> Parser.xs: In function `XS_HTML__Parser_strict_comment': W> Parser.xs:273: `sv_yes' undeclared (first use in this function) W> Parser.xs: In function `XS_HTML__Parser_boolean_attribute_value': W> Parser.xs:284: `sv_undef' undeclared (first use in this function) W> Parser.xs: In function `XS_HTML__Parser_handler': W> Parser.xs:379: `sv_undef' undeclared (first use in this function) W> Parser.c: In function `boot_HTML__Parser': W> Parser.c:574: `sv_yes' undeclared (first use in this function) W> *** Error code 1 W> Has anyone else seen something similar / the same, and if so, how did W> you solve it? W> I'm using perl 5.6.0 on this machine compiled from source. I get the W> same output if I cd ~/.cpan/build/HTML-Parser-3.20 and do a W> perl Makefile.PL && \ W> make 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?y9tfo6zc.fsf>