Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Install problems on Red Hat 7.2
My machine is fairly stock RH 7.2. Trying to install Apache::Gallery 0.4
with Imlib 1.0.6.
My problem seems to be with the inline code compiles. I see this in my
error log (I see other problems after it, but I'm sure this is the root):
A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
make > out.make 2>&1
So, I look at the output of the out.make file and I see:
make: *** get{e}[gu]id: Operation not permitted. Stop.
Which to me looks like a permissions problem of some sort to me. So, I su -
nobody
(what apache runs as) and try to compile it myself and look at out.make:
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/ty
pemap Gallery_4033.xs > Gallery_4033.xsc && mv Gallery_4033.xsc Gallery_4033.c
gcc -c -I/usr/X11R6/include -fno-strict-aliasing -I/usr/local/include -O2
-march=i386 -mcpu=i686 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC
-I/usr/lib/perl5/5.6.1/i386-linux/CORE Gallery_4033.c
Running Mkbootstrap for Apache::Gallery_4033 ()
chmod 644 Gallery_4033.bs
rm -f blib/arch/auto/Apache/Gallery_4033/Gallery_4033.so
LD_RUN_PATH="/usr/lib:/lib:/usr/X11R6/lib" gcc -shared -L/usr/local/lib
Gallery_4033.o -o blib/arch/auto/Apache/Gallery_4033/Gallery_4033.so
-L/usr/X11R6/lib -lImlib2 -lttf -lm -ldl -lXext -lXext
chmod 755 blib/arch/auto/Apache/Gallery_4033/Gallery_4033.so
cp Gallery_4033.bs blib/arch/auto/Apache/Gallery_4033/Gallery_4033.bs
chmod 644 blib/arch/auto/Apache/Gallery_4033/Gallery_4033.bs
Wow! it looks like it compiles to me! I should note to get this to work, it
would
not find the "ttf" library by itself and I had to manually symlink
/usr/lib/libttf.so to /usr/lib/libttf.so.2.3.0 which was a lucky guess on my
part!
The thing is, even now when it looks like everything compiled ok and I have
the Gallery_4033.o file, it still does not work! I continue to see:
[Wed Jul 3 17:39:30 2002] [error] Undefined subroutine
&Apache::Gallery::resizepicture called at /usr/lib/perl5/site_perl/5.6.1/Apache
/Gallery.pm line 459.
in my error log and from looking at the source for Gallery_4033 I see that
routine.
ok, so what am I missing?