[Fusioninventory-devel] Building the FusionInventory Agent Windows package...
Tomás Abad
tabadgp at gmail.com
Thu Jul 19 18:35:32 UTC 2012
Hello to everybody,
There is a more simple way to get the list of Perl modules needed for
.- FusionInventory-Agent-2.2.3
.- FusionInventory-Agent-Task-Deploy-2.0.2
.- FusionInventory-Agent-Task-ESX-2.1.0
.- FusionInventory-Agent-Task-NetDiscovery-2.1 and
.- FusionInventory-Agent-Task-NetInventory-2.1
whether you want to use these in Microsoft Windows OS with Strawberry
Perl v5.16.0.1 - 32/64 bits (Portable Edition).
From a Windows Terminal do the follow to get all Perl modules needed
for FusionInventory Agent and Task.
========================= Microsoft Windows Terminal =========================
================================================================================
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>portableshell.bat
----------------------------------------------
Welcome to Strawberry Perl Portable Edition!
* URL - http://www.strawberryperl.com/
* see README.portable.TXT for more info
----------------------------------------------
Perl executable: C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits\p
erl\bin\perl.exe
Perl version : 5.16.0
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>cpanm --quiet --au
to-cleanup 1 --scandeps --local-lib-contained --format tree FusionInventory::Age
nt FusionInventory::Agent::Task::Deploy FusionInventory::Agent::Task::ESX Fusion
Inventory::Agent::Task::NetDiscovery FusionInventory::Agent::Task::NetInventory
Filesys-Tree-0.02
FusionInventory-Agent-2.2.3
\_ YAML-0.84
\_ Test-Exception-0.31
\_ Sub-Uplevel-0.24
\_ IO-Socket-SSL-1.76
\_ Net-SSLeay-1.48
\_ Test-MockModule-0.05
\_ IPC-Run-0.91
\_ Win32-Process-0.14
\_ HTTP-Server-Simple-0.44
\_ IO-Capture-0.05
\_ LWP-Protocol-https-6.03
\_ Mozilla-CA-20120309
\_ libwww-perl-6.04
\_ URI-1.60
\_ LWP-MediaTypes-6.02
\_ Encode-Locale-1.03
\_ HTTP-Message-6.03
\_ HTTP-Date-6.02
\_ HTML-Parser-3.69
\_ HTML-Tagset-3.20
\_ HTTP-Negotiate-6.01
\_ File-Listing-6.04
\_ HTTP-Daemon-6.01
\_ Net-HTTP-6.03
\_ HTTP-Cookies-6.01
\_ WWW-RobotRules-6.02
\_ HTTP-Proxy-0.25
\_ HTTP-Server-Simple-Authen-0.04
\_ Authen-Simple-0.5
\_ Params-Validate-1.06
\_ Test-Fatal-0.010
\_ Try-Tiny-0.11
\_ Module-Implementation-0.06
\_ Test-Requires-0.06
\_ Module-Runtime-0.013
\_ Class-Data-Inheritable-0.08
\_ Crypt-PasswdMD5-1.3
\_ Class-Accessor-0.34
\_ XML-TreePP-0.41
\_ Net-IP-1.25
\_ File-Which-1.09
\_ Test-Script-1.07
\_ Probe-Perl-0.01
\_ IPC-Run3-0.045
\_ Win32-OLE-0.1709
\_ Win32-TieRegistry-0.26
\_ Win32API-Registry-0.32
\_ UNIVERSAL-require-0.13
\_ Text-Template-1.45
FusionInventory-Agent-Task-Deploy-2.0.2
\_ Test-HTTP-Server-Simple-0.11
\_ Win32-IPC-1.09
\_ Test-Compile-0.18
\_ POE-Component-Client-Ping-1.171
\_ POE-Test-Loops-1.351
\_ POE-1.354
\_ Win32-Console-0.09
\_ Win32-Job-0.04
\_ File-Copy-Recursive-0.38
\_ JSON-2.53
FusionInventory-Agent-Task-ESX-2.1.0
\_ Test-MockObject-1.20120301
\_ Test-Warn-0.24
\_ Tree-DAG_Node-1.06
\_ UNIVERSAL-isa-1.20120418
\_ UNIVERSAL-can-1.20110617
FusionInventory-Agent-Task-NetDiscovery-2.1
\_ Net-NBName-0.26
\_ Net-SNMP-v6.0.1
FusionInventory-Agent-Task-NetInventory-2.1
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>
================================================================================
========================= Microsoft Windows Terminal =========================
From the same Windows Terminal do the follow to get only the missing Perl
modules needed for FusionInventory Agent and Task.
========================= Microsoft Windows Terminal =========================
================================================================================
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>cpanm --quiet --au
to-cleanup 1 --scandeps --format tree FusionInventory::Agent FusionInventory::Ag
ent::Task::Deploy FusionInventory::Agent::Task::ESX FusionInventory::Agent::Task
::NetDiscovery FusionInventory::Agent::Task::NetInventory
FusionInventory-Agent-2.2.3
\_ Test-MockModule-0.05
\_ IO-Capture-0.05
\_ HTTP-Proxy-0.25
\_ HTTP-Server-Simple-Authen-0.04
\_ Authen-Simple-0.5
\_ Class-Data-Inheritable-0.08
\_ Crypt-PasswdMD5-1.3
\_ XML-TreePP-0.41
\_ Net-IP-1.25
\_ UNIVERSAL-require-0.13
\_ Text-Template-1.45
FusionInventory-Agent-Task-Deploy-2.0.2
\_ Test-HTTP-Server-Simple-0.11
\_ Win32-IPC-1.09
\_ Test-Compile-0.18
\_ POE-Component-Client-Ping-1.171
\_ POE-Test-Loops-1.351
\_ POE-1.354
\_ Win32-Console-0.09
\_ Win32-Job-0.04
FusionInventory-Agent-Task-ESX-2.1.0
\_ Test-MockObject-1.20120301
\_ UNIVERSAL-isa-1.20120418
\_ UNIVERSAL-can-1.20110617
FusionInventory-Agent-Task-NetDiscovery-2.1
\_ Net-NBName-0.26
\_ Net-SNMP-v6.0.1
FusionInventory-Agent-Task-NetInventory-2.1
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>
================================================================================
========================= Microsoft Windows Terminal =========================
For install the missing Perl modules do the following from the same Windows
Terminal.
========================= Microsoft Windows Terminal =========================
================================================================================
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>cpanm --self-upgra
de --installdeps --skip-installed --auto-cleanup 1 FusionInventory::Agent Fusion
Inventory::Agent::Task::Deploy FusionInventory::Agent::Task::ESX FusionInventory
::Agent::Task::NetDiscovery FusionInventory::Agent::Task::NetInventory
--> Working on FusionInventory::Agent
Fetching http://www.cpan.org/authors/id/F/FU/FUSINV/FusionInventory-Agent-2.2.3.
tar.gz ... OK
Configuring FusionInventory-Agent-2.2.3 ... OK
==> Found dependencies: Test::MockModule, IO::Capture::Stderr, HTTP::Proxy, HTTP
::Server::Simple::Authen, XML::TreePP, Net::IP, UNIVERSAL::require, Text::Templa
te
--> Working on Test::MockModule
Fetching http://www.cpan.org/authors/id/S/SI/SIMONFLK/Test-MockModule-0.05.tar.g
z ... OK
Configuring Test-MockModule-0.05 ... OK
Building and testing Test-MockModule-0.05 ... OK
Successfully installed Test-MockModule-0.05
--> Working on IO::Capture::Stderr
Fetching http://www.cpan.org/authors/id/R/RE/REYNOLDS/IO-Capture-0.05.tar.gz ...
OK
Configuring IO-Capture-0.04 ... OK
Building and testing IO-Capture-0.05 ... OK
Successfully installed IO-Capture-0.05
--> Working on HTTP::Proxy
Fetching http://www.cpan.org/authors/id/B/BO/BOOK/HTTP-Proxy-0.25.tar.gz ... OK
Configuring HTTP-Proxy-0.25 ... OK
Building and testing HTTP-Proxy-0.25 ... FAIL
! Installing HTTP::Proxy failed. See C:\fusioninventory-nsis-tabad\Perl\Strawber
ry\5.16.0.1\32bits\data\.cpanm\build.log for details.
--> Working on HTTP::Server::Simple::Authen
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/HTTP-Server-Simple-Authen-
0.04.tar.gz ... OK
Configuring HTTP-Server-Simple-Authen-0.04 ... OK
==> Found dependencies: Authen::Simple
--> Working on Authen::Simple
Fetching http://www.cpan.org/authors/id/C/CH/CHANSEN/Authen-Simple-0.5.tar.gz ..
. OK
Configuring Authen-Simple-0.5 ... OK
==> Found dependencies: Class::Data::Inheritable, Crypt::PasswdMD5
--> Working on Class::Data::Inheritable
Fetching http://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-0.08.ta
r.gz ... OK
Configuring Class-Data-Inheritable-0.08 ... OK
Building and testing Class-Data-Inheritable-0.08 ... OK
Successfully installed Class-Data-Inheritable-0.08
--> Working on Crypt::PasswdMD5
Fetching http://www.cpan.org/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-1.3.tar.g
z ... OK
Configuring Crypt-PasswdMD5-1.3 ... OK
Building and testing Crypt-PasswdMD5-1.3 ... OK
Successfully installed Crypt-PasswdMD5-1.3
Building and testing Authen-Simple-0.5 ... OK
Successfully installed Authen-Simple-0.5
Building and testing HTTP-Server-Simple-Authen-0.04 ... OK
Successfully installed HTTP-Server-Simple-Authen-0.04
--> Working on XML::TreePP
Fetching http://www.cpan.org/authors/id/K/KA/KAWASAKI/XML-TreePP-0.41.tar.gz ...
OK
Configuring XML-TreePP-0.41 ... OK
Building and testing XML-TreePP-0.41 ... OK
Successfully installed XML-TreePP-0.41
--> Working on Net::IP
Fetching http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz ... OK
Configuring Net-IP-1.25 ... OK
Building and testing Net-IP-1.25 ... OK
Successfully installed Net-IP-1.25
--> Working on UNIVERSAL::require
Fetching http://www.cpan.org/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-0.13.tar
.gz ... OK
Configuring UNIVERSAL-require-0.13 ... OK
Building and testing UNIVERSAL-require-0.13 ... OK
Successfully installed UNIVERSAL-require-0.13
--> Working on Text::Template
Fetching http://www.cpan.org/authors/id/M/MJ/MJD/Text-Template-1.45.tar.gz ... O
K
Configuring Text-Template-1.45 ... OK
Building and testing Text-Template-1.45 ... OK
Successfully installed Text-Template-1.45
! Bailing out the installation for FusionInventory-Agent-2.2.3. Retry with --pro
mpt or --force.
--> Working on FusionInventory::Agent::Task::Deploy
Fetching http://www.cpan.org/authors/id/F/FU/FUSINV/FusionInventory-Agent-Task-D
eploy-2.0.2.tar.gz ... OK
Configuring FusionInventory-Agent-Task-Deploy-2.0.2 ... OK
==> Found dependencies: Test::HTTP::Server::Simple, Test::Compile, POE::Componen
t::Client::Ping, FusionInventory::Agent
--> Working on Test::HTTP::Server::Simple
Fetching http://www.cpan.org/authors/id/A/AL/ALEXMV/Test-HTTP-Server-Simple-0.11
.tar.gz ... OK
Configuring Test-HTTP-Server-Simple-0.11 ... OK
==> Found dependencies: Win32::Event
--> Working on Win32::Event
Fetching http://www.cpan.org/authors/id/C/CJ/CJM/Win32-IPC-1.09.tar.gz ... OK
Configuring Win32-IPC-1.09 ... OK
Building and testing Win32-IPC-1.09 ... OK
Successfully installed Win32-IPC-1.09
Building and testing Test-HTTP-Server-Simple-0.11 ... OK
Successfully installed Test-HTTP-Server-Simple-0.11
--> Working on Test::Compile
Fetching http://www.cpan.org/authors/id/E/EG/EGILES/Test-Compile-0.18.tar.gz ...
OK
Configuring Test-Compile-0.18 ... OK
Building and testing Test-Compile-0.18 ... OK
Successfully installed Test-Compile-0.18
--> Working on POE::Component::Client::Ping
Fetching http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-Component-Client-Ping-1
.171.tar.gz ... OK
Configuring POE-Component-Client-Ping-1.171 ... OK
==> Found dependencies: POE
--> Working on POE
Fetching http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-1.354.tar.gz ... OK
==> Found dependencies: POE::Test::Loops
--> Working on POE::Test::Loops
Fetching http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-Test-Loops-1.351.tar.gz
... OK
Configuring POE-Test-Loops-1.351 ... OK
Building and testing POE-Test-Loops-1.351 ... OK
Successfully installed POE-Test-Loops-1.351
Configuring POE-1.354 ... OK
==> Found dependencies: Win32::Console, Win32::Job
--> Working on Win32::Console
Fetching http://www.cpan.org/authors/id/J/JD/JDB/Win32-Console-0.09.tar.gz ... O
K
Configuring Win32-Console-0.09 ... OK
Building and testing Win32-Console-0.09 ... OK
Successfully installed Win32-Console-0.09
--> Working on Win32::Job
Fetching http://www.cpan.org/authors/id/J/JD/JDB/Win32-Job-0.04.tar.gz ... OK
Configuring Win32-Job-0.04 ... OK
Building and testing Win32-Job-0.04 ... OK
Successfully installed Win32-Job-0.04
Building and testing POE-1.354 ... OK
Successfully installed POE-1.354
Building and testing POE-Component-Client-Ping-1.171 ... OK
Successfully installed POE-Component-Client-Ping-1.171
<== Installed dependencies for FusionInventory::Agent::Task::Deploy. Finishing.
--> Working on FusionInventory::Agent::Task::ESX
Fetching http://www.cpan.org/authors/id/F/FU/FUSINV/FusionInventory-Agent-Task-E
SX-2.1.0.tar.gz ... OK
Configuring FusionInventory-Agent-Task-ESX-2.1.0 ... OK
==> Found dependencies: Test::MockObject
--> Working on Test::MockObject
Fetching http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-1.2012030
1.tar.gz ... OK
Configuring Test-MockObject-1.20120301 ... OK
==> Found dependencies: UNIVERSAL::isa, UNIVERSAL::can
--> Working on UNIVERSAL::isa
Fetching http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-isa-1.20120418.
tar.gz ... OK
Configuring UNIVERSAL-isa-1.20120418 ... OK
Building and testing UNIVERSAL-isa-1.20120418 ... OK
Successfully installed UNIVERSAL-isa-1.20120418
--> Working on UNIVERSAL::can
Fetching http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-1.20110617.
tar.gz ... OK
Configuring UNIVERSAL-can-1.20110617 ... OK
Building and testing UNIVERSAL-can-1.20110617 ... OK
Successfully installed UNIVERSAL-can-1.20110617
Building and testing Test-MockObject-1.20120301 ... OK
Successfully installed Test-MockObject-1.20120301
<== Installed dependencies for FusionInventory::Agent::Task::ESX. Finishing.
--> Working on FusionInventory::Agent::Task::NetDiscovery
Fetching http://www.cpan.org/authors/id/F/FU/FUSINV/FusionInventory-Agent-Task-N
etDiscovery-2.1.tar.gz ... OK
Configuring FusionInventory-Agent-Task-NetDiscovery-2.1 ... OK
==> Found dependencies: Net::NBName, Net::SNMP
--> Working on Net::NBName
Fetching http://www.cpan.org/authors/id/J/JM/JMACFARLA/Net-NBName-0.26.tar.gz ..
. OK
Configuring Net-NBName-0.26 ... OK
Building and testing Net-NBName-0.26 ... OK
Successfully installed Net-NBName-0.26
--> Working on Net::SNMP
Fetching http://www.cpan.org/authors/id/D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gz ... OK
Configuring Net-SNMP-v6.0.1 ... OK
Building and testing Net-SNMP-v6.0.1 ... OK
Successfully installed Net-SNMP-v6.0.1
<== Installed dependencies for FusionInventory::Agent::Task::NetDiscovery. Finis
hing.
--> Working on FusionInventory::Agent::Task::NetInventory
Fetching http://www.cpan.org/authors/id/F/FU/FUSINV/FusionInventory-Agent-Task-N
etInventory-2.1.tar.gz ... OK
Configuring FusionInventory-Agent-Task-NetInventory-2.1 ... OK
<== Installed dependencies for FusionInventory::Agent::Task::NetInventory. Finis
hing.
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5017.tar.g
z ... OK
Configuring App-cpanminus-1.5017 ... OK
<== Installed dependencies for App::cpanminus. Finishing.
23 distributions installed
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>
================================================================================
========================= Microsoft Windows Terminal =========================
For end up, you can check the installation in this way.
========================= Microsoft Windows Terminal =========================
================================================================================
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>cpanm --quiet --au
to-cleanup 1 --scandeps --format tree FusionInventory::Agent FusionInventory::Ag
ent::Task::Deploy FusionInventory::Agent::Task::ESX FusionInventory::Agent::Task
::NetDiscovery FusionInventory::Agent::Task::NetInventory
FusionInventory-Agent-2.2.3
\_ HTTP-Proxy-0.25
FusionInventory-Agent-Task-Deploy-2.0.2
FusionInventory-Agent-Task-ESX-2.1.0
FusionInventory-Agent-Task-NetDiscovery-2.1
FusionInventory-Agent-Task-NetInventory-2.1
C:\fusioninventory-nsis-tabad\Perl\Strawberry\5.16.0.1\32bits>
================================================================================
========================= Microsoft Windows Terminal =========================
To use 'cpanm' is better than going searching dependence by hand in CPAN.
Best regards.
More information about the Fusioninventory-devel
mailing list