Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
fileparse(): need a valid pathname at C:/Strawberry/perl/site/lib/ExtUtils/ line 1187.

I've installed SP- - 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 state ? (We might be able to fix your issue by patching that file.)

C:\Strawberry\perl\lib\ -- No "ccflags" entries in this file.
C:\Strawberry\perl\lib\ -- 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 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"

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

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-06-21 21:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.