Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^13: Download Links for Dmake and MinGW

by syphilis (Archbishop)
on Aug 09, 2017 at 00:43 UTC ( [id://1197060]=note: print w/replies, xml ) Need Help??


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

windres is not recognized as an internal or external command

If you are runningr anti-virus software that deemed windres.exe to possibly be a virus, then the file might not have been installed, or it might have been quarantined in some way that makes it inaccessible. (Perhaps its file extension was changed ?)
You'll need to fix that.
windres.exe should be in the same folder as gcc.exe.

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

Replies are listed 'Best First'.
Re^14: Download Links for Dmake and MinGW
by yinghou (Novice) on Aug 10, 2017 at 03:42 UTC

    the Windres.exe issue was resolved by creating a Mingw folder in environment path. Thanks for your suggestions. However, still not able to install with errors like below:

    dmake may not locate par::heavy pm

    not sure it means I need to download par::heavy as prerequisite? or something else? Thanks Ying

      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

        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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found