Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ApacheGallery] Re: Installing under Apache 2
zak@xxxxxxxxx writes:
After installing all the needed packages with cpan make test worked fine
for me.
[root@load Apache-Gallery-0.6.1]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_use..........ok
t/002_graphlibs....ok
t/003_comment......ok
t/004_cache_dir....ok
All tests successful.
Files=4, Tests=15, 5 wallclock secs ( 2.42 cusr + 0.24 csys = 2.66 CPU)
After installing Apache-Gallery-dev and the required files (specifically
imblib2-devel-1.0.6-fr2.i386.rpm, perl-Inline-0.42-0.i386.rpm, Bundle::CPAN,
URI::Escape, and Test::MockObject), my "make test" produces:
[root@riverside Apache-Gallery-0.6.1]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_use..........NOK 1# Failed test (t/001_use.t at line 3)
# Tried to use 'Apache::Gallery'.
# Error: Can't locate object method "server_root_relative" via package
"Apache" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/compat.pm line
69.
# Compilation failed in require at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
# BEGIN failed--compilation aborted at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
# Compilation failed in require at (eval 1) line 2.
# Looks like you failed 1 tests of 1.
t/001_use..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/002_graphlibs....Can't locate object method "server_root_relative" via
package "Apache" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/compat.pm line
69.
Compilation failed in require at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
BEGIN failed--compilation aborted at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
Compilation failed in require at t/002_graphlibs.t line 2.
BEGIN failed--compilation aborted at t/002_graphlibs.t line 2.
# No tests run!
t/002_graphlibs....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/003_comment......Can't locate object method "server_root_relative" via
package "Apache" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/compat.pm line
69.
Compilation failed in require at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
BEGIN failed--compilation aborted at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
Compilation failed in require at t/003_comment.t line 3.
BEGIN failed--compilation aborted at t/003_comment.t line 3.
# No tests run!
t/003_comment......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/004_cache_dir....Can't locate object method "server_root_relative" via
package "Apache" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/compat.pm line
69.
Compilation failed in require at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
BEGIN failed--compilation aborted at
/usr/local/src/Apache-Gallery-0.6.1/blib/lib/Apache/Gallery.pm line 14.
Compilation failed in require at t/004_cache_dir.t line 1.
BEGIN failed--compilation aborted at t/004_cache_dir.t line 1.
t/004_cache_dir....dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/001_use.t 1 256 1 1 100.00% 1
t/002_graphlibs.t 255 65280 4 4 100.00% 1-4
t/003_comment.t 255 65280 2 2 100.00% 1-2
t/004_cache_dir.t 255 65280 ?? ?? % ??
Failed 4/4 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
--------------------------
Dan Mahoney
dan@xxxxxxxx
"How you behave towards cats here below determines your status in Heaven."
Robert Heinlein
"There are two means of refuge from the miseries of
life - music and cats" - Albert Schweitzer