Hi,

I am trying to build PAR-Packer-1.002 (http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/PAR-Packer-1.002.tar.gz), using ActivePerl v5.10.1 build 1007 and MinGW 5.1.4.1.

I get some errors at the dmake stage, below is a copy-and-paste of what I have done and the results I get.

Can anyone help me with this please.

Thanks in advance.

C:\Perl\PAR-Packer-1.002>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Checking if your kit is complete... Looks good Writing Makefile for the par.exe program Writing Makefile for PAR::Packer C:\Perl\PAR-Packer-1.002>dmake test 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/StrippedPARL/Dynamic.pm blib\lib\PAR\StrippedPARL\Dynamic.p +m 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 cp lib/PAR/StrippedPARL/Static.pm blib\lib\PAR\StrippedPARL\Static.pm C:\Perl\bin\perl.exe sha1.c.PL sha1.c C:/Perl/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -D +HAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX - +DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -I"C:\Perl\lib\COR +E" -DPARL_EXE=\"parl.exe\" -O2 sha1.c C:\Perl\bin\perl.exe file2c.pl C:\Perl\bin\perl510.dll my_perl.c load_ +me_0 0 30000 dmake.exe: Warning: -- Found file corresponding to virtual target [mk +tmpdir.h]. dmake.exe: Warning: -- Found file corresponding to virtual target [mk +tmpdir.c]. dmake.exe: Warning: -- Found file corresponding to virtual target [ma +in.c]. C:/Perl/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -D +HAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX - +DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -I"C:\Perl\lib\COR +E" -DPARL_EXE=\"parl.exe\" -O2 main.c C:\Perl\bin\perl.exe file2c.pl ..\script\par.pl my_par_pl.c load_me_2 +0 C:/Perl/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -D +HAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX - +DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -I"C:\Perl\lib\COR +E" -DPARL_EXE=\"parl.exe\" -O2 my_par_pl.c C:\Perl\site\bin\g++.exe main.o my_par_pl.o -L"C:\Perl\lib\CORE" C:\P +erl\lib\CORE\perl510.lib C:\Perl\site\lib\auto\MinGW\lib\libkernel32. +a C:\Perl\site\lib\auto\MinGW\lib\libuser32.a C:\Perl\site\lib\auto\M +inGW\lib\libgdi32.a C:\Perl\site\lib\auto\MinGW\lib\libwinspool.a C:\ +Perl\site\lib\auto\MinGW\lib\libcomdlg32.a C:\Perl\site\lib\auto\MinGW\lib\libadvapi32.a C:\Perl\site\lib\auto\Mi +nGW\lib\libshell32.a C:\Perl\site\lib\auto\MinGW\lib\libole32.a C:\Pe +rl\site\lib\auto\MinGW\lib\liboleaut32.a C:\Perl\site\lib\auto\MinGW\ +lib\libnetapi32.a C:\Perl\site\lib\auto\MinGW\lib\libuuid.a C:\Perl\s +ite\lib\auto\MinGW\lib\libws2_32.a C:\Perl\site\lib\auto\MinGW\lib\li +bmpr.a C:\Perl\site\lib\auto\MinGW\lib\libwinmm.a C:\Perl\site\lib\au +to\MinGW\lib\libversion.a C:\Perl\site\lib\auto\MinGW\lib\libodbc32.a + C:\Perl\site\lib\auto\MinGW\lib\libodbccp32.a C:\Perl\site\lib\auto\ +MinGW\lib\libmsvcrt.a -o par.exe C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\m +ingw32\bin\ld.exe: BFD (GNU Binutils) 2.19.1 assertion fail ../../bin +utils-2.19.1/bfd/coffgen.c:375 C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\m +ingw32\bin\ld.exe: warning: C:\Perl\site\lib\auto\MinGW\lib\libmsvcrt +.a(diwcs00633.o): local symbol ` ' has no section C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\m +ingw32\bin\ld.exe: warning: C:\Perl\site\lib\auto\MinGW\lib\libmsvcrt +.a(diwcs00633.o): local symbol `tFileAttributesA@8' has no section C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\m +ingw32\bin\ld.exe: final link failed: Bad value collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'par.exe' dmake.exe: Error code 255, while making 'subdirs'


In reply to trying to build PAR-Packer-1.002 by rich_d_thomas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.