Subject: | Image::Scale fails to compile on opensuse 12.2 x86_64 |
Date: | Tue, 18 Sep 2012 22:09:20 +0200 |
To: | bug-Image-Scale [...] rt.cpan.org |
From: | Rob Verduijn <rob.verduijn [...] gmail.com> |
Hello,
I'm trying to compile Image:Scale on opensuse 12.2
It fails for me every time I try to compile it, I have done my best to
include all the dependencies all to no avail.
When the make test command is given the compilation fails with the
following error
[ 6s] # Failed test 'use Image::Scale;'
[ 6s] # at t/01use.t line 3.
[ 6s] # Tried to use 'Image::Scale'.
[ 6s] # Error: Can't load
'/home/abuild/rpmbuild/BUILD/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so'
for module Image::Scale:
/home/abuild/rpmbuild/BUILD/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so:
undefined symbol: DGifGetLine at
/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi/DynaLoader.pm line
190.
it fails all the tests with the same error.
Have I forgotten to include a library ?
Regards
Rob Verduijn
distribution : opensuse 12.2 x86_64
perl version : perl 5, version 16, subversion 0 (v5.16.0) built for
x86_64-linux-thread-multi
uname -a output : Linux twoflowers 3.4.6-2.10-desktop #1 SMP PREEMPT
Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux
I'm using the open build service to package the module for easy future use.
I've included the output in the attached text file.
perl Makefile.PL starts at line 63
make test starts at line 244
and starts failing at line 250
more perl details :
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=linux, osvers=3.1.10-1.9-default, archname=x86_64-linux-thread-multi
uname='linux build33 3.1.10-1.9-default #1 smp thu apr 5 18:48:38
utc 2012 (4a97ec8) x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr
-Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm
-Dd_dbm_open -Duseshrplib=true -Doptimize=-fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -Wall -pipe
-Accflags=-DPERL_USE_SAFE_PUTENV
-Dotherlibdirs=/usr/lib/perl5/site_perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
-Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.7.1 20120713 [gcc-4_7-branch revision
189457]', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib64 -fstack-protector'
libpth=/lib64 /usr/lib64 /usr/local/lib64
libs=-lm -ldl -lcrypt -lpthread
perllibs=-lm -ldl -lcrypt -lpthread
libc=/lib64/libc-2.15.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.15'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64 -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Jul 16 2012 08:51:58
@INC:
/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.16.0
/usr/lib/perl5/vendor_perl/5.16.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.16.0
/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi
/usr/lib/perl5/5.16.0
/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.16.0
/usr/lib/perl5/site_perl
Message body is not shown because sender requested not to inline it.