Article: Installation of Image::Magick under Debian
This is a recent update of an ancient article.
This is a recent update of an ancient article.
I try to write all code in Perl, but find I end up writing in bash, CSS, HTML, JS, and SQL, and doing database design, just to get anything done...
It would be nice if you would mention why it's even necessary to do all this instead of just aptitude install ImageMagic and then cpanm Image::Magick. The cpan test page for Image::Magick (PerlMagick) is full of install failures and unknowns and no passes. Is it possible to fix the cpan module without every user needing to work around it?
or, use Alien::ImageMagick, which does all this for you.
https://metacpan.org/pod/Alien::ImageMagick
The way I see it is, Image::Magick is for the distro maintainers, and Alien::ImageMagick is for those of use who don't want the distro perl
Alien::ImageMagick still requires it's own copy of ImageMagick to be compiled, and worse yet, it might require a separate build of perl. It's pod also only mentions that version of Image::Magick on cpan isn't "cpanm compatible".
If somebody from the perl community took over maintenance of Image::Magick, could it be made "cpanm compatible" and use the system ImageMagick libs?
Thanx for the feedback.
I've added an intro to the article, covering the first 2 comments.
As for taking over maintenance of Image::Magick itself, I don't believe it'll ever happen. It's unimaginable to me that Cristy, the main developer of ImageMagick, would co-operate.
I've provided small doc patches in the distant past, and they were incorporated. But a version or 2 later they had been obliterated.
Further, it would, I assume, require someone with XS skills, and of course to have the time. And the complexity of ImageMagick makes me think it'd be a huge job.
You can also install libimage-magick-perl version 6.8.9.9 with apt.
A more recent version (6.9.2.10) is available in experimental, so it should land in unstable sooner or later.
All the best