Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter CPAN distribution.

Report information
The Basics
Id: 86183
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: Nobody in particular
Requestors: rsr [...] ncc.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: net-twitter bug: "Can't locate parent.pm"
Date: Sun, 16 Jun 2013 10:36:29 -0500
To: bug-Net-Twitter [...] rt.cpan.org
From: "." <rsr [...] ncc.com>
With the end of the Twitter v1 API, I'm hoping to upgrade my PERL scripts to use v1.1. To this end I used CPAN to try and install Net::Twitter:Lite::WithAPIv1_1 today. However, unlike the v1 version, which installs fine, this version fails during testing with this error: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-compile..............Can't locate parent.pm in @INC (@INC contains: lib /root/.cpan/build/Net-Twitter-Lite-0.12004/blib/lib /root/.cpan/build/Net-Twitter-Lite-0.12004/blib/arch /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at lib/Net/Twitter/Lite/WithAPIv1_1.pm line 7. BEGIN failed--compilation aborted at lib/Net/Twitter/Lite/WithAPIv1_1.pm line 7. Compilation failed in require at -e line 1. # Failed test 'Net::Twitter::Lite::WithAPIv1_1 loaded ok' # at t/00-compile.t line 62. # '' # doesn't match '(?s-xim:^\s*Net::Twitter::Lite::WithAPIv1_1 ok)' # Looks like you failed 1 test of 5. t/00-compile..............dubious I tried forcing the install to see if that would help but when I try to start my script it dies with this error: ./tweetstats.pl Can't locate parent.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Net/Twitter/Lite/WithAPIv1_1.pm line 7. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Net/Twitter/Lite/WithAPIv1_1.pm line 7. Compilation failed in require at ./tweetstats.pl line 87. BEGIN failed--compilation aborted at ./tweetstats.pl line 87. I tried googling for for "parent.pm" and the error message but both seem to be dead ends. If it makes a difference I'm running CentOS 5 and have install other CPAN modules with no issues include the previous version off net::twitter. Thanks! -Steve
Looks like you found an undeclared dependency bug. Since you're using CentOS binaries, I think you want package perl-parent. I've declared the dependency in the development branch. It will be included in the next release of Net::Twitter::Lite. (Note: Net-Twitter and Net-Twitter-Lite are separate distributions.) On Sun Jun 16 11:36:47 2013, rsr@ncc.com wrote: Show quoted text
> With the end of the Twitter v1 API, I'm hoping to upgrade my PERL > scripts to use v1.1. To this end I used CPAN to try and install > Net::Twitter:Lite::WithAPIv1_1 today. However, unlike the v1 version, > which installs fine, this version fails during testing with this > error: > > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00-compile..............Can't locate parent.pm in @INC (@INC > contains: > lib /root/.cpan/build/Net-Twitter-Lite-0.12004/blib/lib > /root/.cpan/build/Net-Twitter-Lite-0.12004/blib/arch > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/5.8.8 .) at lib/Net/Twitter/Lite/WithAPIv1_1.pm line > 7. > BEGIN failed--compilation aborted at > lib/Net/Twitter/Lite/WithAPIv1_1.pm > line 7. > Compilation failed in require at -e line 1. > > # Failed test 'Net::Twitter::Lite::WithAPIv1_1 loaded ok' > # at t/00-compile.t line 62. > # '' > # doesn't match '(?s-xim:^\s*Net::Twitter::Lite::WithAPIv1_1 ok)' > # Looks like you failed 1 test of 5. > t/00-compile..............dubious > > > I tried forcing the install to see if that would help but when I try > to > start my script it dies with this error: > > ./tweetstats.pl > Can't locate parent.pm in @INC (@INC > contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/5.8.8 .) at > /usr/lib/perl5/site_perl/5.8.8/Net/Twitter/Lite/WithAPIv1_1.pm line > 7. > BEGIN failed--compilation aborted > at /usr/lib/perl5/site_perl/5.8.8/Net/Twitter/Lite/WithAPIv1_1.pm line > 7. > Compilation failed in require at ./tweetstats.pl line 87. > BEGIN failed--compilation aborted at ./tweetstats.pl line 87. > > I tried googling for for "parent.pm" and the error message but both > seem > to be dead ends. If it makes a difference I'm running CentOS 5 and > have > install other CPAN modules with no issues include the previous version > off net::twitter. > > Thanks! > > -Steve >