OK, I got it: I had renommed Zlib.pm in _Zlib.pm in perl/lib/compress to force 
a new installation from CPAN, and obviously ppm need it. Anyway giving back the 
name cure the problem.

It's strange that cpan seems to use a zlib in perl/site/lib/compress...

François

-----Original Message-----
From: RAPPAZ Francois 
Sent: mercredi, 22. avril 2009 13:35
To: 'Sisyphus'; 'par@perl.org'
Subject: RE: Buiding par-packer with dmake

I got the same version as you, except Win32::Exe wich I upgrade to 0.11 from 
0.08. 
Following your indications I could finally run dmake install to set up par and 
friends. Thanks a lot !

By the way, if cpan seems to work correctly, I have broken ppm in getting CPAN 
working: I forced an install of IO::Compress:Base and now I can't unzip with 
ppm, I got ERROR: Undefined subroutine &Compress::Zlib::gzopen called...

How can I have ppm and cpan working ?

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
> 
> 

Reply via email to