I've installed ActivePerl on my AIX 5.1 system using the following install file
ActivePerl-5.8.7.813-aix-5.1-cc-151115.tar.gz
By install, all I did was to gunzip/tar the file. Everything seems to have installed
OK; I ended up with the following directories
/ActivePerl-5.8.7.813-aix-5.1-cc-151115/perl/bin
/ActivePerl-5.8.7.813-aix-5.1-cc-151115/perl/lib
If I change to the bin directory I can issue
$> ./perl -v
This is perl, v5.8.7 built for aix-thread-multi
If I create a file named test.pl
use strict;
use Tk;
my $window = MainWindow->new;
$window->Label("-text" => "Hello World")->pack();
MainLoop
Issuing "./perl ./test.pl" results in
Can't locate strict.pm in @INC (@INC contains:
/tmp/perl-----please-run-the-install-script------------/lib/5.8.7/aix-thread-multi
/tmp/perl-----please-run-the-install-script------------/lib/5.8.7
/tmp/perl-----please-run-the-install-script------------/lib/site_perl/5.8.7/aix-thread-multi
/tmp/perl-----please-run-the-install-script------------/lib/site_perl/5.8.7
/tmp/perl-----please-run-the-install-script--/lib/site_perl .) at ./test.pl line 2.
1) Do I have to do something to install other than just unpack the files as I've done?
There is no /tmp/perl or an install script I can find.
2) Am I correct that ActivePerl already contains Tk so I don't have to separately install it?