Hi Wolfgang,

Wolfgang Fey via RT wrote:
> after Extracting PAR-Packer-0.982 I tried to create the Makefile. A
> Makefile is genereated, but I get an error-message (s. below). It
> seems as if a file is missed on the CPAN server?
> 
> My version of perl is
> "ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi", missing Packages
> where already installed.
> 
> C:\PAR-Packer-0.982>perl Makefile.pl Fetching
> 'PAR-Packer-0.982-MSWin32-x86-multi-thread-5.10.0.par' from
> www.cpan.org... Fetching failed: No compiler found, won't generate
> 'script/parl.exe'! Writing Makefile for PAR::Packer

this is not a bug per se but rather less than ideal reporting of missing
dependencies. Here's the deal:

Installing PAR::Packer from scratch requires a C compiler that's set up
to work with your Perl installation. Since not everybody has one set up
(check out strawberry perl, though), there are pre-compiled PAR::Packer
binaries in my CPAN directory. It turns out that there isn't one for
that version of PAR::Packer, that windows and that version of perl. I
thought I uploaded one, and behold, I did! But it has the wrong name.

Several ways forward:
- Wait for the corrected file to propagate to your CPAN mirror.
- Install Strawberry Perl and use its gcc.
- Install a C compiler for your perl.
- Download
http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/PAR-Packer-0.982-MSWin32-x86-multi-thread-5.10.0.par.bin
manually, rename it to ....par (remove the .bin), install the PAR::Dist
module, run this: perl -MPAR::Dist -e "install_par('PAR-Packer.....par')"

Best regards,
Steffen

Reply via email to