Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2019 19:26:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235785] www/p5-WWW-Mechanize: add dependency HTML::TokeParser
Message-ID:  <bug-235785-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235785

            Bug ID: 235785
           Summary: www/p5-WWW-Mechanize: add dependency HTML::TokeParser
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: perlhack@protonmail.com
          Assignee: perl@FreeBSD.org
             Flags: maintainer-feedback?(perl@FreeBSD.org)

I recently installed 'www/p5-WWW-Mechanize' and wrote a short script.

---
#!/usr/local/bin/perl

use strict;
use warnings;

use WWW::Mechanize;

my $mech =3D WWW::Mechanize->new();
---

Executing that, I get the following error:

---
Can't locate HTML/TokeParser.pm in @INC (you may need to install the
HTML::TokeParser module) (@INC contains:
/usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at
/usr/local/lib/perl5/site_perl/WWW/Mechanize.pm line 15.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/WWW/Mechanize.pm line 15.
Compilation failed in require at ./test.pl line 6.
BEGIN failed--compilation aborted at ./test.pl line 6.
---

According to the METACPAN info for WWW:Mechanize, the package HTML::TokePar=
ser
is a dependency.
https://metacpan.org/pod/release/OALDERS/WWW-Mechanize-1.91/lib/WWW/Mechani=
ze.pm

There is currently no p5-HTML-TokeParser port, so it will need to be create=
d.
(Note that there is a p5-HTML-TokeParser-Simple port, though.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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