Re: Class::DBI::Plugin::Pager installation failor

[prev] [thread] [next] [Date index for 2004/12/17]

From: David Baird
Subject: Re: Class::DBI::Plugin::Pager installation failor
Date: 20:08 on 17 Dec 2004

Michael A Nachbaur wrote:
> I can't speak for Gabor, but I am having the same problems as he, and I 
> get the following from the CPAN shell while trying to install 
> C::D::P::Pager
> 
> Too early to specify a build action 'Build'.  Do 'Build Build' instead.
> make: *** [Build] Error 2
>   /usr/bin/make -j3 -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
> 
> Evidently CPAN doesn't like the Build.PL script.  Anyone know why this 
> module uses this, rather than the more ubiquitous Makefile.PL?

This is a different error. Do you have Module::Build installed? CPAN 
works just fine with Build.PL scripts.

d.


> 
> Stephen Keenan wrote:
> 
>> Hi
>>
>> I would install from CPAN. It will take care of any prerequisites for you
>>
>> perl -MCPAN -e shell
>>
>> then
>>
>> install <WHATEVER>
>>
>> Stephen
>>
>>
>>
>> On Fri, 17 Dec 2004, Gabor Szabo wrote:
>>
>>
>>> first of all thanks for the quick response to my previous question.
>>>
>>> Now I am trying to install the module on my production server
>>> (having 5.8.4 there) and I get the following error.
>>>
>>> My guess was that one of the prerequisites needs a higher version number
>>> but upgrading the modules I saw as immediate prerequisites did not seem
>>> to help.
>>>
>>> Gabor
>>>
>>>
>>>
>>> [root@ac Class-DBI-Plugin-Pager-0.521]# ./Build test
>>> t/00.load.............ok 1/1# Testing Class::DBI::Plugin::Pager 0.521
>>> t/00.load.............ok
>>> t/01.load_subclass....ok
>>> t/02.main.............Use of uninitialized value in numeric lt (<) at
>>> /var/cpanplus/5.8.4/build/Class-DBI-Plugin-Pager-0.521/blib/lib/Class/DBI/Plugin/Pager.pm 
>>>
>>> line 273.
>>> t/02.main.............NOK 1#     Failed test (t/02.main.t at line 43)
>>> # died: Fewer than one entry per page! at
>>> /usr/local/perl584/lib/site_perl/5.8.4/Test/Exception.pm line 134
>>> Modification of non-creatable array value attempted, subscript -2 at
>>> t/02.main.t line 45.
>>> # Looks like you planned 19 tests but only ran 1.
>>> # Looks like your test died just after 1.
>>> t/02.main.............dubious
>>>        Test returned status 255 (wstat 65280, 0xff00)
>>> DIED. FAILED tests 1-19
>>>        Failed 19/19 tests, 0.00% okay
>>> t/03.subclass.........ok 6/20Use of uninitialized value in numeric lt 
>>> (<)
>>> at
>>> /var/cpanplus/5.8.4/build/Class-DBI-Plugin-Pager-0.521/blib/lib/Class/DBI/Plugin/Pager.pm 
>>>
>>> line 273.
>>> t/03.subclass.........NOK 7#     Failed test (t/03.subclass.t at line 
>>> 42)
>>> # died: Fewer than one entry per page! at
>>> /usr/local/perl584/lib/site_perl/5.8.4/Test/Exception.pm line 134
>>> t/03.subclass.........NOK 8#     Failed test (t/03.subclass.t at line 
>>> 44)
>>> #     Structures begin differing at:
>>> #          $got->[0] = Does not exist
>>> #     $expected->[0] = 'fee'
>>> Illegal division by zero at
>>> /usr/local/perl584/lib/site_perl/5.8.4/Data/Page.pm line 70.
>>> # Looks like you planned 20 tests but only ran 8.
>>> # Looks like your test died just after 8.
>>> t/03.subclass.........dubious
>>>        Test returned status 255 (wstat 65280, 0xff00)
>>> DIED. FAILED tests 7-20
>>>        Failed 14/20 tests, 30.00% okay
>>> t/04.auto_syntax......Use of uninitialized value in numeric lt (<) at
>>> /var/cpanplus/5.8.4/build/Class-DBI-Plugin-Pager-0.521/blib/lib/Class/DBI/Plugin/Pager.pm 
>>>
>>> line 273.
>>> Fewer than one entry per page! at t/04.auto_syntax.t line 36
>>> # Looks like your test died before it could output anything.
>>> t/04.auto_syntax......dubious
>>>        Test returned status 255 (wstat 65280, 0xff00)
>>> DIED. FAILED test 1
>>>        Failed 1/1 tests, 0.00% okay
>>> t/pod-coverage........ok
>>> t/pod.................ok
>>> Failed Test        Stat Wstat Total Fail  Failed  List of Failed
>>> ------------------------------------------------------------------------------- 
>>>
>>> t/02.main.t         255 65280    19   37 194.74%  1-19
>>> t/03.subclass.t     255 65280    20   26 130.00%  7-20
>>> t/04.auto_syntax.t  255 65280     1    2 200.00%  1
>>> Failed 3/7 test scripts, 57.14% okay. 34/48 subtests failed, 29.17% 
>>> okay.
>>>
>>>
>>>
>>>
>>>
> 
> 

Class::DBI::Plugin::Pager installation failor
Gabor Szabo 16:23 on 17 Dec 2004

Re: Class::DBI::Plugin::Pager installation failor
Stephen Keenan 17:38 on 17 Dec 2004

Re: Class::DBI::Plugin::Pager installation failor
Michael A Nachbaur 18:27 on 17 Dec 2004

Re: Class::DBI::Plugin::Pager installation failor
William Ross 19:59 on 17 Dec 2004

Re: Class::DBI::Plugin::Pager installation failor
David Baird 20:08 on 17 Dec 2004

Generated at 09:04 on 20 Dec 2004 by mariachi v0.52