Can't locate Switch.pm in @INC

  the perl version (5.14) shipped with 12.10 does not include the Switch.pm module needed while building WebKiT-GTK.

How to install Perl Switch.pm module required to build WebKit-GTK?

  If you want to install the Switch.pm Perl module into your system Perl config, there are two methods of installing it:

  1. Install it through the Ubuntu repositories.
  2. Install the .pm through CPAN.

  At this time, both will provide the current version of this module(2.16).

Installing Switch.pm using the Ubuntu repositories:

  • From the command-line, the installation can be completed by running the following command from the terminal (Ctrl-Alt-t):
  • sudo apt-get install libswitch-perl
    • Within Synaptic, right-click on the libswitch-perl package, select Mark for installation, then click on the Apply button.
    • Within the Ubuntu Software Center (USC), search for the phrase libswitch-perl, highlight the package and select install:

Installing Switch.pm using CPAN:

  If you would prefer to install this via cpan, follow these instructions:

  • Open a terminal(Ctrl-Alt-t).
  • Enter the command cpan.
  • At the prompt cpan[1]>, type install Switch.
  • Once completed, Type exit.

  The Switch.pm Perl module will now be available for you to use in your scripts.

参考:

  http://askubuntu.com/questions/204481/how-to-install-perl-switch-pm-module-required-to-build-webkit-gtk

Can't locate Switch.pm in @INC,布布扣,bubuko.com

Can't locate Switch.pm in @INC

时间: 2024-10-12 23:38:33

Can't locate Switch.pm in @INC的相关文章

smokeping报错Can't locate RRDs.pm in @INC (@INC contains

安装完smokeping,执行debug语句: ./bin/smokeping --debug-daemon ,提示如下错误: Can't locate RRDs.pm in @INC (@INC contains: /usr/local/smokeping/lib /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/RR

tsung执行时报Can't locate Template.pm的解决

[[email protected] 20141118-0931]# tsung_stats creating subdirectory data creating subdirectory gnuplot_scripts creating subdirectory images warn, last interval (8) not equal to the first, use the first one (10)No data for BoshNo data for MatchNo dat

Perl/Nagios – Can’t locate utils.pm in @INC

While trying to use a Nagios plugin I got an error saying that “Can’t locate utils.pm in @INC”. Following is complete error: Can’t locate utils.pm in @INC (@INC contains: /root /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/li

linux centos环境下,perl使用DBD::Oracle遇到报错Can't locate DBDOracle.pm in @INC 的解决办法

前言 接手前辈的项目,没有接触.安装.使用过perl和DBD::Oracle,也没有相关的文档记录,茫茫然不知所措~~.一开始发现这个问题,就想着迅速解决,就直接在google上搜报错信息,搜索的过程中发现 如果不搞清楚前因后果我连解决方案都'看不见''看不懂'. 所以还是要补充这方面的知识,再思考解决方案.以下内容就是我一边学习一边解决问题的过程,如果不足,请各位大佬指出. 报错 install_driver(Oracle) failed: Can't locate DBD/Oracle.pm

lnmp升级nginx引起的 nginx:Can't locate nginx.pm 错误

如果启动nginx报错: 正在启动 nginx:Can't locate nginx.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 .). BEGIN failed--compilation aborted. ngi

Android 源码编译记录

问题1:Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-li

在ubuntu 14.04 编译android 2.3.1 错误解决办法

首先必须降低gcc版本: sudo apt-get install gcc-4.4sudo apt-get install g++-4.4sudo rm -rf /usr/bin/gcc /usr/bin/g++sudo ln -s /usr/bin/gcc-4.4 /usr/bin/gccsudo ln -s /usr/bin/g++-4.4 /usr/bin/g++ ? ? ################ Fix 1 ########################## Error: fr

Android源码编译出错解决办法

编译环境:Ubuntu12.04 64位 Android源码:Android 4.3 以下问题是笔者亲自碰到,通过网上查询整合在一起的. 1.error while loading shared libraries: libz.so.1: cannot open shared object file:No such file or directory 这里所说不能加载libz.so.1这个包,所以需要下载,笔者使用了几种方法,以下是自己使用过,测试是OK的. 我们使用命令apt-get sear

在Ubuntu14.04上编译Android4.0.1出现的几个问题

一. 工具 sudo apt-get install git-core gnupg flex bison gperf build-essential \       zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \       libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \       libgl1-mesa-dev g++-multilib mingw