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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.