[Fusioninventory-devel] HP RAID support on Windows
Pakdel Amir
a.pakdel at karafarinbank.net
Sun May 30 18:14:30 UTC 2010
I think it would work well.
May I have a package to test on our Windows servers
I am too lazy to build one myself :D
Cheers,
Amir
________________________________________
From: Gonéri Le Bouder [goneri at rulezlan.org]
Sent: Sunday, May 30, 2010 9:17 PM
To: Pakdel Amir
Cc: fusioninventory-devel
Subject: Re: HP RAID support on Windows
2010/5/30 Pakdel Amir <a.pakdel at karafarinbank.net>:
> Hi Gonéri,
>
> On windows, when there is another version of perl installed prior to the FusionInventory Agent, the first installation of perl sets the PERL5LIB environment variable and that confuses the perl that ships with FusionInventory Agent and results in an error that says some .dll file of perl are not found!
> After clearing the PERL5LIB environment variable by something like "set PERL5LIB=" the command mentioned earlier works just fine.
> Moreover, on such systems, the WebUI does not work either.
> Can it be considered a bug?
I suggest this solution. If you're ok with that. I'll add it with a
--disable-perl5lib parameter and ask Gubas to turn if on in the
Windowd Package.
Cheers,
diff --git a/fusioninventory-agent b/fusioninventory-agent
index 2224463..5aee17e 100755
--- a/fusioninventory-agent
+++ b/fusioninventory-agent
@@ -22,6 +22,9 @@
use strict;
use warnings;
+
+$ENV{PERL5LIB}=undef;
+
my $devlib;
foreach (@ARGV) {
if (/^--devlib$/) {
--
Gonéri Le Bouder
More information about the Fusioninventory-devel
mailing list