- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-15-2012 09:19 AM
I am trying to run a perl script which uses “PAN::API” module to connect to Palo Alto firewall. I downloaded “Perl User-ID XML API.zip” and I tried to install PAN::API module by copying “API.pm” to “/usr/lib/perl5/5.10.0/”
But it complaining that PAN::API is not installed, error message: “Can't locate PAN/API.pm”
My platform is SUSE Linux Enterprise Server 11
What am I doing wrong? Can you help please?
02-15-2012 01:27 PM
The README file says:
To install perform the following:
$ perl Makefile.PL
$ make
$ make test
$ sudo make install
worked for me.
02-16-2012 03:38 AM
I think I must have downloaded the wrong package (Perl User-ID XML API.zip).
There is neither “Makefile.PL” nor a “README” file in the package. Can someone kindly direct me to where I can download the “PAN::API” Perl module?
02-16-2012 07:07 AM
Thanks for your response however after installing “PAN-perl-20111226” as instructed, my script still complain that “PAN::API” is not installed.
Package “PAN-perl-20111226” provide “PAN::XAPI” not “PAN::API”
But my script requires “PAN::API” where can I download this from?
02-28-2012 10:46 AM
please check this link - https://live.paloaltonetworks.com/docs/DOC-2485 . I have updated the doc with the steps to create a perl environment before we install the PAN Perl API.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!