Menu

#146 Can't locate Bastille/API.pm in @INC

open
nobody
None
5
2008-10-16
2008-10-16
paul barnes
No

After installing Bastille-3.2.1-0.1.noarch.rpm and perl-Tk-804.027-15 on a SLES 10SP1, i want o launch bastille with the "bastille -x" command, and i ve the following result
dhcp0421:/home/paul/bastille # bastille -x
Can't locate Bastille/API.pm in @INC (@INC contains: /usr/lib /usr/lib/perl5/site_perl//5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl//5.8.8 /usr/lib/perl5/site_perl/ /usr/lib/Bastille /opt/sec_mgmt/bastille/lib /opt/sec_mgmt/bastille/lib/API /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/sbin/InteractiveBastille line 205.
BEGIN failed--compilation aborted at /usr/sbin/InteractiveBastille line 205.

Can you help please ?
Thank you

Discussion

  • Nobody/Anonymous

    This is a problem with the RPM. It places these files in /usr/lib64/Bastille, which is obviously not in perl's @INC. I suppose there are other ways to fix this but as a quick workaround I symlinked /usr/lib/Bastille -> /usr/lib64/Bastille. This should really be fixed in the RPM.

     
  • Nobody/Anonymous

    I'm using Fedora 10. In /usr/sbin/InteractiveBastille around line 187 change
    use lib "/usr/lib","/usr/lib/perl5/site_perl/","/usr/lib/Bastille";
    to
    use lib "/usr/lib64","/usr/lib/perl5/site_perl/","/usr/lib64/Bastille"
    That should get you to the next problem.

    Regards, Neill.

     

Log in to post a comment.