Skip Menu |

This queue is for tickets about the Image-Scale CPAN distribution.

Report information
The Basics
Id: 79728
Status: open
Priority: 0/
Queue: Image-Scale

People
Owner: Nobody in particular
Requestors: rob.verduijn [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

Subject: Re: [rt.cpan.org #79728] AutoReply: Image::Scale fails to compile on opensuse 12.2 x86_64
Date: Wed, 19 Sep 2012 10:08:38 +0200
To: bug-Image-Scale [...] rt.cpan.org
From: Rob Verduijn <rob.verduijn [...] gmail.com>
Hello, After some testing I found that removing giflib libraries removes the error So I think there is something wrong in the gif support bit of Image::Scale Regards Rob Verduijn 2012/9/18 Bugs in Image-Scale via RT <bug-Image-Scale@rt.cpan.org>: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Image::Scale fails to compile on opensuse 12.2 x86_64", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #79728]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=79728 > > Please include the string: > > [rt.cpan.org #79728] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Image-Scale@rt.cpan.org > > ------------------------------------------------------------------------- > 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 >
On Wed Sep 19 04:08:49 2012, rob.verduijn@gmail.com wrote: Show quoted text
> Hello, > > After some testing I found that removing giflib libraries removes the > error > So I think there is something wrong in the gif support bit of > Image::Scale
The error was: "undefined symbol: DGifGetLine". So it seems you had an incompatible version of giflib/libgif installed, what version was it?
Subject: Re: [rt.cpan.org #79728] Image::Scale fails to compile on opensuse 12.2 x86_64
Date: Wed, 19 Sep 2012 14:25:43 +0200
To: bug-Image-Scale [...] rt.cpan.org
From: Rob Verduijn <rob.verduijn [...] gmail.com>
Hello, The version is 4.6.1. I am using the default version that comes with opensuse 12.2 Regards Rob Verduijn 2012/9/19 Andy Grundman via RT <bug-Image-Scale@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=79728 > > > On Wed Sep 19 04:08:49 2012, rob.verduijn@gmail.com wrote:
>> Hello, >> >> After some testing I found that removing giflib libraries removes the >> error >> So I think there is something wrong in the gif support bit of >> Image::Scale
> > The error was: "undefined symbol: DGifGetLine". So it seems you had an incompatible version of > giflib/libgif installed, what version was it? > >
Subject: Re: [rt.cpan.org #79728] AutoReply: Image::Scale fails to compile on opensuse 12.2 x86_64
Date: Tue, 9 Jul 2013 13:54:58 +0200
To: bug-Image-Scale [...] rt.cpan.org
From: Rob Verduijn <rob.verduijn [...] gmail.com>
Hello, It seems that I made a typo last time regarding the version of giflib, it was 4.1.6. Also now checking again with openSUSE 12.3 x86_64 the problem stil persists. Now it also no longer builds the png part since 12.3 uses libpng 1.5, it also fails with 1.6. (1.4 is no longer included with opensuse 12.3) Lastly, Image::Scale is not able to detect the versions of libjpeg62 and giflib 4.1.6., it says unknown for both Regards Rob output from perl -V on openSUSE 12.3 Summary of my perl5 (revision 5 version 16 subversion 2) configuration: Platform: osname=linux, osvers=3.4.6-2.10-xen, archname=x86_64-linux-thread-multi uname='linux build05 3.4.6-2.10-xen #1 smp thu jul 26 09:36:26 utc 2012 (641c197) 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.2 20130108 [gcc-4_7-branch revision 195012]', 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.17.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.17' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.16.2/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 Mar 11 2013 11:06:30 @INC: /usr/lib/perl5/site_perl/5.16.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.2 /usr/lib/perl5/5.16.2/x86_64-linux-thread-multi /usr/lib/perl5/5.16.2 /usr/lib/perl5/site_perl/5.16.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/site_perl 2012/9/19 Rob Verduijn <rob.verduijn@gmail.com>: Show quoted text
> Hello, > > After some testing I found that removing giflib libraries removes the error > So I think there is something wrong in the gif support bit of Image::Scale > > Regards > Rob Verduijn > > 2012/9/18 Bugs in Image-Scale via RT <bug-Image-Scale@rt.cpan.org>:
>> >> Greetings, >> >> This message has been automatically generated in response to the >> creation of a trouble ticket regarding: >> "Image::Scale fails to compile on opensuse 12.2 x86_64", >> a summary of which appears below. >> >> There is no need to reply to this message right now. Your ticket has been >> assigned an ID of [rt.cpan.org #79728]. Your ticket is accessible >> on the web at: >> >> https://rt.cpan.org/Ticket/Display.html?id=79728 >> >> Please include the string: >> >> [rt.cpan.org #79728] >> >> in the subject line of all future correspondence about this issue. To do so, >> you may reply to this message. >> >> Thank you, >> bug-Image-Scale@rt.cpan.org >> >> ------------------------------------------------------------------------- >> 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 >>
I experienced the same problem on OpenSuse 12.3 on a 64 bit system. So I investigated a bit. The first problem is that it can't find the libs, because Suse installs giflib and libpng in /usr/lib64. For linpng15 there's the extra catch that you need libpng15-compat-devel (or tell perl Makefile.PL more locations). This configure line kinda works: perl Makefile.PL -with-gif-libs /usr/lib64/ -with-png-libs /usr/lib64/ Of course, it would be nice if Makefile.PL could find the libraries by itself, perhaps by making lines 128 and 157 more intelligent. But this only works for libpng 1.2, not 1.5 (the two options in suse 12.3). For the latter to install and pass the tests, you need to do the change proposed in another ticket for this module, change line 43 in src/png.c to memcpy(data, buffer_ptr(im->buf), len); After all this, Image::Scale passes its tests.
On my debian smoker I have the same problem since December 2013 but never noticed it, sorry for that. Today I tried with the attached patch and it worked. I'm not an expert in library detection, so I cannot guarantee this is the right solution, but I'm pretty sure that ignoring libpth is not correct, so anything that pulls in libpth would be an improvement. HTH,
Subject: Image-Scale-0.80-Makefile.PL.patch
--- Makefile.PL~ 2015-05-17 12:38:02.352762645 +0200 +++ Makefile.PL 2015-05-17 12:48:31.941785309 +0200 @@ -62,7 +62,11 @@ exit 0; } -my @check = qw(/usr/include /usr/local/include /opt/local/include); +my @check; +if ($Config{libpth}) { + @check = split " ", $Config{libpth}; +} +push @check, qw(/usr/include /usr/local/include /opt/local/include); # Check in environment-supplied locations before standard ones unshift @check, split /:/, $ENV{INCLUDE};