I'm trying to install Apache::Gallery on RedHat Fedora Core 2 (newest
patch level) but having problems running it.
'make test' fails with
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_use...........Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/001_use...........ok
t/002_graphlibs.....Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
Unable to open file t/002_injpg.jpg, at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1307.
Can't call method "create_scaled_image" on an undefined value at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1310.
# Looks like your test died before it could output anything.
t/002_graphlibs.....dubious
Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 152) line 1, near "'int'
$__val"
(Missing operator before $__val?)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/003_comment.......Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/003_comment.......ok
t/004_cache_dir.....Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/004_cache_dir.....ok
8/8 skipped: Test::MockObject not found
t/005_imageinfo.....Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
skipped
all skipped: skip Apache::FakeRequest not found
t/006_thumbnails....Useless use of private variable in void context at
/root/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
skipped
all skipped: skip because Test::MockObject not found
t/007_pod...........skipped
all skipped: Test::Pod v0.95 required for testing POD
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/002_graphlibs.t 255 65280 4 8 200.00% 1-4
3 tests and 8 subtests skipped.
Failed 1/7 test scripts, 85.71% okay. 4/15 subtests failed, 73.33% okay.
make: *** [test_dynamic] Fehler 255
but 'make' and 'make install' are running without problems. When
accessing directories without image data it shows an empty page
(<html><body></body></html>) and when accessing directorys with images
inside it fails with "Internal Server Error".
The error-log shows the following:
[Tue Aug 10 09:34:06 2004] [error] [client 62.245.159.13] Can't call
method "create_scaled_image" on an undefined value at
/usr/lib/perl5/site_perl/5.8.3/Apache/Gallery.pm line 1310.\n
What went wrong?
I've installed all needed libraries (think so):
perl-5.8.3-18
httpd-2.0.50-2.1
mod_perl-1.99_12-2.1
xorg-x11-libs-6.7.0-5
imlib2-1.1.0-3_2.rhfc2.at
Module id = URI::Escape
DESCRIPTION General URI escaping/unescaping functions
CPAN_USERID LWWWP (The libwww-perl mailing list <libwww@xxxxxxxx>)
CPAN_VERSION 3.26
CPAN_FILE G/GA/GAAS/URI-1.31.tar.gz
DSLI_STATUS Rmpf (released,mailing-list,perl,functions)
MANPAGE URI::Escape - Escape and unescape unsafe characters
INST_FILE /usr/lib/perl5/site_perl/5.8.3/URI/Escape.pm
INST_VERSION 3.26
Module id = Image::Info
DESCRIPTION Extract meta information from image files
CPAN_USERID GAAS (Gisle Aas <gisle@xxxxxxxxxxxxxxx>)
CPAN_VERSION 1.16
CPAN_FILE G/GA/GAAS/Image-Info-1.16.tar.gz
DSLI_STATUS RdpO (released,developer,perl,object-oriented)
MANPAGE Image::Info - Extract meta information from image files
INST_FILE /usr/lib/perl5/site_perl/5.8.3/Image/Info.pm
INST_VERSION 1.16
Module id = Image::Size
DESCRIPTION Measure size of images in common formats
CPAN_USERID RJRAY (Randy J Ray <rjray@xxxxxxxxxxxxx>)
CPAN_VERSION 2.992
CPAN_FILE R/RJ/RJRAY/Image-Size-2.992.tar.gz
DSLI_STATUS Rdpf (released,developer,perl,functions)
MANPAGE Image::Size - read the dimensions of an image in
several popular formats
INST_FILE /usr/lib/perl5/site_perl/5.8.3/Image/Size.pm
INST_VERSION 2.992
Module id = Text::Template
DESCRIPTION Expand template text with embedded perl
CPAN_USERID MJD (Mark Jason Dominus <mjd@xxxxxxxxxx>)
CPAN_VERSION 1.44
CPAN_FILE M/MJ/MJD/Text-Template-1.44.tar.gz
DSLI_STATUS MdpO (mature,developer,perl,object-oriented)
MANPAGE Text::Template - Expand template text with embedded Perl
INST_FILE /usr/lib/perl5/site_perl/5.8.3/Text/Template.pm
INST_VERSION 1.44
Module id = CGI
CPAN_USERID LDS (Lincoln D. Stein <lstein@xxxxxxxx>)
CPAN_VERSION 3.05
CPAN_FILE L/LD/LDS/CGI.pm-3.05.tar.gz
MANPAGE CGI - Simple Common Gateway Interface Class
INST_FILE /usr/lib/perl5/5.8.3/CGI.pm
INST_VERSION 3.05
Module id = Image::Imlib2
DESCRIPTION Interface to the Imlib2 image library
CPAN_USERID LBROCARD (Leon Brocard <leon@xxxxxxxxxx>)
CPAN_VERSION 1.03
CPAN_FILE L/LB/LBROCARD/Image-Imlib2-1.03.tar.gz
DSLI_STATUS RdcO (released,developer,C,object-oriented)
MANPAGE Image::Imlib2 - Interface to the Imlib2 image library
INST_FILE
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Image/Imlib2.pm
INST_VERSION 1.03
Has anybody a hint for me?
Attachment:
signature.asc
Description: OpenPGP digital signature