Dear esteemed PerlMonks

I am trying to install (building first) Alien::wxWidgets with wxWidgets 2.9.4.

Build is failing - I'll be thankful to you for your help and advice.

Update 1: I've made a little progress, but then hit errors again; please see this post below in this thread: Re^2:Tiny, temporary progress, then an error again

Update 2: Problem in "Update 1" above, apparently fixed; there was a wrong setup.h file in the main wx directory. I took that file away, and then gmake charged on for about 25 minutes, doing compiling and linking. Then it broke, saying:

Creating library file: ..\..\lib\gcc_dll\libwxmsw29u_gl.a if not exist ..\..\lib\gcc_dll\mswu\wx mkdir ..\..\lib\gcc_dll\mswu\wx Unable to find setup.h directory at inc/My/Build/Win32.pm line 117.

The source of My::Build::Win32.pm can be found here: http://cpansearch.perl.org/src/MBARBON/Alien-wxWidgets-0.51/inc/My/Build/Win32.pm

Update 3: (5 14 2013): Working around several hitches, I've succeeded in building and installing Alien::wxWidgets: see below here: Re^2: Moderate success - and some questions

Update 4: (5 18 2013): I gave up on the struggle to fix wxWidgets 2.9.4 on Strawberry Perl (I've implemented all the expert advice and it didn't help the wxbase294u_gcc_custom.dll perl.exe crash; so I've installed Citrus Perl).
There, there are some problems installing some necessary additional modules - I'll be thankful to you if you could have a look at it: Citrus Perl: problems trying to load additional modules

I'm now running Strawberry Perl 5.16.3 on Windows 7.

(continuation of original post - disregard - not up-to-date):
____________________________________
Here is the log*:

C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets-0.64>Build Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets- +2.9.4.tar.bz2 Extracting wxWidgets... Patching wxWidgets... Applying patch: C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxMSW-2.9.4-makefiles.patch perl -pe "" -- "C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxMSW-2.9.4-makefiles.patch " | "..\inc\bin\patch.exe" -N -p0 -u -b -z .bak patching file build/msw/makefile.gcc Applying patch: C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxMSW-2.9.4-setup.patch perl -pe "" -- "C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxMSW-2.9.4-setup.patch" |"..\inc\bin\patch.exe" -N -p0 +-u -b -z .bak patching file include/wx/msw/setup.h Applying patch: C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxWidgets-2.9.0-magic.patch perl -pe "" -- "C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxWidgets-2.9.0-magic.patch" | "..\inc\bin\patch.exe" -N + -p0 -u -b -z .bak patching file src/generic/grid.cpp Hunk #1 succeeded at 6082 (offset 485 lines). Applying patch: C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxWidgets-2.9.4-plugin.patch perl -pe "" -- "C:\Users\Helen\.cpanplus\5.14.2\build\Alien-wxWidgets- +0.64\patches\wxWidgets-2.9.4-plugin.patch" | "..\inc\bin\patch.exe" - +N -p0 -u -b -z .bak patching file src/common/dynload.cpp if not exist gcc_mswudll mkdir gcc_mswudll process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir +gcc_mswudll", ...) failed. make (e=2): The system cannot find the file specified. gmake: [gcc_mswudll] Error 2 (ignored) if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_dll +mkdir ..\..\lib\gcc_dll", ...) failed. make (e=2): The system cannot find the file specified. gmake: *** [..\..\lib\gcc_dll] Error 2 system: gmake -f makefile.gcc all UNICODE=1 MSLU=0 BUILD=release SHAR +ED=1 DEBUG_INFO=default DEBUG_FLAG=1 LDFLAGS=" -m32" CPPFLAGS="-m32" +: 512 at inc/My/Build/Win32.pm line 274
I am running DWIM Perl 5.14.2 on Windows 7.

What to do?

Many TIA - Helen

______________________________________________________
* this is in continuation to node: perlmonks.org/?node_id=1031454


In reply to Build of Alien::wxWidgets failing: help by HelenCr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.