Thanks to Rob hack I could get an hello.exe from hello.pl with pp ... I had to rerun the setup for Zlib from the cpan/build/IO-Compress-2.017 folder since I first hadd an error with a version number being too small.
My version of ExtUtils::MakeMaker is 6.50 I tried to understand why the par-packer setup went wrong, and I add "requires 'ExtUtils::MakeMaker' => 6.50;" in Makefile.pl but the problems still remain: Makefile.pl gives these warnings Note (probably harmless): No library found for perl58.lib 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 -lmsvcrt and dmake halt on gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -PERL_IMPLICIT_CONTEXT -DPERL_IMPLICI T_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mm s-bitfields - "C:\Perl\lib\CORE" my_par_pl.c g++ main.o my_par_pl.o win32.coff -s -L"C:\Perl\lib\CORE" -o par.exe main.o:main.c:(.text+0xe): undefined reference to `Perl_get_context' ... François > -----Original Message----- > From: Sisyphus [mailto:sisyph...@optusnet.com.au] > Sent: mercredi, 22. avril 2009 12:27 > To: RAPPAZ Francois; par@perl.org > Subject: Re: Buiding par-packer with dmake > > > ----- 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 > >