Subject: | Problems experienced when trying to build PAR-Packer-1.002 |
Date: | Thu, 25 Mar 2010 15:52:28 +0000 |
To: | bug-PAR [...] rt.cpan.org |
From: | Richard Thomas <rich_d_thomas [...] yahoo.com> |
Hi,
I needed to perform many workaround to get this to build.
Please see the procudure below that shows the workarounds in place.
1) Run "ppm install MinGW"
2) Download the PAR-Packer tar.gz file from CPAN
3) Extract the tar.gz file into C:\Perl directory
4) Open up a DOS box and cd into the c:\Perl\PAR-Packer-xxxx directory
5) Set the PATH env variable within the current DOS box, so that it does not
have cygwin in the path
6) Enter "Makefile.PL", it should result in the following:
C:\Perl\PAR-Packer-1.002>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
7) dmake test
8) as the above returns an error:
cd myldr
C:\Perl\site\bin\g++.exe main.o my_par_pl.o -L"C:\Perl\lib\CORE"
C:\Perl\lib\CORE\perl510.lib -o par.exe
cd ..
dmake test
9) as the above returns an error:
cd myldr
C:\Perl\site\bin\g++.exe static.o -L"C:\Perl\lib\CORE"
C:\Perl\lib\CORE\perl510.lib -o static.exe
cd ..
dmake test
10) as the above returns loads of errors
dmake install
dmake test
11) as the above hangs
<CTRL><C>
dmake test
12) dmake test (failed at t/20-pp.t test 31)
dmake install
For more detail on each of the workarounds that I had to use, please see
discusison thread http://www.perlmonks.org/?node_id=829018 which shows all
the errors that were appearing on the screen and the suggestions I have been
given.
Thank you.
Richard.