ERROR building webkit-gtk2 after updating to Perl
cmt at burggraben.net
Sat May 21 12:32:29 UTC 2011
## Jerry (jerry at seibercom.net):
> Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /usr/local/lib/perl5/5.14.0/BSDPAN /usr/local/lib/perl5/site_perl/5.14.0/mach /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/mach /usr/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38.
> BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38.
> gmake: *** [DerivedSources/HTMLElementFactory.cpp] Error 2
> *** Error code 1
Switch.pm was deprecated for some time as a core perl module and finally
removed from 5.14.0. You need to install devel/p5-Switch for building
webkit-gtk2 (same goes for chromium). I'm just figuring out how how to
have a conditional dependency, then I'll send a PR.
More information about the freebsd-ports