LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2011, 11:20 AM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
issue building chromium from slackbuilds


every time i try to build chromium, i get the following error

Code:
  ACTION webcore_bindings_sources_XMLNames out/Release/obj/gen/webkit/XMLNames.cpp
  ACTION webcore_bindings_sources_tokenizer out/Release/obj/gen/webkit/tokenizer.cpp
  RULE webcore_bindings_sources_bison_0 out/Release/obj/gen/webkit/CSSGrammar.cpp
  RULE webcore_bindings_sources_bison_1 out/Release/obj/gen/webkit/XPathGrammar.cpp
  RULE webcore_bindings_sources_gperf_0 out/Release/obj/gen/webkit/DocTypeStrings.cpp
Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ../make-hash-tools.pl line 23.
BEGIN failed--compilation aborted at ../make-hash-tools.pl line 23.
make: *** [out/Release/obj/gen/webkit/DocTypeStrings.cpp] Error 2
im very confused as to what it is that is the problem, and hesitant to keep trying with minor changes, as it takes about an hour to build every time.

i did install the chrome-pam packages from /extra, but that hasnt solved anything...

has anyone encountered this issue, and if so, have you solved it? i really want to give chromium a try...
 
Old 06-10-2011, 08:58 PM   #2
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
ok i found the issue, thanks to my friends at ##slackware.

i am running -current, and that ships with perl version 5.14.0

in this latest version of perl, the Switch.pm module was removed, as there are now builtins to do its job.

chromium is not aware of this fact however, and looks for Switch.pm anyway, and wont build without it.

simply installing the module with cpan does the trick, or you could apply the patch here: http://pastebin.com/vCzYWYyA

just wanted to help out anyone else with this issue.
 
Old 06-11-2011, 09:48 AM   #3
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Please mark your post as [SOLVED].
 
Old 06-12-2011, 12:55 AM   #4
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
i thought i did already. sorry, i guess a mod got it anyway though.
 
Old 06-14-2011, 06:07 PM   #5
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 105

Rep: Reputation: 11
Quote:
Originally Posted by trademark91 View Post
ok i found the issue, thanks to my friends at ##slackware.

i am running -current, and that ships with perl version 5.14.0

in this latest version of perl, the Switch.pm module was removed, as there are now builtins to do its job.

chromium is not aware of this fact however, and looks for Switch.pm anyway, and wont build without it.

simply installing the module with cpan does the trick, or you could apply the patch here: http://pastebin.com/vCzYWYyA

just wanted to help out anyone else with this issue.
Hi,
I'm also running current but x86. I'm getting a very similar error trying to build the latest webkit-gtk. My question is about your solution. Did you install Switch.pm with cpan or use the patch? I tried installing with cpan and the installation failed.
 
Old 06-14-2011, 11:58 PM   #6
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
It has to be force installed
 
1 members found this post helpful.
Old 06-15-2011, 05:37 AM   #7
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 105

Rep: Reputation: 11
Quote:
Originally Posted by trademark91 View Post
It has to be force installed

Of course. That did the trick.
 
Old 07-24-2011, 08:43 AM   #8
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by trademark91 View Post
ok i found the issue, thanks to my friends at ##slackware.

i am running -current, and that ships with perl version 5.14.0

in this latest version of perl, the Switch.pm module was removed, as there are now builtins to do its job.

chromium is not aware of this fact however, and looks for Switch.pm anyway, and wont build without it.

simply installing the module with cpan does the trick, or you could apply the patch here: http://pastebin.com/vCzYWYyA

just wanted to help out anyone else with this issue.
Sorry to bring this thread back. Your patch provided on your pastebin link does not work anymore. It seems that the link expired. Could your provide instructions on how you installed the Switch.pm module using cpan? I'm not familiar with perl modules. I did a google search, so I know how to get to the cpan terminal. However, I can't seem to find documentation on how to actually install Switch. Thanks ahead of time!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Building SlackBuilds KVM doesn't work, 2.6.35.4 kernel Squall90 Slackware 43 11-14-2010 10:51 AM
[SOLVED] Slackbuilds - Net-SSLay building problem hua Slackware 4 08-01-2010 05:44 AM
[SOLVED] Problem building from slackbuilds ~sHyLoCk~ Slackware 14 05-18-2010 01:48 PM
Building slackbuilds.org packages with gcc 4.4.2 ponce Slackware 1 11-05-2009 11:07 AM
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration