[Bug 235785] www/p5-WWW-Mechanize: add dependency HTML::TokeParser
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Feb 16 19:26:36 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235785
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 at FreeBSD.org
Reporter: perlhack at protonmail.com
Assignee: perl at FreeBSD.org
Flags: maintainer-feedback?(perl at 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 = 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::TokeParser
is a dependency.
https://metacpan.org/pod/release/OALDERS/WWW-Mechanize-1.91/lib/WWW/Mechanize.pm
There is currently no p5-HTML-TokeParser port, so it will need to be created.
(Note that there is a p5-HTML-TokeParser-Simple port, though.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list