Olá pessoal.
Tentei instalar do CentOS e no Red Hat mas os 2 deram erros.
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at inc/Module/Install/Can.pm line 5.
BEGIN failed--compilation aborted at inc/Module/Install/Can.pm line 5.
Compilation failed in require at inc/Module/Install.pm line 307.
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at inc/Module/Install/Makefile.pm line 4.
BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 4.
Compilation failed in require at inc/Module/Install.pm line 307.
The 'makemaker_args' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Makefile.PL again to load it.
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# perl5.10.1 Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at inc/Module/Install/Can.pm line 5.
BEGIN failed--compilation aborted at inc/Module/Install/Can.pm line 5.
Compilation failed in require at inc/Module/Install.pm line 307.
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at inc/Module/Install/Makefile.pm line 4.
BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 4.
Compilation failed in require at inc/Module/Install.pm line 307.
The 'makemaker_args' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Makefile.PL again to load it.
E no Red Hat.
linhss finais do make...
Installing /usr/share/man/man3/Ocsinventory::Agent::Modules::Databases::Oracle::Instances.3pm
Installing /usr/bin/ocsinventory-agent
Installing /usr/bin/ipdiscover
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Ocsinventory/Unix/Agent/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
[ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
make: *** [install] Error 1
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# ls
AUTHORS Changes etc ipdiscover LICENSE Makefile.PL memconf ocsinventory-agent postinst.pl resources snmp tools
blib contrib inc lib Makefile MANIFEST META.yml pm_to_blib README run-postinst THANKS
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# make install
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Ocsinventory/Unix/Agent/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
[ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
make: *** [install] Error 1
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# [
[email protected] Ocsinventory-Unix-Agent-2.1.1]# make install
-bash: [
[email protected]: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Ocsinventory/Unix/Agent/.packlist
[ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
make: *** [install] Error 1
-bash: Writing: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
-bash: Appending: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# [ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
-bash: syntax error near unexpected token `('
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# make: *** [install] Error 1
-bash: make:: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]#
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# [
[email protected] Ocsinventory-Unix-Agent-2.1.1]# make install
-bash: [
[email protected]: command not found
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Ocsinventory/Unix/Agent/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Ocsinventory/Unix/Agent/.packlist
-bash: Writing: command not found
make: *** [install] Error 1
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
-bash: Appending: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# [ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# Failed to load XML::Simple. Please install it and restart the postinst.pl script ( ./postinst.pl ).
-bash: syntax error near unexpected token `('
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]# make: *** [install] Error 1
-bash: make:: command not found
[
[email protected] Ocsinventory-Unix-Agent-2.1.1]#
Agradeço a força.