in reply to Re^4: Compilation failed in require at C:/mychoo/cg
in thread Compilation failed in require at C:/mychoo/cg

Thanks... No it's not strawberry... It is me in that I don't know what I'm doing. I just tried this but:

c:\Strawberry>cpanm module::Magick ! Finding module::Magick on cpanmetadb failed. ! Finding module::Magick () on mirror http://www.cpan.org failed. ! Couldn't find module or a distribution module::Magick

So does that mean Magick doesn't exist, or did I do something wrong?? I tried it from c:\ also.... Is there a special perl command prompt that I should be using? Thanks!

  • Comment on Re^5: Compilation failed in require at C:/mychoo/cg

Replies are listed 'Best First'.
Re^6: Compilation failed in require at C:/mychoo/cg
by marto (Cardinal) on Jun 22, 2019 at 19:13 UTC
      Closer... I was having a case sensitive misunderstanding. But now it still failed. Says to redo with force??

      c:\>cpanm Image::Magick --> Working on Image::Magick Fetching http://www.cpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz ... OK Configuring PerlMagick-6.89-1 ... OK Building and testing Image-Magick-6.89 ... FAIL ! Installing Image::Magick failed. See C:\Users\USER\.cpanm\work\1561238400.18228\build.log for details. Retry with --force to force install it.

      Thanks so much!

        Installing Image::Magick failed

        On Strawberry Perl, the following command should install Image::Magick:
        ppm install Image::Magick
        Please let me know if it doesn't. The command might need to be tweaked if your version of Strawberry Perl is a few years old.
        (For me, the installation terminates with a "cannot remove directory for ..." message. I think that's not a problem.)

        Cheers,
        Rob

        If I recall correctly, Image::Magick requires external software to be installed, but I could be wrong.

        Did you do what the error message said, and read through your C:\Users\USER\.cpanm\work\1561238400.18228\build.log error log like you were advised to do?

        Forcing an install as your first response is not the way to go.