ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Jerry
After updating Perl, I am unable to build www/webkit-gtk2. It
terminates with the following error message:

/usr/local/bin/perl ./WebCore/css/makeprop.pl
mv CSSPropertyNames.* ./DerivedSources
/usr/local/bin/perl -ne 'print lc' ./WebCore/css/CSSValueKeywords.in 
./WebCore/css/SVGCSSValueKeywords.in  CSSValueKeywords.in
if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate 
value!'; exit 1; fi
/usr/local/bin/perl ./WebCore/css/makevalues.pl
mv CSSValueKeywords.* ./DerivedSources
  GENDerivedSources/HTMLElementFactory.cpp
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

Stop in /usr/ports/www/webkit-gtk2.

The complete log file is available at:
http://seibercom.net/logs/webkit-gtk2.txt

FreeBSD 8.2-STABLE amd64

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Christoph Moench-Tegeder
## Jerry (je...@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.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Marco Beishuizen

On Sat, 21 May 2011, the wise Jerry wrote:


After updating Perl, I am unable to build www/webkit-gtk2. It
terminates with the following error message:

/usr/local/bin/perl ./WebCore/css/makeprop.pl mv CSSPropertyNames.* 
./DerivedSources /usr/local/bin/perl -ne 'print lc' 
./WebCore/css/CSSValueKeywords.in ./WebCore/css/SVGCSSValueKeywords.in  
CSSValueKeywords.in if sort CSSValueKeywords.in | uniq -d | grep -E 
'^[^#]'; then echo 'Duplicate value!'; exit 1; fi /usr/local/bin/perl 
./WebCore/css/makevalues.pl mv CSSValueKeywords.* ./DerivedSources
 GEN DerivedSources/HTMLElementFactory.cpp 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


Had this too. Install p5-Switch and it should be fine.

regards,
Marco

--
Q:  Why did the programmer call his mother long distance?
A:  Because that was her name.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Jerry
On Sat, 21 May 2011 14:32:26 +0200
Christoph Moench-Tegeder c...@burggraben.net articulated:

 ## Jerry (je...@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.

I don't seem to have that port available. I do have the following one
though:

Port:   p5-Switch-2.16
Path:   /usr/ports/lang/p5-Switch
Info:   Switch - A switch statement for Perl

Is this the port you are referring to?

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Christoph Moench-Tegeder
## Jerry (je...@seibercom.net):

  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.
 
 I don't seem to have that port available. I do have the following one
 though:
 
 Port:   p5-Switch-2.16
 Path:   /usr/ports/lang/p5-Switch
 Info:   Switch - A switch statement for Perl
 
 Is this the port you are referring to?

Oh. Yes, it's lang/p5-Switch, I was confused.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ERROR building webkit-gtk2 after updating to Perl

2011-05-21 Thread Christoph Moench-Tegeder
  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.
 
 I don't seem to have that port available. I do have the following one
 though:

There we go: ports/157236 and ports/157237 (webkit-gtk2 and chromium).
Should have looked for inspiration in the right ports ;)

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org