How to make a probe with perl on AIX !

Discussion created by 1_Gentilhomme on Nov 27, 2014
Latest reply on Dec 10, 2014 by 1_JM



I try, by all ways, to run a perl script with Nimbus libraries on an AIX 6 and AIX 5 systems (with the same results)


Before, I have deployed with succes, on the same robots, the Perl_AIX_5 and SDK_Perl packages.


But, when I launch my script (despite the header = #!/opt/nimbus/perl/bin/perl, and the environment variable PERL5LIB = /opt/nimsoft/perllib) it return an error like this :


Can't locate Nimbus/API.pm in @INC (@INC contains: /opt/nimbus/perl/lib/site_perl/5.14.2/aix-thread-multi /opt/nimbus/perl/lib/site_perl/5.14.2 /opt/nimbus/perl/lib/5.14.2/aix-thread-multi /opt/nimbus/perl/lib/5.14.2 .) at ./cluster.pl line 3.

My script file contain :

use warnings;
use Nimbus::API;
print "Test";

The @INC do not contain the Nimbus library path ... and, how I can test my script externaly of the Nimsoft robot, therefor, without the environment variable PERL5LIB ?


When I try to run my script without the header, it use the default perl binary installed on the operating system in 5.8.8 version which isn't compatible with the Nimbus library ...


How I should proceed to properly implement this feature?


Best regards,

- John.