Je suis sous centos 6 et j'ai installé la version rpm de bastille, il ne peut pas trouver Curses.pm, cependant perl-Curses est installé et d'une certaine manière même perl ne peut pas le trouver.
[root@server ~]# /usr/sbin/bastille -c
ERROR: Couldn't determine Red Hat version! Setting to 9!
ERROR: Couldn't determine Red Hat version! Setting to 9!
NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.
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.
[root@server ~]# rpm -qa | grep Curses
perl-Curses-1.28-1.el5.rf.x86_64
[root@server ~]# perl
use Curses;
Can't locate Curses.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at - line 1.
BEGIN failed--compilation aborted at - line 1.
Avez-vous une idée de l'endroit où je devrais chercher plus loin ?
[Après recherche] :
i installé perl-Curses-1.28-1.el6.rf.x86_64.rpm
et cela a fonctionné, maintenant Bastille se plaint de
/usr/sbin/bastille -c
ERROR: Couldn't determine Red Hat version! Setting to 9!
ERROR: Couldn't determine Red Hat version! Setting to 9!
NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.
Can't locate Bastille/API/HPSpecific.pm in @INC (@INC contains: /usr/lib /usr/lib/perl5/site_perl/ /usr/lib/Bastille /opt/sec_mgmt/bastille/lib /opt/sec_mgmt/bastille/lib/API /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib/Bastille/IOLoader.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/Bastille/IOLoader.pm line 8.
Compilation failed in require at /usr/sbin/InteractiveBastille line 414.
0 votes
Quelle est la sortie de
updatedb && locate Curses.pm
?