Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Can't find string terminator "'" anywhere before EOF at -e line 1.

by Cow1337killr (Monk)
on Feb 13, 2017 at 21:17 UTC ( [id://1181924]=perlquestion: print w/replies, xml ) Need Help??

Cow1337killr has asked for the wisdom of the Perl Monks concerning the following question:

C:\Documents and Settings\User1\My Documents\2017 Perl project 001\Per +l scripts>cpan Loading internal null logger. Install Log::Log4perl for logging messag +es Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call + didn't work. The COLUMNS and LINES environment variab les didn't work. at C:\berrybrew\5.24.1_32\perl\vendor\lib/Term/ReadLi +ne/readline.pm line 410. cpan shell -- CPAN exploration and modules installation (v2.14) Enter 'h' for help. cpan> install HTML::TreeBuilder::XPath Database was generated on Sun, 12 Feb 2017 21:41:33 GMT Running install for module 'HTML::TreeBuilder::XPath' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/M/MI/MIROD/HTML-TreeBuilder- +XPath-0.14.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/M/MI/MIROD/CHECKSUMS Checksum for C:\berrybrew\5.24.1_32\cpan\sources\authors\id\M\MI\MIROD +\HTML-TreeBuilder-XPath-0.14.tar.gz ok Scanning cache C:\berrybrew\5.24.1_32\cpan\build for sizes DONE Configuring M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz with Makefil +e.PL Checking if your kit is complete... Looks good Warning: prerequisite XML::XPathEngine 0.12 not found. Generating a dmake-style Makefile Writing Makefile for HTML::TreeBuilder::XPath Writing MYMETA.yml and MYMETA.json MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz C:\berrybrew\5.24.1_32\perl\bin\perl.exe Makefile.PL -- OK Running make for M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz ---- XML::XPathEngine [requires] Running install for module 'XML::XPathEngine' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/M/MI/MIROD/XML-XPathEngine-0 +.14.tar.gz Checksum for C:\berrybrew\5.24.1_32\cpan\sources\authors\id\M\MI\MIROD +\XML-XPathEngine-0.14.tar.gz ok Configuring M/MI/MIROD/XML-XPathEngine-0.14.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for XML::XPathEngine Writing MYMETA.yml and MYMETA.json Can't find string terminator "'" anywhere before EOF at -e line 1. Can't find string terminator "'" anywhere before EOF at -e line 1. MIROD/XML-XPathEngine-0.14.tar.gz C:\berrybrew\5.24.1_32\perl\bin\perl.exe Makefile.PL -- OK Running make for M/MI/MIROD/XML-XPathEngine-0.14.tar.gz cp lib/XML/XPathEngine/Root.pm blib\lib\XML\XPathEngine\Root.pm cp lib/XML/XPathEngine/Function.pm blib\lib\XML\XPathEngine\Function.p +m cp lib/XML/XPathEngine/Number.pm blib\lib\XML\XPathEngine\Number.pm cp lib/XML/XPathEngine/Boolean.pm blib\lib\XML\XPathEngine\Boolean.pm cp lib/XML/XPathEngine.pm blib\lib\XML\XPathEngine.pm cp lib/XML/XPathEngine/Literal.pm blib\lib\XML\XPathEngine\Literal.pm cp lib/XML/XPathEngine/Variable.pm blib\lib\XML\XPathEngine\Variable.p +m cp lib/XML/XPathEngine/Step.pm blib\lib\XML\XPathEngine\Step.pm cp lib/XML/XPathEngine/Expr.pm blib\lib\XML\XPathEngine\Expr.pm cp lib/XML/XPathEngine/NodeSet.pm blib\lib\XML\XPathEngine\NodeSet.pm cp lib/XML/XPathEngine/LocationPath.pm blib\lib\XML\XPathEngine\Locati +onPath.pm MIROD/XML-XPathEngine-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe -- OK Running make test "C:\berrybrew\5.24.1_32\perl\bin\perl.exe" "-MExtUtils::Command::MM" " +-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-load.t ....... 1/1 # Testing XML::XPathEngine 0.14, Perl 5.024001 +, /usr/bin/perl t/00-load.t ....... ok t/01_basic.t ...... ok t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for tes +ting POD coverage t/pod.t ........... ok All tests successful. Files=4, Tests=50, 4 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CP +U) Result: PASS MIROD/XML-XPathEngine-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe test -- OK Running make install Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Boolea +n.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Expr.p +m Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Functi +on.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Litera +l.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Locati +onPath.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\NodeSe +t.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Number +.pm Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Root.p +m Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Step.p +m Installing C:\berrybrew\5.24.1_32\perl\site\lib\XML\XPathEngine\Variab +le.pm Appending installation info to C:\berrybrew\5.24.1_32\perl\lib/perlloc +al.pod MIROD/XML-XPathEngine-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe install UNINST=1 -- OK MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz Has already been unwrapped into directory C:\berrybrew\5.24.1_32\cpa +n\build\HTML-TreeBuilder-XPath-0.14-0 MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz Has already been prepared Running make for M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz cp lib/HTML/TreeBuilder/XPath.pm blib\lib\HTML\TreeBuilder\XPath.pm MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe -- OK Running make test "C:\berrybrew\5.24.1_32\perl\bin\perl.exe" "-MExtUtils::Command::MM" " +-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/HTML-TreeBuilder-XPath.t .. ok t/pod.t ..................... ok t/pod_coverage.t ............ Test::Pod::Coverage 1.00 required for te +sting POD coverage at t/pod_coverage.t line 6. t/pod_coverage.t ............ ok t/test_following.t .......... ok t/test_preceding.t .......... ok All tests successful. Files=5, Tests=81, 2 wallclock secs ( 0.06 usr + 0.08 sys = 0.14 CP +U) Result: PASS MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe test -- OK Running make install Installing C:\berrybrew\5.24.1_32\perl\site\lib\HTML\TreeBuilder\XPath +.pm Appending installation info to C:\berrybrew\5.24.1_32\perl\lib/perlloc +al.pod MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz C:\berrybrew\5.24.1_32\c\bin\dmake.exe install UNINST=1 -- OK cpan>

Strawberry Perl 5.24.1.1 (32bit)

Installing HTML::TreeBuilder::XPath.

CPAN automatically installs XML::XPathEngine.

How would I pursue this error? Look at the XML::XPathEngine distribution and start looking for the error message somewhere around where it does Writing MYMETA.yml and MYMETA.json?

Replies are listed 'Best First'.
Re: Can't find string terminator "'" anywhere before EOF at -e line 1.
by beech (Parson) on Feb 14, 2017 at 01:06 UTC

    How would I pursue this error? Look at the XML::XPathEngine distribution and start looking for the error message somewhere around where it does Writing MYMETA.yml and MYMETA.json?

    Hi,

    Yes, finding the responsible file is what is required,

    Might use something like Devel::Trace to narrow down the file responsible ... but it looks like MIROD/XML-XPathEngine-0.14/Makefile.PL is the file , this part

    # add the license bit in META.yaml unless( `$^X -n -e'print if( m{license\\s*:\\s*perl})' Makefile`) { system $^X . q{ -p -i -e's{^((.*)distribution_type: module(.*))}{$ +1\n$2license: perl$3}m' Makefile}; }

    Thats not likely to work on windows , but it probably doesn't have to ... I vaguely recall some linux distribution requiring perl distributions to include license before they would use it with their 5.8.x version of perl

    However WriteMakefile could use a LICENSE option which is available since 6.31 (perl v5.10.0 and up)

Re: Can't find string terminator "'" anywhere before EOF at -e line 1.
by Anonymous Monk on Feb 13, 2017 at 21:27 UTC
    All the tests passed. Are you having problems with the installed module?
      I will run a test with a program that uses it now.

      I viewed the results of the test. Everything looks fine.

      So, my answer to your question is: No.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1181924]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-03-29 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found