Results 1 to 7 of 7
I can't get the bastille program to run on my linux. After i installed it and tryed to run it through the terminal i got this error. I typed in ...
- 11-17-2007 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 19
Bastille
I can't get the bastille program to run on my linux. After i installed it and tryed to run it through the terminal i got this error. I typed in "bastille -c" or just "bastille" to get the configuration when this error came up.
WARNING: /usr/bin/perl cannot find Perl module Tk.
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:
Modules on CPAN alphabetically
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.
Also in the bastille log i got this error...
ERROR: Could not load the 'Curses.pm' interface module.This may be due to
an invalid $DISPLAY setting,or the module not being visible to
Perl.
Remember that i don't want the gui application i just want to configure through the termainal to configure my os but it's not working. Anyone?
- 11-18-2007 #2
It's been awhile since I've run bastille, so don't quote me on this: I believe there is no strictly 'CLI' configuration option. The curses interface is as close as you're going to get.
So install the packages it's asking for. What distro is this?
- 11-18-2007 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 19
This is centos...
So do i have to install curses.pm or Perl module Tk?
- 11-18-2007 #4
Read this.
So, presuming you can live with the interface provided by bastille -c, then install libcurses-perl.There is no best interface to run Bastille. However, each interface will depend on some specific software which is not provided by Bastille itself. If you want to use BastilleChooser you will need the Perl GTK modules (in Debian GNU/Linux provided by the libgtk-perl package), if you want to use InteractiveBastille you will need either the Perl's Curses modules (in Debian GNU/Linux provided by libcurses-perl) or the TK modules (in Debian GNU/Linux provided by perl-tk) depending on wether you want the console (-c) or X (-x) interfaces.
This is from my CentOS 5 box:
My guess would be you want perl-Curses.i386 (which as you can see is in the rpmforge repository).Code:[root@fugu ~]# yum list '*curses*' Loading "priorities" plugin Loading "installonlyn" plugin Setting up repositories Reading repository metadata in from local files 162 packages excluded due to repository priority protections Installed Packages ncurses.i386 5.5-24.20060715 installed Available Packages ncurses-devel.i386 5.5-24.20060715 base perl-Curses.i386 1.17-1.el5.rf rpmforge perl-Curses-UI.noarch 0.95-1.2.el5.rf rpmforge php-ncurses.i386 5.1.6-15.el5 updates
- 03-21-2008 #5Just Joined!
- Join Date
- Mar 2008
- Posts
- 2
Hello All,
For some reasons, I needed to uninstall bastille but I forgot to run bastille -r (revert Bastille changes to original file versions (pre-Bastille))
I just uninstalled the package, and restarted the iptables.
My question is, did it revert the change when uninstalling?
Thanks.
- 03-21-2008 #6
- 03-21-2008 #7Just Joined!
- Join Date
- Mar 2008
- Posts
- 2
@anomie: sorry for not starting a new thread. Thanks for the reply.


Reply With Quote
