in reply to Re: enc2xs not found! at Makefile.PL
in thread enc2xs not found! at Makefile.PL
thanks a lot... I was playing in that direction without success so far...
tried your way , got a new error now:
D:\STRAWB~1\cpan\build\Encode-IBM-0.11-11>D:\Strawberry\perl\bin\perl +Makefile.PL enc2xs is D:\Strawberry\perl\bin\enc2xs.bat encode.h is at D:\Strawberry\perl\lib\Encode Checking if your kit is complete... Looks good ... Detected uninstalled Perl. Trying to continue. Have \strawberry\perl\lib Want \strawb~1\perl\lib Failed to opendir 'D:\STRAWB~1\perl\lib\CORE' to find header files: No + such file or directory at D:/Strawberry/perl/lib/ExtUtils/MM_Any.pm +line 3049.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: enc2xs not found! at Makefile.PL
by syphilis (Archbishop) on Nov 20, 2019 at 23:05 UTC | |
What version of Perl is this (please provide output of perl -V) ? What version of Windows ? Also, what is the output of running set ? It's a pretty weird error that you're getting - looks like some sort of ExtUtils::MakeMaker issue to me. The actual error is coming from strawberry/perl/lib/ExtUtils/MM_Unix.pm ... I can't recall seeing that error ever before. What version of EU::MM are you running: perl -MExtUtils::MakeMaker -le "print $ExtUtils::MakeMaker::VERSION;" In strawberry/perl/lib/ExtUtils/MM_Unix.pm, try changing the line: and see if that works. Without being able to reproduce the error it's rather hard for me to work out how to fix it. Cheers, Rob | [reply] [d/l] [select] |
by levW (Beadle) on Nov 24, 2019 at 09:54 UTC | |
================================================= >perl -MExtUtils::MakeMaker -le "print $ExtUtils::MakeMaker::VERSION;" 7.36 | [reply] [d/l] |
by syphilis (Archbishop) on Nov 24, 2019 at 13:19 UTC | |
Using the same build of Strawberry Perl as you: I find no problem if Makefile.PL has been modified as I specified earlier: I don't think I can help further until I see the outputs of both: Cheers, Rob | [reply] [d/l] [select] |
by levW (Beadle) on Nov 24, 2019 at 14:31 UTC | |
by Anonymous Monk on Nov 21, 2019 at 04:31 UTC | |
... In strawberry/perl/lib/ExtUtils/MM_Unix.pm, try changing the line: Hi How about no? https://metacpan.org/source/AUDREYT/Encode-IBM-0.11/Makefile.PL is a 2008 file generated by enc2xs Latest version of enc2xs is from 13 Mar 2019 Run latest enc2xs/makemaker then see whats what | [reply] |
by syphilis (Archbishop) on Nov 21, 2019 at 05:52 UTC | |
Yeah - the OP could give that a go. What does it involve exactly ? That is, what's the exact command that gets run, and from which directory does one need to run it ? The oldest Windows perl I have is perl-5.8.8 (enc2xs-2.01) and it's building Encode-IBM-0.11 just fine apart from a million or so warnings about: But the build succeeds, and the test suite passes ... and no bizarre warnings produced during the 'perl Makefile.PL' step. The oldest Strawberry Perl I have is perl-5.12.2 (enc2xs-2.07) which also builds Encode-IBM-0.11 just fine (and no warnings). Strawberry Perl 5.30.0 has enc2xs-2.21. According to the note at the beginning of the Makefile.PL (which I hadn't noticed), it was generated using enc2xs-2.05. Cheers, Rob | [reply] [d/l] |
|
Re^3: enc2xs not found! at Makefile.PL
by syphilis (Archbishop) on Nov 25, 2019 at 03:54 UTC | |
I should have asked you if the directory D:\STRAWB~1\perl\lib\CORE (also known as D:\strawberry\perl\lib\CORE) exists. I assumed it existed because it ought to exist, but maybe it has been removed. Does that directory exist ? If it does exist, then why does the opendir() call fail ? Line 3049 of MM_Any.pm is: Yet on my Strawberry Perl 5.30.0, it all works fine: Cheers, Rob | [reply] [d/l] [select] |
by levW (Beadle) on Nov 25, 2019 at 06:46 UTC | |
Thanks, Perl was OK after I have reinstalled my Strawberry from scratch... However - the workaround still fails, now in a later stage.
| [reply] [d/l] |
by syphilis (Archbishop) on Nov 25, 2019 at 07:51 UTC | |
I don't know how that error arises. Encode-3.01 builds and tests fine for me on both 32-bit and 64-bit Strawberry Perl 5.30.0. Also, you should already have Encode-3.01 installed (in perl\vendor\lib), and there is no point installing something you already have: Cheers, Rob | [reply] [d/l] |
by levW (Beadle) on Nov 25, 2019 at 11:00 UTC | |
by syphilis (Archbishop) on Nov 25, 2019 at 11:26 UTC | |