I am trying to install version 5.1.1 on Redhat 9 and I am receiving the following error:

# rpm -U net-snmp-5.1.1-1.i386.rpm
error: Failed dependencies:
        perl(Term::ReadKey) is needed by net-snmp-5.1.1-1

However, the Term::ReadKey is installed on this machine...Any ideas?

cpan> install Term::ReadKey
Term::ReadKey is up to date.

cpan> test Term::ReadKey
Running test for module Term::ReadKey
Running make for J/JS/JSTOWE/TermReadKey-2.21.tar.gz
  Is already unwrapped into directory /root/.cpan/build/TermReadKey-2.21

  CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.21.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadKey
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap  ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   ReadKey.c
Running Mkbootstrap for Term::ReadKey ()
chmod 644 ReadKey.bs
rm -f blib/arch/auto/Term/ReadKey/ReadKey.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib ReadKey.o  -o blib/arch/auto/Term/ReadKey/ReadKey.so
chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.so
cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
Manifying blib/man3/Term::ReadKey.3pm
  /usr/bin/make  -- OK
Running make test
Prepending /root/.cpan/build/TermReadKey-2.21/blib/arch /root/.cpan/build/TermReadKey-2.21/blib/lib to PERL5LIB.
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" -w test.pl
1 .. 8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
  /usr/bin/make test -- OK

cpan>

Reply via email to