OCS Inventory Error de Instalacion en Ubuntu

0 Comments

Durante la instalcion del software de administracion de inventarios OCS nos pide varios modulos de perl para su instalcion. De dichos modulos el XML::Entities causa error de compilacion y la instalcion falla:

Error de XML::Entities durante la instalacion

============================================================
Checking OCS Inventory NG Management Server requirements...
============================================================
Checking for database server properties
MySQL client distribution version 5.0.
Computer seems to be running MySQL 4.1 or higher
Database server is running on host localhost
Database server is running on port 3306
Checking for Apache web server daemon
Found Apache daemon /usr/sbin/apache2
Using Apache daemon /usr/sbin/apache2
Checking for Apache main configuration file
Found Apache HTTPD_ROOT
Found Apache SERVER_CONFIG_FILE /etc/apache2/apache2.conf
Found Apache main configuration file /etc/apache2/apache2.conf
Using Apache main configuration file /etc/apache2/apache2.conf
Checking for Apache user account
Found Apache user account ${APACHE_RUN_USER}
Using Apache user account www
Checking for Apache group
Found Apache user group ${APACHE_RUN_GROUP}
Using Apache user group www
Checking for Apache Include configuration directory
Redhat compliant Apache Include configuration directory /etc/apache2/conf.d/
Found Apache Include configuration directory //etc/apache2/conf.d/
Using Apache Include configuration directory //etc/apache2/conf.d/
Checking for PERL Interpreter
Found PERL Intrepreter at
Using PERL Intrepreter /usr/bin/perl
============================================================
Installing Communication server
============================================================
Checking for Make utility
Make utility found at
Checking for Apache mod_perl version 1.99_22 or higher
mod_perl 1.99_22 or higher is available
Using mod_perl version 1.99_22 or higher
Checking for Communication server log directory
Using /var/log/ocsinventory-server as Communication server log directory
Entering Apache sub directory
Checking for DBI PERL module
PERL module DBI is available
Checking for Apache::DBI PERL module
PERL module Apache::DBI is available
Checking for DBD::mysql PERL module
PERL module DBD::mysql is available
Checking for Compress::Zlib PERL module
PERL module Compress::Zlib is available
Checking for XML::Simple PERL module
PERL module XML::Simple is available
Checking for Net::IP PERL module
PERL module Net::IP is available
Checking for SOAP::Lite PERL module
PERL module SOAP::Lite is available
Checking for XML::Entities PERL module
Can't locate XML/Entities.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
User choose to continue setup without PERL module XML::Entities
Configuring Communication server (perl Makefile.PL)
Preparing Communication server Perl modules (make)
Installing Communication server Perl modules (make install)
mkdir /usr/local/share/perl: Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 13

Como instalar software y modulos de Perl con CPAN

Desde la consola de nuestro Linux, ya sea un Debian, Redhat, Fedora o Ubuntu, podemos realizar la instalacion de cualquier modulo extra de perl ejecutando el comando de cpan:

#>cpan
install XML::Entities

Deja tus preguntas o comentarios