Subject: | error when running make under Redhat 5.6 |
###Image-EXIF-2.00###
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Image::EXIF
Writing MYMETA.yml and MYMETA.json
root@fodrweb1-dev # make
cp lib/Image/EXIF.pm blib/lib/Image/EXIF.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Image-EXIF.xs >
Image-EXIF.xsc && mv Image-EXIF.xsc Image-EXIF.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"2.00\"
-DXS_VERSION=\"2.00\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Image-EXIF.c
Image-EXIF.xs: In function ‘load’:
Image-EXIF.xs:30: error: ‘my_perl’ undeclared (first use in this
function)
Image-EXIF.xs:30: error: (Each undeclared identifier is reported only once
Image-EXIF.xs:30: error: for each function it appears in.)
Image-EXIF.c: In function ‘XS_Image__EXIF__new_instance’:
Image-EXIF.c:138: warning: unused variable ‘package’
make: *** [Image-EXIF.o] Error 1