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:
- Install it through the Ubuntu repositories.
- 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