Wed Jan 22 13:51:57 2014: Request 92353 was acted upon.
Transaction: Correspondence added by DJIBEL
       Queue: PAR-Packer
     Subject: Installation failed - NMAKE : fatal error U1077: 
'C:\PROGRA~2\MICROS~1.0\VC\bin\nmake.exe' : code reto ur '0x2'
   Broken in: 1.017
    Severity: (no value)
       Owner: Nobody
  Requestors: dji...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92353 >


Le Mer 22 Jan 2014 04:47:19, RSCHUPP a écrit :
> > Which is your environment in Windows ?
> 
> I just checked with Strawberry Perl 5.18.1 (which comes with the MingW
> toolchain) on Windows 7 SP1 (32-bit).
> PAR::Packer builds and tests OK out of the box.
> 
> Can you try to install the mingw PPM and remove the Visual Studio
> stuff from PATH in the environment where you try to build PAR::Packer.
> It should then find gcc, fake Config.pm to pretend your perl was built
> using it and hence use gcc to build PAR::Packer.
> 
> Cheers, Roderich

I have remove from my path Windows ;C:\Program Files (x86)\Microsoft Visual 
Studio 11.0\VC\bin
I have installed from from ppm MINGW64. For this, I have installed dmake 

C:\Windows\System32>ppm install 
http://ppm4.activestate.com/MSWin32-x64/5.16/1600/-/--/MINGW64/dmake-4.12.20090907.ppd
and ppm install MINGW64

Now, If I try to install PAR::Packer, I have anoter errors :

==================================================================
cpan -i PAR::Packer

Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
CPAN: Term::ANSIColor loaded ok (v4.02)
CPAN: Storable loaded ok (v2.34)
Reading 'E:\Perl64\cpan\Metadata'
  Database was generated on Wed, 22 Jan 2014 10:06:22 GMT
Running install for module 'PAR::Packer'
Running make for R/RS/RSCHUPP/PAR-Packer-1.017.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
CPAN: Compress::Zlib loaded ok (v2.063)
Checksum for E:\Perl64\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.017.tar
.gz ok
CPAN: Archive::Tar loaded ok (v1.96)
PAR-Packer-1.017/
PAR-Packer-1.017/myldr/
PAR-Packer-1.017/myldr/run_with_inc.pl
PAR-Packer-1.017/myldr/encode_append.pl
PAR-Packer-1.017/myldr/Dynamic.in
PAR-Packer-1.017/myldr/sha1.c.PL
PAR-Packer-1.017/myldr/boot.c
PAR-Packer-1.017/myldr/winres/
PAR-Packer-1.017/myldr/winres/pp.ico
PAR-Packer-1.017/myldr/winres/pp.rc
PAR-Packer-1.017/myldr/winres/pp.manifest
PAR-Packer-1.017/myldr/Makefile.PL
PAR-Packer-1.017/myldr/env.c
PAR-Packer-1.017/myldr/internals.c
PAR-Packer-1.017/myldr/main.c
PAR-Packer-1.017/myldr/file2c.pl
PAR-Packer-1.017/myldr/usernamefrompwuid.c
PAR-Packer-1.017/myldr/par_pl2c.pl
PAR-Packer-1.017/myldr/mktmpdir.h
PAR-Packer-1.017/myldr/utils.c
PAR-Packer-1.017/myldr/mktmpdir.c
PAR-Packer-1.017/myldr/Static.in
PAR-Packer-1.017/MANIFEST.SKIP
PAR-Packer-1.017/contrib/
PAR-Packer-1.017/contrib/stdio/
PAR-Packer-1.017/contrib/stdio/Stdio_readme.txt
PAR-Packer-1.017/contrib/stdio/Stdio.pm
PAR-Packer-1.017/contrib/gui_pp/
PAR-Packer-1.017/contrib/gui_pp/gpp_readme.txt
PAR-Packer-1.017/contrib/gui_pp/gpp
PAR-Packer-1.017/contrib/pare/
PAR-Packer-1.017/contrib/pare/pare_readme.txt
PAR-Packer-1.017/contrib/pare/pare
PAR-Packer-1.017/contrib/procedural_pp/
PAR-Packer-1.017/contrib/procedural_pp/pp_old
PAR-Packer-1.017/contrib/automated_pp_test/
PAR-Packer-1.017/contrib/automated_pp_test/automated_pp_test.pl
PAR-Packer-1.017/contrib/automated_pp_test/hello_tk.pl
PAR-Packer-1.017/contrib/automated_pp_test/hi.ico
PAR-Packer-1.017/contrib/automated_pp_test/pipe_a_command.pm
PAR-Packer-1.017/contrib/automated_pp_test/prior_to_test.pm
PAR-Packer-1.017/contrib/automated_pp_test/remove_file_and_try_executable_again.
pm
PAR-Packer-1.017/contrib/automated_pp_test/test_in_further_subdir.pm
PAR-Packer-1.017/contrib/extract_embedded/
PAR-Packer-1.017/contrib/extract_embedded/extract-embedded.pl
PAR-Packer-1.017/contrib/docs/
PAR-Packer-1.017/contrib/docs/where_is_it.txt
PAR-Packer-1.017/contrib/docs/who_am_i.txt
PAR-Packer-1.017/inc/
PAR-Packer-1.017/inc/Module/
PAR-Packer-1.017/inc/Module/Install.pm
PAR-Packer-1.017/inc/Module/Install/
PAR-Packer-1.017/inc/Module/Install/Win32.pm
PAR-Packer-1.017/inc/Module/Install/Makefile.pm
PAR-Packer-1.017/inc/Module/Install/WriteAll.pm
PAR-Packer-1.017/inc/Module/Install/PAR.pm
PAR-Packer-1.017/inc/Module/Install/Fetch.pm
PAR-Packer-1.017/inc/Module/Install/Include.pm
PAR-Packer-1.017/inc/Module/Install/Metadata.pm
PAR-Packer-1.017/inc/Module/Install/Can.pm
PAR-Packer-1.017/inc/Module/Install/Base.pm
PAR-Packer-1.017/script/
PAR-Packer-1.017/script/pp
PAR-Packer-1.017/script/par.pl
PAR-Packer-1.017/script/tkpp
PAR-Packer-1.017/script/parl.pod
PAR-Packer-1.017/t/
PAR-Packer-1.017/t/20-pp.t
PAR-Packer-1.017/t/30-current_exec.t
PAR-Packer-1.017/t/00-pod.t
PAR-Packer-1.017/t/test-proc
PAR-Packer-1.017/t/40-packer_cd_option.t
PAR-Packer-1.017/t/90-rt59710.t
PAR-Packer-1.017/t/10-parl-generation.t
PAR-Packer-1.017/Makefile.PL
PAR-Packer-1.017/package/
PAR-Packer-1.017/package/parl.nsi
PAR-Packer-1.017/ChangeLog
PAR-Packer-1.017/lib/
PAR-Packer-1.017/lib/PAR/
PAR-Packer-1.017/lib/PAR/Packer.pm
PAR-Packer-1.017/lib/PAR/StrippedPARL/
PAR-Packer-1.017/lib/PAR/StrippedPARL/Base.pm
PAR-Packer-1.017/lib/PAR/Filter/
PAR-Packer-1.017/lib/PAR/Filter/PodStrip.pm
PAR-Packer-1.017/lib/PAR/Filter/Bleach.pm
PAR-Packer-1.017/lib/PAR/Filter/PatchContent.pm
PAR-Packer-1.017/lib/PAR/Filter/Bytecode.pm
PAR-Packer-1.017/lib/PAR/Filter/Obfuscate.pm
PAR-Packer-1.017/lib/PAR/Filter.pm
PAR-Packer-1.017/lib/pp.pm
PAR-Packer-1.017/lib/App/
PAR-Packer-1.017/lib/App/Packer/
PAR-Packer-1.017/lib/App/Packer/PAR.pm
PAR-Packer-1.017/TODO
PAR-Packer-1.017/MANIFEST
PAR-Packer-1.017/README
PAR-Packer-1.017/AUTHORS
PAR-Packer-1.017/META.yml
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v3.02)

  CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.017.tar.gz

Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at E:/Perl64/lib/ExtUtils/Ma
keMaker.pm line 219.
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lcomctl32
Note (probably harmless): No library found for -lmsvcrt
Writing Makefile for par.exe
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
E:\Perl64\bin\perl.exe par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
E:\Perl64\bin\perl.exe sha1.c.PL
E:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -D
CONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
 -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfi
