Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Modules install failure

by Perlchaoui (Sexton)
on Nov 17, 2018 at 18:07 UTC ( [id://1225968]=note: print w/replies, xml ) Need Help??


in reply to Re: Modules install failure
in thread Modules install failure

Hello Corion

I did what you suggested but it still doesn't work unfortunately

Here the output in the console

cpan> install Text::CSV_XS Running install for module 'Text::CSV_XS' HMBRAND/Text-CSV_XS-1.37.tgz Has already been unwrapped into directory C:\STRAWB~1\cpan\build\Tex +t-CSV_XS-1.37-U49GBM HMBRAND/Text-CSV_XS-1.37.tgz Has already been prepared HMBRAND/Text-CSV_XS-1.37.tgz Could not make: Unknown error

Same issue when i want to install another module

cpan> install Spreadsheet::CSV Running install for module 'Spreadsheet::CSV' Checksum for C:\STRAWB~1\cpan\sources\authors\id\D\DD\DDICK\Spreadshee +t-CSV-0.20.tar.gz ok Configuring D/DD/DDICK/Spreadsheet-CSV-0.20.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Spreadsheet::CSV Writing MYMETA.yml and MYMETA.json DDICK/Spreadsheet-CSV-0.20.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for D/DD/DDICK/Spreadsheet-CSV-0.20.tar.gz cp lib/Spreadsheet/CSV.pm blib\lib\Spreadsheet\CSV.pm DDICK/Spreadsheet-CSV-0.20.tar.gz C:\STRAWB~1\c\bin\dmake.exe -- OK Running make test "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/*.t t/00-load.t ......... 1/? # Failed test 'use Spreadsheet::CSV;' # at t/00-load.t line 10. # Tried to use 'Spreadsheet::CSV'. # Error: Can't load 'C:/Strawberry/perl/vendor/lib/auto/XML/Parse +r/Expat/Expat.xs.dll' for module XML::Parser::Expat: load_file:Le mod +ule spÚcifiÚ est introuvable at C:/Strawberry/perl/lib/DynaLoader.pm +line 193. # at C:/Strawberry/perl/vendor/lib/XML/Parser.pm line 18. # Compilation failed in require at C:/Strawberry/perl/vendor/lib/XML/P +arser.pm line 18. # BEGIN failed--compilation aborted at C:/Strawberry/perl/vendor/lib/X +ML/Parser.pm line 22. # Compilation failed in require at C:\STRAWB~1\cpan\build\Spreadsheet- +CSV-0.20-lfdP96\blib\lib/Spreadsheet/CSV.pm line 10. # BEGIN failed--compilation aborted at C:\STRAWB~1\cpan\build\Spreadsh +eet-CSV-0.20-lfdP96\blib\lib/Spreadsheet/CSV.pm line 10. # Compilation failed in require at t/00-load.t line 10. # BEGIN failed--compilation aborted at t/00-load.t line 10. Bailout called. Further testing stopped: Use of uninitialized value $Spreadsheet::CSV::VERSION in concatenation + (.) or string at t/00-load.t line 13. # Looks like your test exited with 255 just after 1. FAILED--Further testing stopped. dmake.exe: Error code 255, while making 'test_dynamic' DDICK/Spreadsheet-CSV-0.20.tar.gz C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports DDICK/Spreadsheet-CSV-0.20.tar.gz Stopping: 'install' failed for 'Spreadsheet::CSV'. Failed during this command: DDICK/Spreadsheet-CSV-0.20.tar.gz : make_test NO

What is going wrong ?!

Thanks again

Replies are listed 'Best First'.
Re^3: Modules install failure
by Tux (Canon) on Nov 19, 2018 at 17:07 UTC

    Additionally to what the Windows guru's told you or suggested, I'd say to start clearing out your C:\STRAWB~1\cpan\build\ before re-trying anything.

    That folder contains all your build efforts from cpan, including the FAIL'd ones.


    Enjoy, Have FUN! H.Merijn

      Thank you Tux

      It worked fine after that

      Good day

        It worked fine after that

        Okay - I'll bite.
        Can someone explain to me the mechanism by which "it worked fine after that" ?
        It's not clear to me what was going on there ... and I'm a little curious.

        Tux ??

        Cheers,
        Rob
Re^3: Modules install failure
by Perlchaoui (Sexton) on Nov 19, 2018 at 14:25 UTC

    Hello Monastery

    Is someone able to provide a kind of support for this concern. I have my PATH and my variables set correctly

    Many thanks again

      Something is really bad/weird with your setup.

      From the above log, it looks as if (maybe) you have gcc installed, and the compilation of XML::Parser::Expat somewhat succeeded, but you can't load the DLLs.

      This might be some weird group policies that prevent you(r programs, like Perl) from loading DLLs or maybe you don't have the appropriate DLLs. How did you (try to) install XML::Parser::Expat? And/or how did you install your current Perl? If you can restore from backup or install a really fresh Perl while wiping out all traces of this current state, my suggestion is that you do so.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2024-04-23 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found