Hello Jerome,
Here is an update,
explaining how the problem I experienced, was resolved:
A colleague from the Perl Community helped me figure out why
Alien::ImageMagick was working with Perlbrew's perl-5.28.0 and not
perl-5.30.0.
The key difference spotted was:
the perl-5.28.0 installation had ImageMagick 7.0.8-14,
and perl-5.30.0 had ImageMagick 7.0.9-1.
To remedy this, I downloaded Alien::ImageMagick from Cpanm:
https://cpan.metacpan.org/authors/id/J/JE/JETEVE/Alien-ImageMagick-0.07.tar.gz
( having got the download link from the following page:
https://metacpan.org/pod/Alien::ImageMagick ).
I expanded the archive,
and edited the alien repository section of the Build.PL file,
to the following:
alien_repository => {
protocol => 'local',
location => '/opt/imagemagick-versions/',
exact_filename => 'ImageMagick-7.0.8-14.tar.gz'
},
I saved the changes to Build.PL,
and then used the File->Create Archive->tar.gz menu option in FTP
client Cyberduck,
to make a new Alien-ImageMagick-0.07.tar.gz file containing my saved changes.
On my server, /opt/ is a shared folder so I made an
imagemagick-versions folder in there,
and then I downloaded ImageMagick-7.0.8-14.tar.gz from here:
https://codeload.github.com/ImageMagick/ImageMagick/tar.gz/7.0.8-14
...the link to which I originally found via browsing past releases on
this page:
https://github.com/ImageMagick/ImageMagick/releases
...and I put ImageMagick-7.0.8-14.tar.gz in the
/opt/imagemagick-versions/ folder...
Then I went back to my commandline,
from which I typically install Perlbrew modules,
and instead of giving cpanm a module name,
I simply gave cpanm the absolute path and file name of my new
Alien-ImageMagick-0.07.tar.gz file I had made.
i.e.:
cpanm /path/to/Alien-ImageMagick-0.07.tar.gz
...and it installed perfectly fine on Perlbrew's perl-5.30.0.
Now, I should probably browse through all the changes between
ImageMagick 7.0.8-14 and 7.0.9-1 to see how high a version number I
can go on my system, before things stop working.
For now though, I'm just happy I've got a version of ImageMagick
working happily with my perl-5.30.0 installation on Perlbrew.
Thanks for your time,
Yours,
Andrew.
Quoting Andrew Mehta <Andrew@unitedgames.co.uk>:
Show quoted text> Hello Jerome,
>
> Your Alien::ImageMagick module is working happily for me, within
> Perlbrew 0.84, when using Perlbrew's perl-5.28.0. It installed
> smoothly via Perlbrew's cpanm.
>
> Before that successful installation, I had tried to install
> Alien::ImageMagick to Perlbrew's perl-5.30.0, and had no success.
>
> My assumption is your module currently works with Perl 5.28 and not
> yet with Perl 5.30.
>
> Will you be updating it, so installs run smoothly with Perl 5.30?
>
> I've attached some logs from a recent fresh perl-5.30.0
> installation, and a subsequent attempt to install Alien::ImageMagick
> via cpanm, in case that sheds some light on the matter.
> I won't pretend to fully understand what's in the logs.
> I just know switching down to perl-5.28.0 worked.
>
> Let me know when this is resolved, so I can switch back up to perl-5.30.0.
>
> Many thanks! =).
>
> Yours,
> Andrew.