Hello,

running   make -Ccassandane   prints


./start-instance.pl syntax OK
Base class package "Test::Unit::TestRunner" is empty.
    (Perhaps you need to 'use' the module which defines that package first,
    or make that module available in @INC (@INC contains: . 
/usr/local/lib/perl5/site_perl/5.38.2/x86_64-linux-thread-multi-ld 
/usr/local/lib/perl5/site_perl/5.38.2 
/usr/local/lib/perl5/5.38.2/x86_64-linux-thread-multi-ld 
/usr/local/lib/perl5/5.38.2).
 at Cassandane/Unit/Runner.pm line 43.
BEGIN failed--compilation aborted at Cassandane/Unit/Runner.pm line 43.
Compilation failed in require at ./testrunner.pl line 48.
BEGIN failed--compilation aborted at ./testrunner.pl line 48.
make: *** [Makefile:74: testrunner.pl_syntax] Error 2
make: Leaving directory '/git/cyrus/cyrus-imapd/cassandane'


With perl 5.38.2

# cpan -i Test::Unit::TestRunner

prints

Running make test for MCAST/Test-Unit-0.25.tar.gz                               
                                                        
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" 
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0
, 'blib/lib', 'blib/arch')" t/*.t                                               
                                                        
t/all_tests.t ..... Can't use 'defined(@array)' (Maybe you should just omit the 
defined()?) at /root/.cpan/build/Test-Unit-0.25-2/blib/l
ib/Test/Unit/TestCase.pm line 106.                                              
                                                        
Compilation failed in require at 
/root/.cpan/build/Test-Unit-0.25-2/blib/lib/Test/Unit/TestSuite.pm line 15.     
                       
BEGIN failed--compilation aborted at 
/root/.cpan/build/Test-Unit-0.25-2/blib/lib/Test/Unit/TestSuite.pm line 15.     
                   
Compilation failed in require at 
/root/.cpan/build/Test-Unit-0.25-2/blib/lib/Test/Unit/Loader.pm line 7.         
                       
BEGIN failed--compilation aborted at 
/root/.cpan/build/Test-Unit-0.25-2/blib/lib/Test/Unit/Loader.pm line 7.         
                   
Compilation failed in require at 
/root/.cpan/build/Test-Unit-0.25-2/blib/lib/Test/Unit/Listener.pm line 2.       
                       
…
t/all_tests.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)            
                                                        
No subtests run                                                                 
                                                        
t/assert.t ........ Can't use 'defined(@array)' (Maybe you should just omit the 
defined()?) at /root/.cpan/build/Test-Unit-0.25-2/blib/l
ib/Test/Unit/TestCase.pm line 106.                                              
                                                        


Test-Unit-0.25 was released in 2005. Is the problem that I am using too new 
version of Perl, and for this reason I cannot install Test-Unit-0.25, or I do 
not need Test::Unit::TestRunner (to solve the base empty package), or is it 
something different?

Greetings
  Дилян


------------------------------------------
Cyrus: Devel
Permalink: 
https://cyrus.topicbox.com/groups/devel/T5ac61e0683eda69a-Mcb35c7e78884ad88158e97a5
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription

Reply via email to