LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2013, 06:35 AM   #1
basteon
LQ Newbie
 
Registered: Dec 2006
Posts: 14

Rep: Reputation: 0
Post perl locale with webkit


I'm make crossbuild with buildroot webkit, but takes this
Quote:
make[1]: *** [DerivedSources/XMLNames.cpp] Error 2
Can't locate Switch.pm in @INC (@INC contains: /usr/src/buildroot-2012.11.1/output/host/usr/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl/ /usr/src/buildroot-2012.11.1/output/target/usr/lib/perl/ ./WebCore/bindings/scripts /usr/src/buildroot-2012.11.1/output/host/usr/lib/perl /etc/perl /usr/local/lib64/perl5/5.16.1/x86_64-linux /usr/local/lib64/perl5/5.16.1 /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.1/x86_64-linux /usr/lib64/perl5/5.16.1 .) at WebCore/dom/make_names.pl line 43.
BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 43.
make[1]: *** [DerivedSources/HTMLElementFactory.cpp] Error 2
make[1]: Leaving directory `/mnt/livecd/usr/src/buildroot-2012.11.1/output/build/webkit-1.2.7'
I found there fiew path's, but double first for i386, I need for arm, therefore I patch make_names.pl and add upped uses those pm's...
Quote:
use lib '/usr/src/buildroot-2012.11.1/output/target/usr/lib/perl/';
use lib '/usr/src/buildroot-2012.11.1/output/host/usr/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl/';

Quote:
find /usr/src/buildroot-2012.11.1/output/ -name Switch.pm
/usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/cpan/CGI/lib/CGI/Switch.pm
/usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/lib/CGI/Switch.pm
/usr/src/buildroot-2012.11.1/output/host/usr/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl/CGI/Switch.pm
/usr/src/buildroot-2012.11.1/output/target/usr/lib/perl/CGI/Switch.pm
 
Old 03-17-2013, 04:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,126

Rep: Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491
There used to be like /usr/lib/perl5/5.10.1/Switch.pm (size = 28kB)
( May have changed about version 5.12 ? )

"usr/lib/perl/CGI/Switch.pm" (0.3 kB) says:
Do not use this module. It is deprecated.

I guess you can add the real Switch.pm (28 kB) from
http://search.cpan.org/~rgarcia/Switch-2.16/Switch.pm > Switch-2.16.tar.gz

Or replace perl with version 5.10.1, still preferred by "stable Linux OS's".
( There is no reason to use the bleeding edge version 5.16.1 ).

-
 
Old 03-19-2013, 06:46 AM   #3
basteon
LQ Newbie
 
Registered: Dec 2006
Posts: 14

Original Poster
Rep: Reputation: 0
sizes okay everywhere...
Quote:
localhost ~ # find /usr/src/buildroot-2012.11.1/output/ -name Switch.pm -type f -exec ls -alh "{}" \;
-rw-r--r-- 1 502 502 306 Feb 15 2012 /usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/cpan/CGI/lib/CGI/Switch.pm
-r--r--r-- 1 root root 306 Feb 15 2012 /usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/lib/CGI/Switch.pm
-r--r--r-- 1 root root 306 Mar 2 03:14 /usr/src/buildroot-2012.11.1/output/host/usr/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl/CGI/Switch.pm
-r--r--r-- 1 root root 306 Mar 2 03:14 /usr/src/buildroot-2012.11.1/output/target/usr/lib/perl/CGI/Switch.pm
localhost ~ # find /usr/lib -name Switch.pm -type f -exec ls -alh "{}" \;
localhost ~ # find /usr/ -name Switch.pm -type f -exec ls -alh "{}" \;
-r--r--r-- 1 root root 306 Jan 24 04:53 /usr/lib64/perl5/5.16.1/CGI/Switch.pm
-rw-r--r-- 1 502 502 306 Feb 15 2012 /usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/cpan/CGI/lib/CGI/Switch.pm
-r--r--r-- 1 root root 306 Feb 15 2012 /usr/src/buildroot-2012.11.1/output/build/perl-5.16.1/lib/CGI/Switch.pm
-r--r--r-- 1 root root 306 Mar 2 03:14 /usr/src/buildroot-2012.11.1/output/host/usr/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl/CGI/Switch.pm
-r--r--r-- 1 root root 306 Mar 2 03:14 /usr/src/buildroot-2012.11.1/output/target/usr/lib/perl/CGI/Switch.pm
-r--r--r-- 1 root root 306 Jan 24 04:53 /usr/src/stagem/usr/lib64/perl5/5.16.1/CGI/Switch.pm
 
Old 03-19-2013, 06:56 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,126

Rep: Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491
# 3 .

Looks like you are still missing the 28 kB file ///perl//Switch.pm ?
http://search.cpan.org/~rgarcia/Switch-2.16/Switch.pm

I.e. the 0.306 kB file //perl/CGI/Switch.pm is useless.
Cannot be used for anything.

-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Perl ignoring my locale? exscape Programming 3 03-11-2008 08:21 PM
Perl locale warning jafriede Slackware 4 08-23-2007 10:46 AM
perl/c locale problems sohmc Linux - Software 5 02-10-2006 09:22 AM
what RPM for perl(Locale::Messages)? c0ldshadow Fedora 3 07-08-2005 05:10 PM
perl locale error tutwabee Linux - Software 0 10-10-2004 05:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration