in reply to Errors While Installing Image::Magick

I looked at it again, and it seems like gcc is installed and it's working, but there is a misconfiguration somewhere.

Yes, but what if gcc is not in the PATH ? Open Command Prompt and type in GCC and see what happens or type in "SET PATH" and see what it says. The system PATH environment variable can be modified in the Control Panel >> System >> Advanced >> Environment Variables. Wait, did you say you have Windows 10? I just gave you instructions for Windows XP. Well, I think, Windows 10 is similar. The "Advanced" is a tab in Windows XP, but I think, it appears as a link on the left side in Windows 10.. If you get GCC working but it's still won't work as desired, I'm afraid you might have to reinstall Strawberry Perl. :/

  • Comment on Re: Errors While Installing Image::Magick

Replies are listed 'Best First'.
Re^2: Errors While Installing Image::Magick
by roho (Bishop) on Feb 15, 2024 at 04:35 UTC
    gcc is in the PATH.

    "It's not how hard you work, it's how much you get done."

      Any updates on this?

      I am having a hard time installing ImageMagick too.

      Installed 7.1.2 (64-bit) from IM website with all options (dev, legacy, etc.).

      Strawberry Perl 64-bit 5.32.1.

      Everytime I run `cpan install Image::Magick` it fails with:

      "error ImageMagick was build with a 64 channel bit mask and that requires a C++ compiler"

      Yet `gcc --version` yields:

      "gcc (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0"

        Hi perlygapes. If you follow the trail of posts and replies to the end you will discover the errors I encountered and the solutions, provided by primarily by syphilis.

        "It's not how hard you work, it's how much you get done."