Help with perl dependencies

Hello again. sorry for the previous incomplete e-mails… I hope this
can help you guys help me.
thank you!

Running CentOS 4.0 rc1 - kernel 2.6.9-5.EL
and
httpd-2.0.52-9.ent.centos4.1
mod_perl-1.99_16-4.centos4
perl-5.8.5-12.1
mysql-4.1.7-4.RHEL4.1
rt 3.4.1 (…or trying to).

I set the configure file (properly I think). then I ran “make
testdeps” there were a lot of missing dependencies so the next thing I
did was to run “make fixdeps” After 10-15 minutes of installs it
finished.

The next think I did was to run “make testdeps |grep MISSING”

And I got the following missing dependencies.

make testdeps |grep MISSING
DBIx::SearchBuilder 1.21…MISSING
MIME::Entity 5.108…MISSING
Term::ReadKey …MISSING

I tried installing each of those separately by doing "perl -MCPAN -e
’install DBIx::Searchbuilder’ and so on for the other 3. All of them
fail with the following errors:

perl -e 'install DBIx::Searchbuilder’
Can’t locate object method “install” via package “DBIx::Searchbuilder”
(perhaps you forgot to load “DBIx::Searchbuilder”?) at -e line 1.

perl -e 'install MIME::Entity’
Can’t locate object method “install” via package “MIME::Entity”
(perhaps you forgot to load “MIME::Entity”?) at -e line 1.

perl -e 'install Term::ReadKey’
Can’t locate object method “install” via package “Term::ReadKey”
(perhaps you forgot to load “Term::ReadKey”?) at -e line 1.

If I run make fixdeps, I get this:

…runs for a few seconds and stops on…

DBIx-SearchBuilder-1.22/Makefile.PL
Removing previously used /root/.cpan/build/DBIx-SearchBuilder-1.22

CPAN.pm: Going to build J/JE/JESSE/DBIx-SearchBuilder-1.22.tar.gz

Checking if your kit is complete…
Looks good
Warning: prerequisite Want 0 not found.
Writing Makefile for DBIx::SearchBuilder
---- Unsatisfied dependencies detected during
[J/JE/JESSE/DBIx-SearchBuilder-1.22.tar.gz] -----
Want
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

… I select yes, and after a lot of output, it stops with this message…

