You are not logged in.
Pages: 1
Bonjour,
J'essaie d'installer fusioninventory-agent a partir des sources sur un SUSE entreprise 11.
Je suis le tuto proprose le site officiel de fusioninventory
First, you need to extract the source and change the current directory.
$> tar xfz FusionInventory-Agent-2.3.18.tar.gz
$> cd FusionInventory-Agent-2.3.18
Executing Makefile.PL will ensure all the required dependencies are available and prepare the build tree.
$> perl Makefile.PL
At this point, you will probably have some missing required modules. See Dependencies section for installing them. Once this is done, run the same command again:
$> perl Makefile.Pl
This time the execution should success and you can finish the installation. Here again we recommand GNU make (gmake):
make
make install
If you don’t want to use the default directory (/usr/local), you can use the PREFIX parameter during the Makefile.PL step:
perl Makefile.PL PREFIX=/opt/fusioninventory
make
make install
Jusque la tout va bien,
puis arrive cette etape:
FusionInventory components come with a test-suite. You can run it after the perl Makefile.PL with this command:
$> make test
The test-suites require some additional dependencies like Test::More
Et la j'ai un message d'erreur:
BEGIN—failed compilation aborted at task t/tasks/wakeonlan.t line 11.
# Looks like your test died before it could output anythimg.
t/tasks/wakeonlan……………..dubious
Test returned status 225 (wstat 65280, 0xff00)
FAILED—142 test scripts could be run, alas—no output ever seen
Make: ***test dynamique Error 225
Offline
Le 'make test' est optionnel
Offline
Ok. J'ai une autre question:
J'ai installe un agent sur mon serveur GLPI il est détecté pas de problème.
J'ai installe un autre agent sur un windows (celui a partir du quel je travaille) pas de problème non plus.
Je dois ensuite faire l'inventaire des machines de mon parc informatique (virtuelles et physique), je pensais qu'il fallait un agent sur chaque machine jusqu’à que je découverte le fonction découverte de reseau:
J'ai donc créer une plage IP et une tache découverte réseau mais j'ai 0 préparé.
Offline
Ok alors pour les machines virtuelles il faut installer l'agent en local. Mais pourquoi est-ce si complique d'installer un agent sur un SUSE.... Je n'ai toujours pas reussi.
Offline
Dans la suite de mon installation a partir des sources:
Je fais commande $> perl -Iextlib/lib/perl5 -Ilib fusioninventory-agent
et jai une erreur:
Can't locate FusionInventory/Agent.pm in @INC ....
BEGIN failed--compilation aborted at fusioninventory-agent line 11.
Offline
Le 'make install' a fonctionné?
Offline
A priori oui, je n'ai aucun message d'erreur et 7 installs.
Et j'ai bien le binaire dans /bin
Last edited by Mercredie (2016-11-22 14:44:43)
Offline
Pages: 1