http://www.perlmonks.org?node_id=814604


in reply to Installation instructions for Wx (wxWidgets fomerly wxWindows) using ActivePerl

I'm getting error while making Alien-wxWidgets:

C:\stager\Alien-wxWidgets-0.47>nmake Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe Build --makefile_env_macros 1 Subroutine version::qv redefined at inc/version.pm line 22. Building Alien-wxWidgets Configuration error: could not find libraries for configuration: '' '2 +8' at inc/ My/Build/Win32.pm line 77. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. C:\stager\Alien-wxWidgets-0.47>

Am I missing some Perl Modules? Or something didn't build right in the previous steps? (I wasn't watching each line, but I didn't see any errors with a quick overview after each step)

  • Comment on Re: Installation instructions for Wx (wxWdgets fomerly wxWindows) using ActivePerl
  • Download Code

Replies are listed 'Best First'.
Re^2: Installation instructions for Wx (wxWidgets fomerly wxWindows) using ActivePerl
by ikegami (Patriarch) on Dec 29, 2009 at 15:42 UTC

    Make sure that WXDIR and/or WXWIN were set correctly.

    If that's not it, then I don't know, and I don't feel like wrangling with that installer again.

Re^2: Installation instructions for Wx (wxWdgets fomerly wxWindows) using ActivePerl
by Anonymous Monk on Dec 28, 2009 at 20:14 UTC

      I doubt that it will help, but if you want to try 0.48, skip the following step of the OP:

      perl -i.bak -pe"s/config => \{ cc => \$cc, ld => \K(?=\$cc })/\$cc eq +'cl' ? 'link' : /" lib\Alien\wxWidgets\Utility.pm

      The only difference between 0.47 and 0.48 is a fix that addresses the same problem as the patch applied by that step.