Writing termio/termios section of cchars.h… Done.
Checking for sgtty…
Sgtty NOT found.
Writing sgtty section of cchars.h… Done.
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes
-typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap ReadKey.xs >
ReadKey.xsc && mv ReadKey.xsc ReadKey.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=“2.30” -DXS_VERSION=“2.30” -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" ReadKey.c
/bin/sh: gcc: command not found
make[1]: *** [ReadKey.o] Error 127
make[1]: Leaving directory `/root/.cpan/build/TermReadKey-2.30’
/usr/bin/make – NOT OK
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible
Text::Autoformat …found
Text::Quoted 1.3…found
Tree::Simple 1.04…found
Scalar::Util …found
Module::Versions::Report …found
Cache::Simple::TimedExpiry …found
XML::Simple …found

Looks like your test died before it could output anything.

I appreciate in advance any help you can give me!

thank you. Oscar.

perl -e 'install DBIx::Searchbuilder’
Can’t locate object method “install” via package “DBIx::Searchbuilder”
(perhaps you forgot to load “DBIx::Searchbuilder”?) at -e line 1.

perl -MCPAN -e ‘install DBIx::Searchbuilder’

/bin/sh: gcc: command not found

You need gcc to compile some perl modules. When you installed centos
it was that ‘Development’ package/install option.

-Bill
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill@bfccomputing.com Mobile: 603.252.2606
http://www.bfccomputing.com/ Pager: 603.442.1833
AIM: wpmcgonigle Skype: bill_mcgonigle

Thanks Bill… I went ahead and installed the gcc, and its dev
package. the error still happens when I run make fixdeps. And the
same error occurs when I do perl -e 'install ’

Any ideas…?
here’s the new output of make fixdeps…

Manifying blib/man3/MIME::Parser.3pm
make[1]: Leaving directory /root/.cpan/build/MIME-tools-5.417' /usr/bin/make -- OK Running make test make[1]: Entering directory/root/.cpan/build/MIME-tools-5.417’
PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e”
“test_harness(0, ‘blib/lib’, ‘blib/arch’)” t/*.t
t/Body…ok
t/Decoder…ok
t/Entity…ok
t/Gauntlet…ok
t/Head…ok
t/Misc…FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser…ok
t/Ref…ok
t/WordDecoder…ok
t/Words…ok
Failed Test Stat Wstat Total Fail Failed List of Failed
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/root/.cpan/build/MIME-tools-5.417’
/usr/bin/make test – NOT OK
Running make install
make test had returned bad status, won’t install without force
Mail::Mailer 1.57…found
Net::SMTP …found
Text::Wrapper …found
Time::ParseDate …found
Time::HiRes …found
File::Temp …found
Term::ReadKey …found
Text::Autoformat …found
Text::Quoted 1.3…found
Tree::Simple 1.04…found
Scalar::Util …found
Module::Versions::Report …found
Cache::Simple::TimedExpiry …found
XML::Simple …found

Looks like your test died before it could output anything.On Mon, 28 Feb 2005 16:25:05 -0500, Bill McGonigle bill@bfccomputing.com wrote:

On Feb 28, 2005, at 16:08, Oscar Gonzalez wrote:

perl -e 'install DBIx::Searchbuilder’
Can’t locate object method “install” via package “DBIx::Searchbuilder”
(perhaps you forgot to load “DBIx::Searchbuilder”?) at -e line 1.

perl -MCPAN -e ‘install DBIx::Searchbuilder’

/bin/sh: gcc: command not found

You need gcc to compile some perl modules. When you installed centos
it was that ‘Development’ package/install option.

-Bill

Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill@bfccomputing.com Mobile: 603.252.2606
http://www.bfccomputing.com/ Pager: 603.442.1833
AIM: wpmcgonigle Skype: bill_mcgonigle

Obstacles are those frightful things you see when you take your eyes
off your goal.
-Henry Ford

It appears that the only thing missing now is "MIME::Entity 5.108"
and when I try to install it via the perl -e command… I get this.

perl -e 'install MIME::Entity’
Can’t locate object method “install” via package “MIME::Entity”
(perhaps you forgot to load “MIME::Entity”?) at -e line 1.

Does anyone know a workaround for this?

Thanks guys for all your help…From: Oscar Gonzalez rakxzo@gmail.com
Date: Mon, 28 Feb 2005 14:03:55 -0800
Subject: Re: [rt-users] Help with perl dependencies
To: Bill McGonigle bill@bfccomputing.com
Cc: rt-users@lists.bestpractical.com

Thanks Bill… I went ahead and installed the gcc, and its dev
package. the error still happens when I run make fixdeps. And the
same error occurs when I do perl -e 'install ’

Any ideas…?
here’s the new output of make fixdeps…

Manifying blib/man3/MIME::Parser.3pm
make[1]: Leaving directory /root/.cpan/build/MIME-tools-5.417' /usr/bin/make -- OK Running make test make[1]: Entering directory/root/.cpan/build/MIME-tools-5.417’
PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e”
“test_harness(0, ‘blib/lib’, ‘blib/arch’)” t/*.t
t/Body…ok
t/Decoder…ok
t/Entity…ok
t/Gauntlet…ok
t/Head…ok
t/Misc…FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser…ok
t/Ref…ok
t/WordDecoder…ok
t/Words…ok
Failed Test Stat Wstat Total Fail Failed List of Failed
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/root/.cpan/build/MIME-tools-5.417’
/usr/bin/make test – NOT OK
Running make install
make test had returned bad status, won’t install without force
Mail::Mailer 1.57…found
Net::SMTP …found
Text::Wrapper …found
Time::ParseDate …found
Time::HiRes …found
File::Temp …found
Term::ReadKey …found
Text::Autoformat …found
Text::Quoted 1.3…found
Tree::Simple 1.04…found
Scalar::Util …found
Module::Versions::Report …found
Cache::Simple::TimedExpiry …found
XML::Simple …found

Looks like your test died before it could output anything.

perl -e 'install MIME::Entity’
Can’t locate object method “install” via package “MIME::Entity”
(perhaps you forgot to load “MIME::Entity”?) at -e line 1.

You want:
perl -MCPAN -e ‘install MIME::Entity’

  • Jason Parsons

Thanks. That took care of it I misread the instructions… its in
there the way you said it.On Mon, 28 Feb 2005 17:38:08 -0500, Jason Parsons jparsons-lists@saffron.net wrote:

On 28 Feb, 2005, at 17:07, Oscar Gonzalez wrote:

perl -e 'install MIME::Entity’
Can’t locate object method “install” via package “MIME::Entity”
(perhaps you forgot to load “MIME::Entity”?) at -e line 1.

You want:
perl -MCPAN -e ‘install MIME::Entity’

  • Jason Parsons

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Obstacles are those frightful things you see when you take your eyes
off your goal.
-Henry Ford