Re: [Bastille-linux-discuss] help: can't locate curses.pm failed at line 77
This tool locks down Linux and UNIX systems.
Brought to you by:
jay
|
From: Peter W. <pe...@us...> - 2002-02-05 19:10:17
|
On Tue, Feb 05, 2002 at 12:36:17PM -0600, SPBS SPBS wrote:
... earlier you said you were running Red Hat 7.2, right?
> >From: "BUCK,KEITH (HP-FtCollins,ex1)" <kei...@hp...>
> >did you also install the Curses RPM? It's different than the
> >Bastille Curses RPM.
>
> I installed perl-Curses-1.05.RedHat6.2-2.i386.rpm
> I am installing all rpms with -ivh -nodeps -replacefiles
1) You should always be suspicious when -nodeps seems to be needed. ;-)
2) That looks like my package's name... and it realy was intended for
Red Hat 6.2 (is that why you needed -nodeps, I hope?). RH 7.2
likely has a newer version of Perl, one which looks in different
directories for Perl modules. E.G., my package may have dropped
Curses.pm in /lib/perl/5.005/ but the version of Perl shipped with
RH 7.2 might be looking in /lib/perl/5.6.0/ or seomething.
rpm -ql perl-Curses | grep Curses.pm
will tell you where the Curses module you installed ended up
perl -e 'print(join(":",@INC)."\n");'
will tell you where Perl looks for it (ala PATH or LD_LIBRARY_PATH)
But that's all academic; you want a perl-Curses that was built for RH7.2
-Peter
--
We must all learn to live together as brothers,
or we will all perish as fools. - Dr Martin Luther King, Jr
|