Mail Index


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

[ApacheGallery] Error on image folders



Hi,

I'm having a bit of trouble getting Apache::Gallery to fully work.

Effectively, the error is this (from logs/gallery-error_log):

-- START --

[Mon Jul 7 10:58:58 2003] [error] /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap Gallery_4033.xs > Gallery_4033.xsc && mv Gallery_4033.xsc Gallery_4033.c gcc -c -I/usr/X11R6/include -fno-strict-aliasing -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE Gallery_4033.c
Gallery_4033.xs:6:22: X11/Xlib.h: No such file or directory
make: *** [Gallery_4033.o] Error 1

A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
  make > out.make 2>&1

The build directory was:
/tmp/build/Apache/Gallery_4033

To debug the problem, cd to the build directory, and inspect the output files.

 at /usr/lib/perl5/site_perl/5.6.0/Apache/Gallery.pm line 35
Compilation failed in require at (eval 5) line 3.

[Mon Jul 7 10:58:58 2003] [error] Undefined subroutine &Apache::Gallery::resizepicture called at /usr/lib/perl5/site_perl/5.6.0/Apache/Gallery.pm line 628.
-- END --


The machine is a x86 Celeron running Redhat 7.1 (2.4.19) with Apache, mod_perl etc. etc. all compiled from source (I try to avoid RPM when I can).
All dependanices have been installed as listed in your INSTALL file. This
did take a while and whichever method worked, was used (e.g. CPAN, source,
rpm, etc.)
For consistancy, here are version numbers etc.:

[[email protected] ts86]$ tail /usr/logs/error_log
[Mon Jul 7 10:54:22 2003] [notice] Apache/1.3.27 (Unix) mod_perl/1.28 configured -- resuming normal operations
[Mon Jul  7 10:54:22 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)

[[email protected] ts86]$ rpm -qa | grep imlib2
imlib2-1.0.6-1
imlib2-devel-1.0.6-1

[[email protected] ts86]$ rpm -qa | grep X
XFree86-libs-4.0.3-5
XFree86-xfs-4.0.3-5

[[email protected] ts86]$ perl --version

This is perl, v5.8.0 built for i686-linux

From the mailing list archive there was some talk about a similar problem (line 628?) due to broken ImLib2 installation. I have tried removing the RPMs and installing this from the tarball, but the ./configure script complains about their being no X, which there is (specifically libX11.so)
[[email protected] ts86]$ locate libX11
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2
/usr/X11R6/lib/libX11.so

It's a confusing problem. I did have a lot of other previous problems, but have made progress. I am getting a first (holding) page with the list of all directories, but as soon as a directory with JPEGs stored is attempted I get a 500 error from the server and that error in the log file. Empty (or at least no images) directories cause no problems.
[[email protected] ts86]$ /usr/bin/httpd -l | grep autoindex

The above returns nothing, so the autoindex module doesn't load. I'm sure of this as I specifically re-compiled Apache to get rid of this.
I'm not sure what other information may be needed. Any ideas please?
I've got nearly 4GB of photos just waiting to be appricated!

Kind Regards, Tanuj.