Can't locate Switch.pm in @INC

转载 2016年06月01日 14:54:07

  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.

相关文章推荐

git svn 错误 Can't locate SVN/Core.pm 的解决方案

【错误场景】组里面要把代码从svn服务器里整体迁移到git上,准备两步走。 第一步,用 git svn转换成git仓库, 第二步,把git仓库提交到git服务器上。 本来是很快乐的事情,然而勇者...

80386保护模式--描述符,附pm.inc代码详解

描述符包括,存储段描述符(代码段,数据段,堆栈段),系统描述符(任务状态段TSS,局部描述符表LDT),门描述符(调用门,任务门,中断门,陷阱门),注意门描述符和系统描述符都是DT=0时候,对应的状态...
  • jltxgcy
  • jltxgcy
  • 2013年03月10日 15:00
  • 4852

Heroku Postgres, db migrate fail: alembic.util.exc.CommandError: Can't locate revision identified by

问题: alembic.util.exc.CommandError: Can't locate revision identified by 'b44ffb6f5dc6' 部署Flask到Herok...

Inc. is finishing out 2013 strong in Southwest Florida. A champion of the short sale market

Young Realty Group, Inc. Has a strong year in 2103 with focus on the distressed market.Naples, Unite...

WIN7下运行hadoop程序报:Failed to locate the winutils binary in the hadoop binary path

之前在mac上调试hadoop程序(mac之前配置过hadoop环境)一直都是正常的。因为工作需要,需要在windows上先调试该程序,然后再转到linux下。程序运行的过程中,报 Failed to...

警告: The first TextProvider in the ValueStack (com.mytest.action.ValidateAction) could not locate the

最近自己搭建框架学习Struts2,(在已经搭建好的框架上)运行:使用 validate validate validate 方法验证数据实例是控制台总是出现如下警告信息: 2012-9-17 14...

IDEA开发Spark提示failed to locate the winutils binary in the hadoop binary

今天整理电脑删了一些没用的东西,回过头开发spark的时候发现spark提示错误:16/09/06 17:20:43 ERROR Shell: Failed to locate the winutil...

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. 搭建好...

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

windows下运行hadoop的程序报错java.io.IOException: Could not locate executable null\bin\winutils.exe in the H...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Can't locate Switch.pm in @INC
举报原因:
原因补充:

(最多只允许输入30个字)