Skip Menu |

This queue is for tickets about the Alien-ImageMagick CPAN distribution.

Report information
The Basics
Id: 119922
Status: new
Priority: 0/
Queue: Alien-ImageMagick

People
Owner: Nobody in particular
Requestors: ROBINS [...] cpan.org
Cc:
AdminCc:

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



Subject: Image::Magick::Thumbnail won't install without --with-modules LDFLAGS
When I compile Alien::ImageMagick normally on a Ubuntu 14.04 box I get it installed, but when I later try to install Image::Magick::Thumbnail it says that the DrawPathStart symbol is undefined in libMagickCore-7.Q16HDRI.so.1. Digging around on the ImageMagick forums lead me to this post: http://www.imagemagick.org/discourse-server/viewtopic.php?t=28634#p127217 It says: "I did a little digging, the problem seems to be that the coders are being linked into libMagickCore. When libMagickCore-6.Q16.so is linked, the coders are included, and wmf.c uses functions like DrawPathFinish(), which are part of Wand, not Core. Therefore MagickCore programs will not link with default configure settings, you must use --with-modules. Should --with-modules be made the default if shared libraries are enabled? It doesn't seem right that MagickCore linking should fail with the default settings." I changed the LDFLAGS line inside alien_build_commands section in Build.PL to make things work: 'LDFLAGS='.$LDFLAGS.' %pconfigure --prefix=%s --exec-prefix='.$siteprefix.' --with-perl='.$perlbin.' '.$enable_shared.' '.$use_threads.' --with-modules', (notice the addition of ' --with-modules' at the end) Once that was in compilation of Image::Magick::Thumbnail worked without issues.
Subject: build.log
Download build.log
application/octet-stream 3.4k

Message body not shown because it is not plain text.