----- Original Message ----- From: "RAPPAZ Francois" <francois.rap...@unifr.ch>
To: "Sisyphus" <sisyph...@optusnet.com.au>; <par@perl.org>
Sent: Wednesday, April 22, 2009 7:30 PM
Subject: RE: Buiding par-packer with dmake

g++ main.o my_par_pl.o win32.coff -s   -L"C:\Perl\lib\CORE" -o par.exe

For me, the command that gets run there is:
g++ main.o my_par_pl.o win32.coff -s -L"C:\_32\ap825\lib\CORE" C:\_32\ap825\lib\CORE\perl58.lib -o par.exe

It's the link to perl58.lib (missing from your command) that enables those references to be defined.

You could hack your way past that problem by cd'ing to the myldr directory (cd myldr) and manually running: g++ main.o my_par_pl.o win32.coff -s -L"C:\Perl\lib\CORE" C:\Perl\lib\CORE\perl58.lib -o par.exe

Then return to the top level folder (cd ..) and re-run dmake. If you do that, you'll probably also have to adopt the same procedure in relation to the following command (which is run soon after): g++ static.o -s -L"C:\_32\ap825\lib\CORE" C:\_32\ap825\lib\CORE\perl58.lib win32.coff -o static.exe

Thing is, you shouldn't have to stuff around like that. 'C:\Perl\lib\CORE\perl58.lib' should have been included for you (as it was for me) - and I don't know why that hasn't happened.

What version of Par-Packer are you trying to install ? I have:

PAR::Packer 0.991
Getopt::ArgvFile 1.11
Module::ScanDeps 0.89
PAR 0.992
PAR::Dist 0.44
Parse::Binary 0.11
Win32::Exe 0.11

The version of ExtUtils::MakeMaker might potentially make a difference. What version of it do you have ? For me:

C:\>perl -MExtUtils::MakeMaker -e "print $ExtUtils::MakeMaker::VERSION"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
6.4801

Cheers,
Rob



Reply via email to