|
|
| more useful options | |
| PerlMonks |
Re^6: Errors While Installing Image::Magickby syphilis (Archbishop) |
| on Feb 15, 2024 at 23:23 UTC ( [id://11157718]=note: print w/replies, xml ) | Need Help?? |
|
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: Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||