- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Perl installation - What version to use
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2016 12:09 PM - edited 04-22-2016 12:10 PM
Reading the instruction to install Perl and different modules for integration with our IPAM boxes (Infoblox API Documentation), it look like very specific version of ActiveState Perl is required but, thoses version are only available if you pay for them, only the most recent seem to be free for use. Is Perl 5.8.8 the only one valid or the last version of each module is ok?
When reading instruction to install
- Perl 5.8.8 or later
- Crypt:: SSLeay version 0.51 or later
- LWP:: UserAgent version 5.813 or later
- XML:: Parser
Are any more recent version allowed? Let just say I never play with Perl...
Solved! Go to Solution.
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 09:11 AM
Does anybody know where I could find the correct free Perl version and the compile librairies require to install Infoblox package? We have absolutely no Perl experience and are not very exited at the prospect of having to pay a lot of money for thoses items...
Any alternatives options?
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 09:32 AM
Have a look a Strawberry Perl, I use it here and it works fine.
PCN (UK) Ltd
All opinions expressed are my own and not representative of PCN Inc./PCN (UK) Ltd. E&OE
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 01:16 PM
If you are planning to install perl on Windows you can ether download strawberry perl or can also download cygwin with perl module.
If you using Linux environment you can download source bundle for perl and can use below command to install it,
# tar -xzfv perl-x.x.x.tar.gz
# cd perl-x.x.x
# make
# make test
# make install
Thank you,
Manoj
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 01:34 PM
Thank you
Just installed Strawberry and import the librairies using cpan install. For the Infoblox ppm module, do you still use cpan or can you use the ppm command available in Strawberry? I am navigating blind here, using bits of the alternate instructions but I don't know the last step. PPM importation worked but is it the same that using cpan (what syntax)?
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 01:44 PM
Yes you can use ppm commnad to install require libraries and Infoblox api modules. Please review section "Infoblox API Installation Instructions" (for windows) from API guide for steps on how to install require libraries and Infoblox perl module.
Here is a link for latest API guied,
http://dloads.infoblox.com/tech_lib/Infoblox_API_Documentation_7.3.pdf?auth=1461617006
Thank you
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 06:05 PM
I mean, can I use, with Strawberry Perl, the PPM and CPAN shell to import the librairies? The Cpan shell is working better for some package and PPM better for Infoblox... Is there any internal procedure to setup Strawberry on Windows with Infoblox? I have found one reference to Strawberry in the Knowledge base for Netmri. With it, I was finally able to extract, compile and install the Infoblox tar file using dmake instead of make but doing a search for the Infoblox module returned nothing in ppm and cpan after the import (cpan> i /Infoblox/).
cd Infoblox-xxxxxxx/
perl Makefile.PL
dmake
dmake test
dmake install
More and more confused...
Re: Perl installation - What version to use
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 06:45 PM - edited 04-25-2016 06:53 PM
<Replace the versions referenced below with the latest ones>
Use the following procedure to install the Strawberry Perl on a Windows-7 client:
1. Download Strawberry Perl 5.20.1.1
64-bit: http://strawberryperl.com/
2. Install the Strawberry Perl 5.20.1.1
3. Download the Infoblox***.tar.gz from https://<GridMasterIPAddress>/api/dist/CPAN/authors/id/INFOBLOX/
4. Open the Strwaberry CPAN Client (All Programs -> Strawberry Perl (64-Bit) -> Tools)
5. <noformat> Type >> install XML:arser <noformat>
6. Type exit to exit from the CPAN Client.
7. Unzip the infoblox*.tar.gz to c:\anyfolder
8. Then go to the "anyfolder" directory
Type cd \anyfolder
9. Type \Strawberry\perl\bin\perl.exe Makefile.PL
=========Example output=============
C:\anyfolder>\Strawberry\perl\bin\perl.exe Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Infoblox
Writing MYMETA.yml and MYMETA.json
============END==================
10. Type \Strawberry\c\bin\dmake
=========Example output=============
cp Infoblox/LB/F5/GlbServer/IP.pod blib\lib\Infoblox\LB\F5\GlbServer\IP.pod
cp Infoblox/LB/F5/GlbWideIP/Pool.pod blib\lib\Infoblox\LB\F5\GlbWideIP\Pool.pod
cp Infoblox/LB/F5/GlbMonitor.pod blib\lib\Infoblox\LB\F5\GlbMonitor.pod
cp Infoblox/Session.pm blib\lib\Infoblox\Session.pm
cp Infoblox/MasterGrid/Grid.pod blib\lib\Infoblox\MasterGrid\Grid.pod
cp Infoblox/LDAP/AuthService.pod blib\lib\Infoblox\LDAP\AuthService.pod
cp Infoblox/OCSP/AuthService.pod blib\lib\Infoblox\OCSP\AuthService.pod
cp Infoblox/Serialize.pm blib\lib\Infoblox\Serialize.pm
cp Infoblox/Result.pm blib\lib\Infoblox\Result.pm
cp Infoblox/LB/Group.pod blib\lib\Infoblox\LB\Group.pod
cp Infoblox/Paging.pm blib\lib\Infoblox\Paging.pm
cp Infoblox/Util.pm blib\lib\Infoblox\Util.pm
cp Infoblox/PAPIOverrides.pm blib\lib\Infoblox\PAPIOverrides.pm
cp Infoblox/LDAP/EA_Mapping.pod blib\lib\Infoblox\LDAP\EA_Mapping.pod
cp Infoblox/LB/F5/ManagedBase.pod blib\lib\Infoblox\LB\F5\ManagedBase.pod
cp Infoblox/OCSP/Responder.pod blib\lib\Infoblox\OCSP\Responder.pod
cp Infoblox/LB/F5/ReferenceBase.pod blib\lib\Infoblox\LB\F5\ReferenceBase.pod
cp Infoblox/LDAP/Server.pod blib\lib\Infoblox\LDAP\Server.pod
cp Infoblox/LB/F5/Partition.pod blib\lib\Infoblox\LB\F5\Partition.pod
cp Infoblox/LB/F5/VLAN.pod blib\lib\Infoblox\LB\F5\VLAN.pod
cp Infoblox/Session.pod blib\lib\Infoblox\Session.pod
cp Infoblox/LB/ManagedObject.pod blib\lib\Infoblox\LB\ManagedObject.pod
cp convert_modules.pl blib\lib\convert_modules.pl
============END==================
11. Type \Strawberry\c\bin\dmake install
=========Example output=============
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbListener.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbMonitor.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbMonitorRule.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbPool.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbPoolMember.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbProberPool.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbServer.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbVirtualServer.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbWideIP.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\LlbProfileDns.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\ManagedBase.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\Partition.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\ReferenceBase.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\VLAN.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbServer\IP.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LB\F5\GlbWideIP\Pool.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LDAP\AuthService.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LDAP\EA_Mapping.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\LDAP\Server.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\MasterGrid\Grid.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\OCSP\AuthService.pod
Installing C:\STRAWB~1\perl\site\lib\Infoblox\OCSP\Responder.pod
Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod
============END==================
12. Open new CMD Windows and go to the directory \Strawberry\perl\bin\ and test run a perl script.
Rgds
Danny
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-25-2016 06:56 PM
Hum, look very much like the last steps I tried... Is it possible to see the InfoBlox package using the cpan -i /Infoblox/ instruction? Maybe the package is installed but the confirmation I was looking for is not working?
I will uninstall everything tomorrow morning (it's 21h56 EST) and restart with a clean slate.
Thank you
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-29-2016 08:59 AM
If "dmake install" completed successfully when you were building the module, it should be installed.
A quick and easy test to see if the Infoblox package is installed would be:
perl -MInfoblox -e1
If that doesn't bomb, perl was able to find and load the module so you should be able to start writing scripts.
Regarding versions of perl, I've never seen anything from perl-5.8.8 and up fail. Depending on the system, I'm now using the Infoblox module with perl versions: 5.8.8, 5.14.2, and 5.20.2.
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-02-2016 07:45 AM
Yes, it work, Thank you all
PS: The production server are isolated without internet access. Once Perl is installed on the target, isolated servers, is it possible to simply copy all the file structure from the test system to have all the librairies I had to install manually, on the prod servers?
Re: Perl installation - What version to use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-09-2016 09:21 AM
Yes. You don't even need to run make/make install. All the perl modules are 'pre-compiled' and just copying over the contents from a downloaded bundle work.
You need both the 'Infoblox.pm' file and the 'Infoblox' folder, so it is sometimes easier to just link the whole build to a new library location:
e.g:
ln -s ~/src/downloads/infoblox/Infoblox-7.00160000270702 lib
#!/usr/bin/perl
use lib "lib" ;