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


in reply to Build of Alien::wxWidgets failing: help

Take a look at http://forums.wxwidgets.org/viewtopic.php?p=121351

James

There's never enough time to do it right, but always enough time to do it over...

  • Comment on Re: Build of Alien::wxWidgets failing: help

Replies are listed 'Best First'.
Re^2: Build of Alien::wxWidgets failing: help
by Anonymous Monk on May 07, 2013 at 03:05 UTC
Is the situation calling for an update to the Perl version?
by HelenCr (Monk) on May 07, 2013 at 19:19 UTC
    Thank you, James and AM.

    Now James: studying your link, the solution over there instructs one to make sure that setup.h from wxWidgets-2.9.4_Headers exists in

    WxWidgets\include\msvc\wx.
    In my case, setup.h is there, so this apparently is not the problem.

    AM: studying the bug reports you quote, they discuss mingw32-make.exe. My DWIM Perl installation (v 5.14.2) does not contain mingw32-make.exe. And indeed the error messages do not mention mingw32-make.exe. Instead, the relevant error messages are, in my opinion:

    ... ... make (e=2): The system cannot find the file specified. gmake: [gcc_mswudll] Error 2 (ignored) ... make (e=2): The system cannot find the file specified. gmake: *** [..\..\lib\gcc_dll] Error 2

    So it seems that it's looking for the files: gcc_mswudll and gcc_dll (or gcc_mswu.dll and gcc.dll?), which don't exist at my installation.

    Now I happened to hit this on the NET:
    www.nntp.perl.org/group/perl.wxperl.users/2013/02/msg8839.html , where Mark Dootson says:

    5.14.2.1 (November 2011) as included with DWIM Perl contains a gcc tool chain that is not compatible with Wx / wxWidgets 2.9.x builds
    So is the situation calling for an update to the Perl version? (to Strawberry Perl 5.16.x)?

    Many thanks for your dedication; and TIA - Helen

      That or try to install CitrusPerl, that we know works.

      James

      There's never enough time to do it right, but always enough time to do it over...

        Update: See Update 2 in OP above: Build of Alien::wxWidgets failing: help


        Following extensive Googling, one of the pieces of advice I've noticed, was to clean the PATH environment variable, and leave there only the Strawberry Perl (and Windows) lib and bin directories.
        I've tried that, and then Build made it past the errors reported before, but then gmake failed again, (apparently complaining that the installation is suitable for MS VC++ ?).

        Here is the output, I'll be thankful to you if you could offer advice.

        Many TIA - Helen

        That or try to install CitrusPerl, that we know works.

        Or ppm

      AM: studying the bug reports you quote, they discuss mingw32-make.exe. My DWIM Perl installation (v 5.14.2) does not contain mingw32-make.exe. And indeed the error messages do not mention mingw32-make.exe. Instead, the relevant error messages are, in my opinion:

      Do you have a make.exe and a sh.exe in your %PATH%?

      I get that error message when I have those two files in path.

      I remove those two files from path, and it builds without problems

      This is a bug in wxWidgets makefile/bakefile...

        This advice fixed a problem that I would have never have been able to found on my own. I had a QNX development system set up on my machine with sh.exe and make.exe. Once the path was removed, I could proceed. Thank you.