[rt.cpan.org #114316] PAR::Packer not installing

[email protected] ("Roderich Schupp via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Fri May 13 04:36:52 2016: Request 114316 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR
     Subject: PAR::Packer not installing
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=114316 >


On 2016-05-12 15:28:39, [email protected] wrote:
> I re-installed perl v5.24.0, this time I installed  versions of
> Getopt::ArgvFile(v 1.07, not latest, because this version was
> mentioned as pre-requisite) and Module::ScanDeps (latest version as

Why did you do this, the version of Getopt::ArgvFile has obviously nothing to do
with your problem. Randomly installing and de-installing stuff won't help
either...

> ...
> C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-min
> gw32/bin/ld.exe: i386 architecture of input file `ppresource.coff' is
> incompatible with i386:x86-64 output

You have a broken setup: this ld.exe is NOT from the Strawberry installation
(which has everything under C:\Strawberry). It's a 64bit linker, but your
Strawberry installation is 32bit, this won't work (most likely gcc.exe and
g++.exe invoked earlier in the build where 64bit non-Strawberry programs, too).

Check the PATH in the shell where you try to build PAR::Packer:
it should contain only Windows system directories and stuff below C:\Strawberry.

This should get you past "dmake". Then "dmake test" will probably fail with

dmake: Error: -- Don't know how to make `test_dynamic' 
dmake.exe: Error code 255, while making 'subdirs-test_dynamic'

Known problem, see ticket 114229 for a temporary fix.

I'm closing this ticket.

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.