I'm having the same problem. I installed a Perl-Tk rpm, and there is a Tk.pm and TK directory in /usr/lib/perl5/5.8.0. Here is my bast.log: (This is Redhat 9)
+ export PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kevin/bin
+ PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kevin/bin
+ export PERL5LIB=:/opt/sec_mgmt/bastille/lib:/usr/lib/perl5/site_perl:/usr/lib/Bastille:/usr/lib/perl5/site_perl/5.6.0/i386-linux:/usr/lib/perl5/5.8.0:/usr/lib/perl5/vendor_perl
+ PERL5LIB=:/opt/sec_mgmt/bastille/lib:/usr/lib/perl5/site_perl:/usr/lib/Bastille:/usr/lib/perl5/site_perl/5.6.0/i386-linux:/usr/lib/perl5/5.8.0:/usr/lib/perl5/vendor_perl
+ set +o privileged
+ MIN_V_MAJ=5
+ MIN_V_MIN=005
++ echo /bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kevin/bin
++ sed -e 's/:/ /g'
+ PARSED_PATH=/bin /usr/bin /usr/sbin /usr/local/bin /usr/bin /bin /usr/X11R6/bin /home/kevin/bin
+ PERL_PATHS=/usr/lib/perl5/5.8.0 /opt/perl/bin /usr/bin /bin /bin /usr/bin /usr/sbin /usr/local/bin /usr/bin /bin /usr/X11R6/bin /home/kevin/bin
+ ERRORWARN=WARNING:
+ ERRSPACES=
+ retval=0
++ PATH=/usr/bin:/bin
++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -f /opt/sec_mgmt/bastille/bin/bastille ']'
+ '[' -f /usr/sbin/InteractiveBastille ']'
+ scripts_location=/usr/sbin
+ '[' '!' -x /usr/lib/perl5/5.8.0/perl ']'
+ FOUND=no
+ '[' '!' -x /opt/perl/bin/perl ']'
+ FOUND=no
+ '[' '!' -x /usr/bin/perl ']'
+ FOUND=yes
+ break
+ '[' yes = no ']'
++ /usr/bin/perl -version
++ head -2
++ sed -e 's/^v//'
++ grep '^[1-9]\.'
++ sed -e s/_/./
++ tr ' ' '\n'
+ PERL_VERSION=5.8.0
+ PERL_V_MAJ=5
+ PERL_V_NOTMAJ=8.0
+ PERL_V_MIN=8
+ PERL_V_PL=0
+ '[' 5 -eq 5 -a 8 -lt 005 -o 5 -lt 5 ']'
+ option_used=0
+ options_left=
+ runcmd=/usr/bin/perl /usr/sbin/InteractiveBastille
+ needx=yes
+ optarg=no
++ echo -n
++ grep -E '^-'
+ option_test=
+ '[' no = yes -a -z '' ']'
+ optarg=no
+ options_left= -n
+ '[' yes = yes ']'
+ missingmod=0
+ /usr/bin/perl -MTk
+ '[' 255 '!=' 0 ']'
+ retval=2
+ '[' 0 = 0 ']'
+ missingmod=1
+ echo 'WARNING: /usr/bin/perl cannot find Perl module Tk.'
WARNING: /usr/bin/perl cannot find Perl module Tk.
+ '[' 1 = 1 ']'
+ cat
The above module(s) is/are required to correctly display
the Bastille User Interface. If you are unable to find a
pre-compiled module for your OS, they can be found at:
http://www.cpan.org/modules/01modules.index.html
If you installed the modules in another installation of
perl besides the one listed in the error message, you may
override Bastille's search path by setting the
$CORRECT_PERL_PATH environment variable to the directory
that the desired perl binary is located in.
+ '[' 2 '!=' 0 ']'
+ exit 2
directory contents:
[root@fileserver 5.8.0]# pwd
/usr/lib/perl5/5.8.0
[root@fileserver 5.8.0]# ls
abbrev.pl Class filetest.pm newgetopt.pl tainted.pl
AnyDBM_File.pm complete.pl FindBin.pm NEXT Term
assert.pl constant.pm finddepth.pl NEXT.pm termcap.pl
Attribute CPAN find.pl open2.pl Test
attributes.pm CPAN.pm flush.pl open3.pl Test.pm
auto CPAN.pm.links ftp.pl open.pm Text
AutoLoader.pm ctime.pl getcwd.pl overload.pm Thread
AutoSplit.pm DB.pm Getopt perl5db.pl Thread.pm
autouse.pm Devel getopt.pl PerlIO Tie
B diagnostics.pm getopts.pl PerlIO.pm Time
base.pm Digest.pm Hash pod timelocal.pl
Benchmark.pm DirHandle.pm hostname.pl Pod Tk
bigfloat.pl dotsh.pl I18N pwd.pl Tk.pm
bigint.pl Dumpvalue.pm i386-linux-thread-multi Scalar Unicode
bigint.pm dumpvar.pl if.pm Search unicore
bignum.pm Encode importenv.pl SelectSaver.pm UNIVERSAL.pm
bigrat.pl English.pm integer.pm SelfLoader.pm User
bigrat.pm Env.pm IO Shell.pm utf8_heavy.pl
blib.pm exceptions.pl IPC shellwords.pl utf8.pm
bytes_heavy.pl Exporter less.pm sigtrap.pm validate.pl
bytes.pm Exporter.pm List sort.pm vars.pm
cacheout.pl ExtUtils Locale stat.pl vmsish.pm
Carp fastcwd.pl locale.pm strict.pm warnings
Carp.pm Fatal.pm look.pl subs.pm warnings.pm
CGI fields.pm Math Switch Win32.pod
CGI.pm File Memoize Switch.pm
CGI.pm.newcgi FileCache.pm Memoize.pm Symbol.pm
charnames.pm FileHandle.pm Net syslog.pl
Thanks,
Kevin