elds  -I"E:\Perl64\lib\CORE"  -DPARL_EXE=\"parl.exe\" -O2 main.c
main.c: In function 'main':
main.c:121:23: warning: assignment discards qualifiers from pointer target type
windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output-format=cof
f --target=pe-x86-64
E:\Perl64\site\bin\g++.exe main.o ppresource.coff -s   -L"E:\Perl64\lib\CORE"  E
:\Perl64\lib\CORE\perl516.lib -o par.exe
rem
E:\Perl64\bin\perl.exe encode_append.pl Dynamic.in par.exe Dynamic.pm
E:\Perl64\bin\perl.exe file2c.pl -c 30000 par.exe E:\Perl64\bin\perl516.dll > bo
ot_embedded_files.c
E:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -D
CONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
 -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfi
elds  -I"E:\Perl64\lib\CORE"  -DPARL_EXE=\"parl.exe\" -O2 boot.c
In file included from mktmpdir.h:85: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
boot.c: In function 'main':
boot.c:220:5: warning: passing argument 3 of 'spawnvpe' from incompatible pointe
r type
e:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/process.h:178:20: note: expected 'char * const*' bu
t argument is of type 'const char * const*'
boot.c:220:5: warning: passing argument 4 of 'spawnvpe' from incompatible pointe
r type
e:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/process.h:178:20: note: expected 'char * const*' bu
t argument is of type 'const char * const*'
E:\Perl64\site\bin\g++.exe boot.o -static-libgcc -s   -L"E:\Perl64\lib\CORE"  E:
\Perl64\lib\CORE\perl516.lib  ppresource.coff -o boot.exe
rem
E:\Perl64\bin\perl.exe encode_append.pl Static.in boot.exe Static.pm
cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
E:\Perl64\bin\perl.exe -Mblib=.. run_with_inc.pl par.exe -q -B -Oparldyn.exe
system(par.exe -I..\blib\arch -I..\blib\lib -IE:/Perl64/site/lib -IE:/Perl64/lib
 -I. -q -B -Oparldyn.exe) failed:
dmake.exe:  Error code 255, while making 'parldyn.exe'
dmake.exe:  Error code 255, while making 'subdirs'
  RSCHUPP/PAR-Packer-1.017.tar.gz
  E:\Perl64\site\bin\dmake.exe -- NOT OK
CPAN: YAML::XS loaded ok (v0.39)
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

==================================================================

And par.exe crash.

Best regards

Reply via email to