Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^15: Download Links for Dmake and MinGW

by syphilis (Archbishop)
on Aug 10, 2017 at 10:49 UTC ( [id://1197151]=note: print w/replies, xml ) Need Help??


in reply to Re^14: Download Links for Dmake and MinGW
in thread Download Links for Dmake and MinGW

not sure it means I need to download par::heavy as prerequisite?

PAR::Heavy is part of PAR itself.
There is no module that I know of named "par::heavy" and I've no idea how the string "par::heavy pm" can possibly be appearing in the output for whatever command it was that you ran.
I would need to see a copy'n'paste of the actual command you ran, plus a copy'n'paste of a few of the lines that were output before the appearance of that strange message.

Are you able to install any other modules ?
If so, then I would suggest creating a new thread about this problem installing PAR as the issues regarding the installation of dmake and MinGW have (presumably) been resolved.

Cheers,
Rob
  • Comment on Re^15: Download Links for Dmake and MinGW

Replies are listed 'Best First'.
Re^16: Download Links for Dmake and MinGW
by Anonymous Monk on Aug 11, 2017 at 21:30 UTC

    I was trying to install PAR:Packer after installing dmake and MinGW by ppm. Not sure other modules depend on dmake and MinGW? Haven't successfully installed a single module which depends on dmake and Mingw.

    Perl makefile.pl Warning: prerequisite Getopt::ArgvFile 1.07 not found. Warning: prerequisite Module::ScanDeps 1.21 not found. Warning: prerequisite PAR 1.014 not found. Warning: prerequisite PAR::Dist 0.22 not found. Warning: prerequisite Win32::Exe 0.17 not found. Warning (mostly harmless): No library found for -lmoldname Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Generating a dmake-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json C:\TEMP\PAR-Packer-1.037>dmake Skip blib\lib\PAR\Filter.pm (unchanged) Skip blib\lib\App\Packer\PAR.pm (unchanged) Skip blib\lib\PAR\Packer.pm (unchanged) Skip blib\lib\PAR\Filter\Bleach.pm (unchanged) Skip blib\lib\PAR\Filter\PodStrip.pm (unchanged) Skip blib\lib\PAR\Filter\Bytecode.pm (unchanged) Skip blib\lib\PAR\Filter\Obfuscate.pm (unchanged) Skip blib\lib\pp.pm (unchanged) Skip blib\lib\PAR\Filter\PatchContent.pm (unchanged) Skip blib\lib\PAR\StrippedPARL\Base.pm (unchanged) C:\Perl64\site\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D +PERL_TEXTM ODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICI +T_SYS -fwr apv -fno-strict-aliasing -mms-bitfields -I"C:\Perl64\lib\CORE" -DLDL +IBPTHNAME= \"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.037\" -s -O2 mai +n.c C:\Perl64\site\bin\g++.exe main.o ppresource.coff -s -s -static-libg +cc -static -libstdc++ -L"C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" + "C:\Perl6 4\lib\CORE\libperl524.a" -o par.exe rem "C:\Perl64\bin\perl.exe" encode_append.pl Dynamic.in par.exe Dynamic.p +m "C:\Perl64\bin\perl.exe" embed_files.pl -c 32768 par.exe "C:\Perl64\bi +n\perl524. dll" "C:\MinGW\bin\libgcc_s_sjlj-1.dll" "C:\MinGW\bin\libstdc++-6.dll" + > boot_em bedded_files.c # using "objdump" recusrively to find DLLs needed by par.exe # embedding "par.exe" as "par.exe" # embedding "C:\Perl64\bin/perl524.dll" as "perl524.dll" C:\Perl64\site\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D +PERL_TEXTM ODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICI +T_SYS -fwr apv -fno-strict-aliasing -mms-bitfields -I"C:\Perl64\lib\CORE" -DLDL +IBPTHNAME= \"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.037\" -s -O2 boo +t.c In file included from mktmpdir.h:87:0, from mktmpdir.c:1, from boot.c:10: sha1.c: In function 'sha_transform': sha1.c:146:2: warning: right shift count >= width of type [enabled by +default] C:\Perl64\site\bin\g++.exe boot.o -static-libgcc -s -s -static-libg +cc -static -libstdc++ -L"C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" + "C:\Perl6 4\lib\CORE\libperl524.a" ppresource.coff -o boot.exe rem "C:\Perl64\bin\perl.exe" encode_append.pl Static.in boot.exe Static.pm cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm "C:\Perl64\bin\perl.exe" -Mblib=.. run_with_inc.pl boot.exe -q -B -Opa +rl.exe Can't locate PAR/Heavy.pm in @INC (you may need to install the PAR::He +avy module ) (@INC contains: ..\blib\arch ..\blib\lib C:/Perl64/site/lib C:/Perl6 +4/lib . .) at -e line 268, <_FH> chunk 1. system(boot.exe -I..\blib\arch -I..\blib\lib -IC:/Perl64/site/lib -IC: +/Perl64/li b -I. -q -B -Oparl.exe) failed: dmake.exe: Error code 130, while making 'parl.exe' dmake.exe: 'parl.exe' removed. dmake.exe: Error code 255, while making 'subdirs'

    thoughts: Not sure it is related to installation of Mingw and dmake through ppm before installing PAR::Packer by perl Makefile.pl, dmake... (not through ppm)?

    Thanks Ying
      Warning: prerequisite Getopt::ArgvFile 1.07 not found. Warning: prerequisite Module::ScanDeps 1.21 not found. Warning: prerequisite PAR 1.014 not found. Warning: prerequisite PAR::Dist 0.22 not found. Warning: prerequisite Win32::Exe 0.17 not found.
      You'll need to first install those modules (and any prerequisites that they list).
      You'll see that one of those modules listed is PAR, and it's the module that contains PAR/Heavy.pm.

      The simplest way of getting it done is to use the cpan utility (cpan.bat):
      cpan -i PAR::Packer
      But that won't work if you don't have an internet connection. It is possible to configure cpan to install from sources stored on the local machine - but I've no experience with that.
      You'd need to check the cpan documentation - see perldoc cpan
      This excerpt from that documentation looks promising:
      # with just the dot, install from the distribution in the # current directory cpan .
      That is (I think), put all of the source distributions (tar.gz files from CPAN) into the same folder on your local machine, cd to that directory and run:
      cpan . -i Par::Packer
      If you have trouble getting that working, ask about it in a new thread.
      Or you can install Par::Packer and its dependency chain in the way you're doing it - it's a bit tedious, but it can be done that way if you want.

      Cheers,
      Rob

        Hi Rob, Thanks for your advice. I was able to install PAR::Packer using the tedious way (perl makefile.pl, dmake...) Still looking into your cpan -i option. Will let you know whether that way works too. Sorry for late response. Thanks Ying

      We've been round this loop a few times, if you're working without internet access use minicpan to create a local mirror, copy it to your network/server, configure cpan accordingly o conf urllist push file:///path/to/your/minicpan and install. You've been given a lot of advice that would have saved you a lot of time.

        Thanks Marto for the suggestion. I will also take a look at the minicpan you suggested. I like Perl a lot, very flexible and gave me options to speed up the process. Thanks Ying

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-10 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found