Install GLPI agent with perl modules

# ./glpi-inventory > ${HOSTNAME}.xml
[info] New inventory from vm-aix72-2022-11-15-11-49-43 for local0

# oslevel -s
7200-05-04-2219

Need a gcc compiler or IBM xlC

From Toolbox

/usr/bin/perl → /opt/freeware/bin/perl5.34.1

CPAN is a binary availble into the perl RPM pacakage

$ rpm -qpl Downloads/perl-5.34.1-2.aix7.1.ppc.rpm | grep -i cpan
/opt/freeware/bin/cpan
...

Download CPANM

https://github.com/glpi-project/glpi-agent/blob/develop/README.md

Download GLPI Agent from source GLPI
Follow the procedure for FusionInventory (install from sources)

https://documentation.fusioninventory.org/FusionInventory_agent/installation/source/

https://github.com/fusioninventory/fusioninventory-agent/releases/tag/2.6

To install Perl modules, you can disable tests to download much faster from source repository

root@vm-aix72:/tmp/glpi-agent-1.4$ cpanm -n .
(now you have time ... many minutes)

Then compile:

perl Makefile.PL
make && make install

Reste à voir si cela se bundle bien en binaire et si cela va fonctionner sur des vrai LPAR AIX 7.2

https://github.com/glpi-project/glpi-agent/issues/258

https://documentation.fusioninventory.org/FusionInventory_agent/installation/source/

https://glpi-agent.readthedocs.io/en/latest/installation/index.html

https://forum.glpi-project.org/viewtopic.php?id=285236

https://forum.glpi-project.org/viewtopic.php?id=285236

http://jlbicquelet.free.fr/aix/perl_aix.php

https://github.com/unistra/ansible-collection-glpi

https://linuxfr.org/users/azerttyu/journaux/obtenir-un-inventaire-ansible-depuis-glpi

https://plugins.glpi-project.org/#/plugin/fusioninventory