From owner-freebsd-questions Thu Apr 5 5:41: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id 4E0A837B43E for ; Thu, 5 Apr 2001 05:40:58 -0700 (PDT) (envelope-from tayers@bridge.com) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id f35CfeM28523; Thu, 5 Apr 2001 07:41:40 -0500 (CDT) Received: from (unknown [167.76.56.34]) by bcfw1d via smap (V2.1) id xma028467; Thu, 5 Apr 01 07:41:24 -0500 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id HAA22274; Thu, 5 Apr 2001 07:40:10 -0500 (CDT) Received: from 89-7 by mnmailhost (SMI-8.6/SMI-4.1) id IAA15390; Thu, 5 Apr 2001 08:40:07 -0400 To: freebsd-questions@FreeBSD.ORG Subject: Re: Can't install HTML::Parser on FreeBSD 4.2-STABLE References: From: Tim Ayers Date: 05 Apr 2001 06:40:07 -0600 In-Reply-To: Wayne Pascoe's message of "05 Apr 2001 12:47:33 +0100" Message-ID: Lines: 73 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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