[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

./Built test fails



Hi!

I more or less succesfuly, but went to installation step 8), added all dependencies, but ./Built test fails. See output at the end of message!

What could be wrong?

brgds
Janeks


 perl Build.PL
Checking prerequisites...
Looks good

Deleting Build
Removed previous script 'Build'

Creating new 'Build' script for 'LedgerSMB' version '1.2.16'
..hidden..:/usr/local/ledgersmb$ ./Build test
Can't create '_build/cleanup': Permission denied at /usr/local/share/perl/5.8.8/Module/Build/Notes.pm line 110.
..hidden..:/usr/local/ledgersmb$ sudo ./Build test
Copying bin/menu.pl -> blib/script/menu.pl
Copying bin/is.pl -> blib/script/is.pl
Copying bin/bp.pl -> blib/script/bp.pl
Copying bin/io.pl -> blib/script/io.pl
Copying bin/admin.pl -> blib/script/admin.pl
Copying bin/arapprn.pl -> blib/script/arapprn.pl
Copying bin/ct.pl -> blib/script/ct.pl
Copying bin/ap.pl -> blib/script/ap.pl
Copying bin/aa.pl -> blib/script/aa.pl
Copying bin/ir.pl -> blib/script/ir.pl
Copying bin/gl.pl -> blib/script/gl.pl
Copying bin/ar.pl -> blib/script/ar.pl
Copying bin/ca.pl -> blib/script/ca.pl
Copying bin/ps.pl -> blib/script/ps.pl
Copying bin/arap.pl -> blib/script/arap.pl
Copying bin/pe.pl -> blib/script/pe.pl
Copying bin/pos.pl -> blib/script/pos.pl
Copying bin/oe.pl -> blib/script/oe.pl
Copying bin/am.pl -> blib/script/am.pl
Copying bin/hr.pl -> blib/script/hr.pl
Copying bin/cp.pl -> blib/script/cp.pl
Copying bin/rp.pl -> blib/script/rp.pl
Copying bin/login.pl -> blib/script/login.pl
Copying bin/jc.pl -> blib/script/jc.pl
Copying bin/rc.pl -> blib/script/rc.pl
Copying bin/pw.pl -> blib/script/pw.pl
Copying bin/ic.pl -> blib/script/ic.pl
t/01-load...............NOK 1                                               
#   Failed test 'use LedgerSMB::AA;'
#   in t/01-load.t at line 7.
#     Tried to use 'LedgerSMB::AA'.
#     Error:  Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
# BEGIN failed--compilation aborted at t/01-load.t line 7.
# Compilation failed in require at LedgerSMB/Sysconfig.pm line 8.
# BEGIN failed--compilation aborted at LedgerSMB/Sysconfig.pm line 8.
# Compilation failed in require at LedgerSMB/AA.pm line 37.
# BEGIN failed--compilation aborted at LedgerSMB/AA.pm line 37.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
"my" variable $myconfig masks earlier declaration in same scope at LedgerSMB/AM.pm line 1350.
t/01-load...............ok 2/30"my" variable $sth masks earlier declaration in same scope at LedgerSMB/BP.pm line 62.
Useless use of hash element in void context at LedgerSMB/BP.pm line 111.
"my" variable $accno masks earlier declaration in same scope at LedgerSMB/CA.pm line 447.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 140.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 232.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 357.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 451.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 590.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 739.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 832.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 924.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 1019.
/ / should probably be written as " " at LedgerSMB/Num2text.pm line 1133.
Use of uninitialized value in concatenation (.) or string at LedgerSMB/Locale.pm line 76.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/CP.pm line 410.
Unquoted string "id" may clash with future reserved word at LedgerSMB/GL.pm line 395.
Unquoted string "transdate" may clash with future reserved word at LedgerSMB/GL.pm line 395.
Unquoted string "reference" may clash with future reserved word at LedgerSMB/GL.pm line 395.
Unquoted string "source" may clash with future reserved word at LedgerSMB/GL.pm line 395.
Unquoted string "description" may clash with future reserved word at LedgerSMB/GL.pm line 395.
Unquoted string "accno" may clash with future reserved word at LedgerSMB/GL.pm line 395.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/GL.pm line 398.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/GL.pm line 438.
Unquoted string "so" may clash with future reserved word at LedgerSMB/IC.pm line 1705.
Unquoted string "po" may clash with future reserved word at LedgerSMB/IC.pm line 1705.
"my" variable $allocated masks earlier declaration in same scope at LedgerSMB/IR.pm line 160.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/IR.pm line 962.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/IR.pm line 975.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/IR.pm line 999.
"my" variable $tax masks earlier declaration in same scope at LedgerSMB/IS.pm line 74.
Unquoted string "projectnumber" may clash with future reserved word at LedgerSMB/IS.pm line 158.
Using a hash as a reference is deprecated at LedgerSMB/IS.pm line 820.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/IS.pm line 1731.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/IS.pm line 1737.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/JC.pm line 344.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/JC.pm line 361.
Useless use of hash element in void context at LedgerSMB/JC.pm line 373.
Unquoted string "transdate" may clash with future reserved word at LedgerSMB/JC.pm line 445.
Unquoted string "projectnumber" may clash with future reserved word at LedgerSMB/JC.pm line 445.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/OE.pm line 78.
Unquoted string "transdate" may clash with future reserved word at LedgerSMB/OE.pm line 110.
Unquoted string "name" may clash with future reserved word at LedgerSMB/OE.pm line 110.
Unquoted string "projectnumber" may clash with future reserved word at LedgerSMB/OE.pm line 1087.
"my" variable $null masks earlier declaration in same scope at LedgerSMB/OE.pm line 1764.
Unquoted string "partnumber" may clash with future reserved word at LedgerSMB/OE.pm line 2027.
Unquoted string "warehouse" may clash with future reserved word at LedgerSMB/OE.pm line 2027.
"my" variable $count masks earlier declaration in same scope at LedgerSMB/PE.pm line 450.
Unquoted string "partsgroup" may clash with future reserved word at LedgerSMB/PE.pm line 981.
Unquoted string "pricegroup" may clash with future reserved word at LedgerSMB/PE.pm line 1084.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/RC.pm line 60.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/RC.pm line 65.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/RP.pm line 1785.
"my" variable $query masks earlier declaration in same scope at LedgerSMB/RP.pm line 1839.
"my" variable $sth masks earlier declaration in same scope at LedgerSMB/RP.pm line 1846.
t/01-load...............ok 25/30"my" variable $query masks earlier declaration in same scope at LedgerSMB/User.pm line 873.
# Looks like you failed 1 test of 30.
t/01-load...............dubious                                             
    Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
    Failed 1/30 tests, 96.67% okay
