Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

ERROR: PERL module Switch is not installed

hi, I try install OCS server and I have problem with this:

Do you wish to setup Rest API server on this computer ([y]/n)?
| Checking for REST API Dependencies ...                         |

Found that PERL module Mojolicious::Lite is available.
*** ERROR: PERL module Switch is not installed !
Do you wish to continue (y/[n])?
Installation aborted !

I try this:

sudo apt-get install libswitch-perl

  1. Enter the command cpan.

  2. At the prompt cpan[1]>, type install Switch.

and it isn't give me any error

in OCS Inventory NG server for Unix by (140 points)

1 Answer

0 votes

switch perl module is not available for your distro? This module and the others (plack, mojolicious) are needed only if you plan to access ocs inventory server with rest api.

by (88.5k points)
Powered by Question2Answer