Can't locate switch. PM in @ INC

Source: Internet
Author: User
Tags gtk install perl

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 wowould prefer to install this via CPAN, follow these instructions:

  • Open a terminal (CTRL-alt-T ).
  • Enter the commandCPAN.
  • 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.

 

Refer:

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.