Hi,
on windows the following changes are needed to run the fusioninventory-esx from perl\bin\:

BEGIN {
    use File::Spec;
    use File::Basename;

    my $directory = dirname(File::Spec->rel2abs( __FILE__ ));
    # on Win2k, Windows do not chdir to the bin directory
    # we need to do it by ourself
    chdir($directory);
}
#!/usr/bin/perl

use strict;
use warnings;
use lib '../agent';

This may also be needed by: fusioninventory-netdiscovery and fusioninventory-netinventory

Cheers

_______________________________________________
Fusioninventory-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel

Répondre à