On Mon, May 9, 2011 at 1:49 AM, Peter Buck <pb...@his.com> wrote: > I handled all the dependencies listed in the Par-Packer installation, and > downloaded and installed gcc. But am getting an error in the nmake: > C:\Perl\site\par\PAR-Packer-1.006>nmake > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > C:\Perl\bin\perl.exe "-Minc::Module::Install" -e > "extract_par(q(PAR-Packer-1.006-MSWin32-x86-multi-thread-5.10. > 1.par))" > Set up gcc environment - 3.4.5 (mingw-vista special r3) > syntax error at -e line 1, next char ) > Missing right curly or square bracket at -e line 1, at end of line
Most likely the Makefile generated by "perl Makefile.PL" is meant for dmake rather than nmake (because you got dmake.exe somewhere in your PATH). Check what your Makefile has on the line MAKE = .... If it's ...\dmake.exe just use "dmake" in place of "nmake". Are you using ActiveState Perl (5.10.1)? Then you'll probably run into c:\STRAWB~1\c\bin\g++.exe main.o my_par_pl.o win32.coff -s -L"P:\_Services\IT for_IT\Synergy_Subversion\Support\ActivePerl\lib\CORE" -o par.exe main.o:main.c:(.text+0xe77): undefined reference to `Perl_get_context' ... main.o:main.c:(.text+0x2da4): undefined reference to `Perl_newXS_flags' collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'par.exe' dmake: Error code 255, while making 'subdirs' This is caused by myldr/Makefile.PL failing to locate perl510.lib. I'm digging into this, stay tuned. BTW, the current version of PAR::Packer is 1.009 (but that doesn't make a difference for this problem). Cheers, Roderich