fileparse(): need a valid pathname at C:/Strawberry/perl/site/lib/ExtUtils/Install.pm line 1187.

I've installed SP-5.24.1.1 - same version as yours, but I can't reproduce the problem.
I've grabbed the "portable" version, not the "msi installer" - but that should make no difference.
I do see the "scoped enums only available with -std=c++11 or -std=gnu++11" warning, but the build succeeds anyway.

So I think we're looking at a problem with ExtUtils::MakeMaker.
What version of ExtUtils::MakeMaker do you have ?
Strawberry 5.24.1 shipped with version 7.24, and that's the version I've used.
On Strawberry 5.24.4 (which I already had), version 7.34 is installed - and there was no problem with it, either.

Also, what does line 1187 of Install.pm state ? (We might be able to fix your issue by patching that file.)

Update:
C:\Strawberry\perl\lib\Config.pm -- No "ccflags" entries in this file.
C:\Strawberry\perl\lib\Config_heavy.pl -- I found: cc='$cc', ccflags ='$ccflags', but $ccflags is set somewhere else (this is the only reference).


Sorry - skimmed past that.
Yes - wrt altering of $Config{ccflags}, it's only Config_heavy.pl that needs patching.
If you keep searching further through that file you'll come to the line that needs to be altered. Search for ccflags=
I think you can also temporarily override ccflags the same way as I did for cc:
perl Makefile.PL CC=g++ CCFLAGS="full space-delimited list of all the +flags that you want"
Cheers,
Rob

In reply to Re^6: Errors While Installing Image::Magick by syphilis
in thread Errors While Installing Image::Magick by roho

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.