Subject: | Compile Bug in Image:Imlib2 |
I get the following errors when attempting to compile the Image::Imlib2 perl module.
[root@load Image-Imlib2-0.12]# make
/usr/bin/perl Build
gcc -I./lib/Image -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -o ./lib/Image/Imlib2.o ./lib/Image/Imlib2.c
Imlib2.xs: In function `XS_Image__Imlib2_load':
Imlib2.xs:96: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Imlib2.xs:96: too few arguments to function `Perl_croak'
Imlib2.xs:100: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Imlib2.xs:100: too few arguments to function `Perl_croak'
Imlib2.xs:104: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Imlib2.xs:104: too few arguments to function `Perl_croak'
Imlib2.xs:108: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Imlib2.xs:108: too few arguments to function `Perl_croak'
Imlib2.xs: In function `XS_Image__Imlib2_save':
Imlib2.xs:131: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Imlib2.xs:131: too few arguments to function `Perl_croak'
error building so file from './lib/Image/Imlib2.c' at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1778.
make: *** [all] Error 2
I'm running RH 8.
rpm -qa | grep imlib
imlib-devel-1.9.13-9
imlib2-loader_argb-1.1.0-1
imlib-1.9.13-9
imlib2-devel-1.1.0-1
imlib2-loader_png-1.1.0-1
imlib2-loader_jpeg-1.1.0-1
imlib2-1.1.0-1