Hello,
I am trying to install the latest ledgersmb verison on SUSE 11.1 system, I
installed all perl modules,
run sucesfully make Makefile.pl and make commands
but when I run "make test" it shows the strange errors bellow:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01-load.t
t/02-number-handling.t t/03-date-handling.t t/04-template-handling.t
t/10-form.t t/11-ledgersmb.t t/13-log.t t/40-dbsetup.t t/42-dbobject.t
t/43-dbtest.t t/62-api.t t/63-lwp.t t/89-dropdb.t t/97-pod.t
t/98-pod-coverage.t t/99-versioning.t
t/01-load.t ............... ok
t/02-number-handling.t .... ok
t/03-date-handling.t ...... ok
t/04-template-handling.t .. Use of uninitialized value $ENV{"PERL5OPT"} in
pattern match (m//) at t/04-template-handling.t line 46:
Use of uninitialized value $ENV{"PERL5OPT"} in pattern match (m//) at
t/04-template-handling.t line 46:
t/04-template-handling.t .. 1/?
# Failed test 'AM, check_template_name: Directory transversal denial 2'
# at t/04-template-handling.t line 139.
# got: 'Error: Directory transversal not allowed.
# '
# expected: 'Error: Not in a whitelisted directory: /tmp/apples.txt
# '
# Failed test at t/04-template-handling.t line 195.
# got: 'Error: t/data/04-not-there.txt : Datei oder Verzeichnis
nicht gefunden
# '
# expected: 'Error: Template not found: t/data/04-not-there.txt
# '
# Failed test 'AM, save_template: Die on unwritable file'
# at t/04-template-handling.t line 221.
# got: 'Error: t/var/not here/test.txt : Datei oder Verzeichnis
nicht gefunden
# '
# expected: 'Error: t/var/not here/test.txt : No such file or directory
# '
t/04-template-handling.t .. 16/? Use of uninitialized value $texinputs_path
in join or string at /usr/lib/perl5/site_perl/5.10.0/LaTeX/Driver.pm line
235:
LaTeX::Driver::new('LaTeX::Driver', 'source', 'SCALAR(0xbd531ac)',
'output', 'SCALAR(0xbd52efc)', 'format', undef, 'maxruns', undef, ...)
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 156
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 155
Template::Plugin::Latex::_tt_latex_filter('Template::Plugin::Latex',
'Template::Context=HASH(0xaee256c)', 'HASH(0xad44604)', 'ARRAY(0xc04ed2c)',
'\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 70
Template::Plugin::Latex::__ANON__('\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at t/data/04-template.tex line 20
eval {...} called at t/data/04-template.tex line 7
Template::Document::__ANON__('Template::Context=HASH(0xaee256c)')
called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 163
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 161
Template::Document::process('Template::Document=HASH(0xc1322cc)',
'Template::Context=HASH(0xaee256c)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 347
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 321
Template::Context::process('Template::Context=HASH(0xaee256c)',
'Template::Document=HASH(0xc1322cc)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 94
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 91
Template::Service::process('Template::Service=HASH(0xaee263c)',
'04-template.tex', 'HASH(0xc04eb0c)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template.pm line 66
Template::process('Template::Latex=HASH(0xaee289c)',
'04-template.tex', 'HASH(0xc04eb0c)', 't/var/04-template-output-29856.pdf',
'HASH(0xc04ea7c)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template/LaTeX.pm line 165
LedgerSMB::Template::LaTeX::process('LedgerSMB::Template=HASH(0xb4dddac)',
'HASH(0xad447f4)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template.pm line 323
LedgerSMB::Template::render('LedgerSMB::Template=HASH(0xb4dddac)',
'HASH(0xad440f4)') called at t/04-template-handling.t line 349
Use of uninitialized value $texinputs_path in join or string at
/usr/lib/perl5/site_perl/5.10.0/LaTeX/Driver.pm line 235:
LaTeX::Driver::new('LaTeX::Driver', 'source', 'SCALAR(0xbd531ac)',
'output', 'SCALAR(0xc1320fc)', 'format', undef, 'maxruns', undef, ...)
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 156
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 155
Template::Plugin::Latex::_tt_latex_filter('Template::Plugin::Latex',
'Template::Context=HASH(0xc13256c)', 'HASH(0xc188724)', 'ARRAY(0xc04e37c)',
'\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 70
Template::Plugin::Latex::__ANON__('\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at t/data/04-template.tex line 20
eval {...} called at t/data/04-template.tex line 7
Template::Document::__ANON__('Template::Context=HASH(0xc13256c)')
called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 163
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 161
Template::Document::process('Template::Document=HASH(0xc131c0c)',
'Template::Context=HASH(0xc13256c)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 347
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 321
Template::Context::process('Template::Context=HASH(0xc13256c)',
'Template::Document=HASH(0xc131c0c)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 94
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 91
Template::Service::process('Template::Service=HASH(0xaee225c)',
'04-template.tex', 'HASH(0xc04e7bc)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template.pm line 66
Template::process('Template::Latex=HASH(0xaee24ec)',
'04-template.tex', 'HASH(0xc04e7bc)', 't/var/04-template-output-29856.ps',
'HASH(0xc04ea1c)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template/LaTeX.pm line 165
LedgerSMB::Template::LaTeX::process('LedgerSMB::Template=HASH(0xad44114)',
'HASH(0xad444a4)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template.pm line 323
LedgerSMB::Template::render('LedgerSMB::Template=HASH(0xad44114)',
'HASH(0xad44524)') called at t/04-template-handling.t line 368
t/04-template-handling.t .. 91/? Use of uninitialized value $texinputs_path
in join or string at /usr/lib/perl5/site_perl/5.10.0/LaTeX/Driver.pm line
235:
LaTeX::Driver::new('LaTeX::Driver', 'source', 'SCALAR(0xbd531ac)',
'output', 'SCALAR(0xc131eec)', 'format', undef, 'maxruns', undef, ...)
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 156
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 155
Template::Plugin::Latex::_tt_latex_filter('Template::Plugin::Latex',
'Template::Context=HASH(0xc1023b4)', 'HASH(0xb21117c)', 'ARRAY(0xc118714)',
'\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at /usr/lib/perl5/site_perl/5.10.0/Template/Plugin/Latex.pm line 70
Template::Plugin::Latex::__ANON__('\documentclass{scrartcl}\x{a}\usepackage[utf8]{inputenc}\x{a}\usepack...')
called at t/data/04-template.tex line 20
eval {...} called at t/data/04-template.tex line 7
Template::Document::__ANON__('Template::Context=HASH(0xc1023b4)')
called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 163
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Document.pm
line 161
Template::Document::process('Template::Document=HASH(0xc136e9c)',
'Template::Context=HASH(0xc1023b4)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 347
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Context.pm
line 321
Template::Context::process('Template::Context=HASH(0xc1023b4)',
'Template::Document=HASH(0xc136e9c)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 94
eval {...} called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template/Service.pm
line 91
Template::Service::process('Template::Service=HASH(0xc129804)',
'04-template.tex', 'HASH(0xc0f40cc)') called at
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Template.pm line 66
Template::process('Template::Latex=HASH(0xc0fc7fc)',
'04-template.tex', 'HASH(0xc0f40cc)', 't/var/04-template-output-29856.pdf',
'HASH(0xc1064f4)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template/LaTeX.pm line 165
LedgerSMB::Template::LaTeX::process('LedgerSMB::Template=HASH(0xc0fbebc)',
'HASH(0xc1d8b44)') called at /srv/www/vhosts/
avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB/Template.pm line 323
LedgerSMB::Template::render('LedgerSMB::Template=HASH(0xc0fbebc)',
'HASH(0xc0f3cbc)') called at t/04-template-handling.t line 589
t/04-template-handling.t .. 96/? # Looks like you failed 3 tests of 96.
t/04-template-handling.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/96 subtests
(less 1 skipped subtest: 92 okay)
t/10-form.t ............... 1/? Use of uninitialized value $ENV{"PERL5OPT"}
in pattern match (m//) at t/10-form.t line 94.
Use of uninitialized value $ENV{"PERL5OPT"} in pattern match (m//) at
t/10-form.t line 94.
t/10-form.t ............... ok
t/11-ledgersmb.t .......... 1/92
# Failed test 'debug: open failure causes death'
# at t/11-ledgersmb.t line 165.
# 'Datei oder Verzeichnis nicht gefunden at
/srv/www/vhosts/avmspa.de/httpdocs/ledgersmb/blib/lib/LedgerSMB.pm line 458.
# '
# doesn't match '(?-xism:No such file or directory)'
skip() needs to know $how_many tests are in the block at t/11-ledgersmb.t
line 211
# Looks like you failed 1 test of 92.
t/11-ledgersmb.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/92 subtests
(less 1 skipped subtest: 90 okay)
t/13-log.t ................ skipped: Disabled because we have moved to
Log4perl and the predefined
t/40-dbsetup.t ............ skipped: LSMB_NEW_DB not set
t/42-dbobject.t ........... ok
t/43-dbtest.t ............. skipped: Skipping all. Told not to test db.
t/62-api.t ................ skipped: Skipping, LSMB_TEST_DB environment
variable not set.
t/63-lwp.t ................ skipped: LWP Test not enabled!
t/89-dropdb.t ............. skipped: LSMB_NEW_DB not set
t/97-pod.t ................ ok
t/98-pod-coverage.t ....... skipped: Test::Pod::Coverage required for
testing POD coverage
t/99-versioning.t ......... ok
Test Summary Report
-------------------
t/04-template-handling.t (Wstat: 768 Tests: 96 Failed: 3)
Failed tests: 10, 13, 15
Non-zero exit status: 3
t/11-ledgersmb.t (Wstat: 256 Tests: 92 Failed: 1)
Failed test: 52
Non-zero exit status: 1
Files=16, Tests=2365, 26 wallclock secs ( 0.80 usr 0.08 sys + 17.45 cusr
1.33 csys = 19.66 CPU)
Result: FAIL
Failed 2/16 test programs. 4/2365 subtests failed.
make: *** [test_dynamic] Fehler 255
When I go in browser to setup.pl page, its shows internal server error and
in apache log is:
[Mon Aug 13 14:57:26 2012] [error] Attempt to reload
lsmb-request.plaborted.\nCompilation failed in require at
/srv/www/vhosts/domain/httpdocs/ledgersmb/setup.pl line 8.\n
Can someone help please?
Thank You
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ledger-smb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users