t/02-number-handling....Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
Compilation failed in require at LedgerSMB/Sysconfig.pm line 8.
BEGIN failed--compilation aborted at LedgerSMB/Sysconfig.pm line 8.
Compilation failed in require at LedgerSMB/Form.pm line 37.
BEGIN failed--compilation aborted at LedgerSMB/Form.pm line 37.
Compilation failed in require at t/02-number-handling.t line 8.
BEGIN failed--compilation aborted at t/02-number-handling.t line 8.
# Looks like your test died before it could output anything.
t/02-number-handling....dubious                                             
    Test returned status 255 (wstat 65280, 0xff00)
t/03-date-handling......Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
Compilation failed in require at LedgerSMB/Sysconfig.pm line 8.
BEGIN failed--compilation aborted at LedgerSMB/Sysconfig.pm line 8.
Compilation failed in require at t/03-date-handling.t line 11.
BEGIN failed--compilation aborted at t/03-date-handling.t line 11.
# Looks like your test died before it could output anything.
t/03-date-handling......dubious                                             
    Test returned status 255 (wstat 65280, 0xff00)
t/10-form...............Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Test/Trap.pm line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Test/Trap.pm line 3.
Compilation failed in require at t/10-form.t line 83.
BEGIN failed--compilation aborted at t/10-form.t line 83.
# Looks like your test died before it could output anything.
t/10-form...............dubious                                             
    Test returned status 255 (wstat 65280, 0xff00)
t/12-menu...............Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Test/Trap.pm line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Test/Trap.pm line 3.
Compilation failed in require at t/12-menu.t line 15.
BEGIN failed--compilation aborted at t/12-menu.t line 15.
# Looks like your test died before it could output anything.
t/12-menu...............dubious                                             
    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-37
    Failed 37/37 tests, 0.00% okay
t/99-versioning.........Can't locate version.pm in @INC (@INC contains: /usr/local/ledgersmb/blib/lib /usr/local/ledgersmb/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Config/Std.pm line 3.
Compilation failed in require at LedgerSMB/Sysconfig.pm line 8.
BEGIN failed--compilation aborted at LedgerSMB/Sysconfig.pm line 8.
Compilation failed in require at LedgerSMB/Form.pm line 37.
BEGIN failed--compilation aborted at LedgerSMB/Form.pm line 37.
Compilation failed in require at t/99-versioning.t line 8.
BEGIN failed--compilation aborted at t/99-versioning.t line 8.
# Looks like your test died before it could output anything.
t/99-versioning.........dubious                                             
    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01-load.t               1   256    30    1   3.33%  1
t/02-number-handling.t  255 65280    ??   ??       %  ??
t/03-date-handling.t    255 65280    ??   ??       %  ??
t/10-form.t             255 65280    ??   ??       %  ??
t/12-menu.t             255 65280    37   74 200.00%  1-37
t/99-versioning.t       255 65280     9   18 200.00%  1-9
Failed 6/6 test scripts, 0.00% okay. 47/76 subtests failed, 38.16% okay.