Image::Magick is gone from Perl CPAN - where is it?

418 Views Asked by At

I can't find the Perl module Image::Magick anywhere. It is gone from CPAN.

  • What happened to it?
  • Where can I get it?
  • Is there a problem with CPAN, or with the module?
5

There are 5 best solutions below

1
Dave Cross On BEST ANSWER

My guess is that it's an indexing error on MetaCPAN. - this is wrong, see my update below

You can see various versions of the distribution (which seems to have been renamed from PerlMagick to Image::Magick in 2021) on CPAN here.

Update: The MetaCPAN advice on missing modules suggests looking to see if the module is in 02packages.details.txt - which it isn't. So the next step is to contact the author to see if they know anything. Maybe start by raising a ticket in RT.

Update 2: I started a conversation about this on the Perl Community FB group, which led to a discussion on #p5p on IRC. We seem to be reaching a consensus that it was some kind of PAUSE error (probably on the upload of the most recent version).

14:33 < rjbs> This sounds like some kind of nasty transactionality failure

Update 3: Another release seems to have fixed the problem. It's there now:

2
Håkon Hægland On

Where can I get it?

On Linux you can install from source, i.e. from GitHub like this:

$ ./configure --with-perl=/home/hakon/perlbrew/perls/perl-5.38.0/bin/perl --prefix=/opt/image-magick
$ make
$ sudo make install
5
Kjetil S. On

If in Win11 you have the option to run Perl in WSL (the Ubuntu or perhaps Debian variant) you can still install it with sudo apt install libimage-magick-perl there.

0
sachmet On

Old versions can be found on the BackPAN. I had to use the Wayback Machine to find the author but at least the distributions were saved!

1
Elbin On

It was originally released in the PerlMagick distribution, which was then renamed to Image-Magick. Recent uploads haven't included a metadata file (META.yml or META.json) which is why PAUSE hasn't included it in the CPAN Index. I've reported this and it will apparently be fixed soon.

UPDATE 2023-10-11

The indexing issue has now been fixed. From a quick play with the latest release, it has a number of build issues, so if someone would like to work out what needs fixing on that front and add github issues, I'm sure that would be appreciated.