Mail Index

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

Re: [ApacheGallery] problems installing A::G on Fedora 2


error-log only is empty when there are no images in requestet directory. when trying to look at an directory containing images the response tells an "500 Internal Server Error" and the error-log contains the following line:
[Sat Sep 04 15:20:14 2004] [error] [client] Can't call
method "create_scaled_image" on an undefined value at
/usr/lib/perl5/site_perl/5.8.3/Apache/ line 1306.\n
something seems to be badly wrong with my configuration - but what
exactly is the problem?
by the way: installing as described in INSTALL.TXT results in the sambe
problems ("make" & "make install" succeed, but "make test" fails with
the sambe error message; it doesn't run either)
Christian Kowalski schrieb:

Thanks for your response. Installation succedes with "force install Apache::Gallery" but it doesn't work anyway. Only getting empty pages when accessing directories vie A::G :

error-log is empty, acces-log seems to be ok except of 20byte response length: - - [04/Sep/2004:14:38:07 +0200] "GET / HTTP/1.1" 200 20 - - [04/Sep/2004:14:39:07 +0200] "GET /Bilder/ HTTP/1.1" 200 20

any idea?

autoindex is disabled, all autoindex-options commentet out:
#LoadModule autoindex_module modules/


        PerlSetVar   GalleryTemplateDir '/var/www/gallery/templates'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
        PerlSetVar   GallerySizes '640 1024 1600 2272'
        PerlSetVar   GalleryThumbnailSize '100x75'
        PerlSetVar   GalleryCacheDir '/samsung/gallery'
        PerlOptions +GlobalRequest

        <Location />
                DAV On
                Require user daveb
                SetHandler        modperl
                PerlResponseHandler       Apache::Gallery

Christian Kowalski

Jesse Stay schrieb:

Probably not best practice, but try "force install Apache::Gallery" when
doing perl -MCPAN -e shell and see if you get any errors beyond that.  If
not, try Apache::Gallery and if it works you should be set.  I've often
found although the make test doesn't work in installing perl modules, often once installed, the module works fine. It would be interesting to find out
why "make test" is failing here though.


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Christian Kowalski
Sent: Friday, September 03, 2004 12:11 PM
To: [email protected]
Subject: [ApacheGallery] problems installing A::G on Fedora 2

Hi all,

as I've reportet one month ago I'm having problems installing Apache::Gallery on my RedHat Fedora Core 2 box. All dependencies are installed:

    URI::Escape 3.26
    Image::Info 1.16
    Image::Size 2.992
    Text::Template 1.44
    CGI 3.05
    Image::Imlib2 1.03

Has anybody any clue, what went wrong when trying to install?
"perl -MCPAN -e shell" produces the following Output:

cpan> install Apache::Gallery
Running install for module Apache::Gallery
Running make for L/LE/LEGART/Apache-Gallery-0.8.tar.gz
Is already unwrapped into directory /root/.cpan/build/Apache-Gallery-0.8
   Has already been processed within this session
Running 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...........Useless use of private variable in void context at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364.
t/002_graphlibs.....Useless use of private variable in void context at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364. Unable to open file t/002_injpg.jpg, at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1303. Can't call method "create_scaled_image" on an undefined value at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1306.
# Looks like your test died before it could output anything.
         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/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364.
t/004_cache_dir.....Useless use of private variable in void context at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364.
         8/8 skipped: Test::MockObject not found
t/005_imageinfo.....Useless use of private variable in void context at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364.
         all skipped: skip Apache::FakeRequest not found
t/006_thumbnails....Useless use of private variable in void context at /root/.cpan/build/Apache-Gallery-0.8/blib/lib/Apache/ line 1364.
         all skipped: skip because Test::MockObject not found
         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
   /usr/bin/make test -- NOT OK
Running make install
   make test had returned bad status, won't install without force
users mailing list
[email protected]

users mailing list
[email protected]

users mailing list
[email protected]