Problems installing MergeUsers

Hi Everyone,

I have just tried to install the Extension RT::Extension::MergeUsers from
CPAN on our instance of RT 3.8.6.

Unfortunately trouble soon surfaced as shown below, bad make test. Any
ideas what may contribute to this?

cpan[7]> install RT::Extension::MergeUsers
Running install for module 'RT::Extension::MergeUsers’
Running make for F/FA/FALCONE/RT-Extension-MergeUsers-0.03.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e”
“test_harness(0, ‘inc’, ‘blib/lib’, ‘blib/arch’)” t/*.t
t/01merge_users…Can’t locate RT/Test.pm in @INC (@INC contains:
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/inc
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/blib/lib
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
t/01merge_users.t line 5.
BEGIN failed–compilation aborted at t/01merge_users.t line 5.

Looks like your test died before it could output anything.

t/01merge_users…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/change_email…Can’t locate RT/Test.pm in @INC (@INC contains:
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/inc
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/blib/lib
/root/.cpan/build/RT-Extension-MergeUsers-0.03-c7kJsm/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
t/change_email.t line 6.
BEGIN failed–compilation aborted at t/change_email.t line 6.

Looks like your test died before it could output anything.

t/change_email…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
t/01merge_users.t 255 65280 16 32 1-16
t/change_email.t 255 65280 8 16 1-8
Failed 2/2 test scripts. 24/24 subtests failed.
Files=2, Tests=24, 0 wallclock secs ( 0.04 cusr + 0.01 csys = 0.05 CPU)
Failed 2/2 test programs. 24/24 subtests failed.
make: *** [test_dynamic] Error 255
FALCONE/RT-Extension-MergeUsers-0.03.tar.gz
/usr/bin/make test – NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports FALCONE/RT-Extension-MergeUsers-0.03.tar.gz
Running make install
make test had returned bad status, won’t install without force
Failed during this command:
FALCONE/RT-Extension-MergeUsers-0.03.tar.gz : make_test NO
Regards,*

*Aaron Guise

07 838 7793
027 212 6638
aaron@guise.net.nz

MSN: guisea@hotmail.com
[image: Facebook] http://www.facebook.com/shadysandman

Unfortunately trouble soon surfaced as shown below, bad make test. Any ideas what may contribute to this?
Your RT installation isn’t @INC so cpan can’t access RT::Test.

Note that the README says nothing about make test,
and few if any other extensions seem to include tests because
of this and other headaches.

Unfortunately trouble soon surfaced as shown below, bad make test. Any
ideas what may contribute to this?
Your RT installation isn’t @INC so cpan can’t access RT::Test.

Note that the README says nothing about make test,
and few if any other extensions seem to include tests because
of this and other headaches.

Thanks Jerrad, so in this case would you think it’d be ok to use force
install here?

Regards,

*Aaron Guise

07 838 7793
027 212 6638
aaron@guise.net.nz

MSN: guisea@hotmail.com
Contact Me [image: Facebook] http://www.facebook.com/shadysandman

Thanks Jerrad, so in this case would you think it’d be ok to use force install here?
Certainly. But then, I never install via the cpan shell (build and
test as lowly user),
and generally install regardless of test results (as long as success is 80%+ :wink: