How can I fix the "-e aborted due to compilation errors" in the Makefile module of the Perl module?

I am on Windows using Strawberry Perl . I run perl Makefile.plfor the Buckwalter Encode module, which works fine. When I run make, he says

-E execution aborted due to compilation errors

What is -e? Which file can I fix the error? There appears to be no curly bracket in line 1, but I donโ€™t know which file has that curly bracket removed, so I donโ€™t know where to look.

+3
source share
3 answers

perl -e , . perlrun:

  • -e commandline
    . -e, Perl . -e script. , .

:

$ perl -e 'print "Hello, world!\n"'
Hello, world!

, , ,

$ perl -e 'while (1) { print "foo!"'
Missing right curly or square bracket at -e line 1, at end of line
syntax error at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
+2

, make dmake cpan.. CPAN- "test Encode:: Buckwalter", " Encode:: Buckwalter", ! , ... , .

0

At startup, perl Makefile.PLyou create a file with the name Makfefile. Inside this file are various targets, such as testand install, that do the real job. Some of them are implemented as single-line Perl using -e.

You have already solved your problem using the correct make option.

0
source

Source: https://habr.com/ru/post/1734057/


All Articles