Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Installation instructions for Wx (wxWidgets fomerly wxWindows) using ActivePerl (update)

by ikegami (Pope)
on Apr 20, 2010 at 06:11 UTC ( #835663=note: print w/ replies, xml ) Need Help??


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

I got in touch with the maintainer of Wx after writing the OP. Save for the incompatibility with VS6, all the issues listed in the OP have been resolved.

I have just successfully installed Wx using the following procedure:

  1. Download "Visual C++ 2008 Express edition".
  2. Install it under C:\Progs (Or wherever you want. This is where I installed it.)
  3. "C:\Progs\Microsoft Visual Studio 9.0\VC\vcvarsall"
  4. cpan Alien::wxWidgets (You can surely skip this step as it should be done by the next.)
  5. cpan Wx
  6. cpan Wx::Demo (optional)

My Perl:

  • ActivePerl 5.12.0 build 1200

My build environment:

The versions installed:


Comment on Re: Installation instructions for Wx (wxWidgets fomerly wxWindows) using ActivePerl (update)
Select or Download Code
Re^2: Installation instructions for Wx (wxWidgets fomerly wxWindows) using ActivePerl (update)
by HelenCr (Monk) on Mar 04, 2013 at 13:39 UTC

    ikegami: I am trying to install WxPerl, according to your instructions. I have Strawberry Perl 5.14.2 running on Windows 7.

    I tried to install VC++ 2008, but it's not available, so I installed VC++ 2010 (I don't think it should be a problem (?)).

    Then I went:

    cpan Wx

    It seems to have installed:

    SMUELLER/ExtUtils-ParseXS-3.18.tar.gz

    OK (it printed hundreds of lines, so I'm not attaching it here, unless necessary); then it went ahead to:

     CPAN.pm: Building M/MD/MDOOTSON/Wx-0.9917.tar.gz

    and after many lines looking ok, eventually issued the following error:

    ... cp lib/Wx/Menu.pm blib\lib\Wx\Menu.pm cp build/Wx/build/MakeMaker/Win32_MSVC.pm blib\lib\Wx\build\MakeMaker\ +Win32_MSVC.pm cp build/Wx/build/MakeMaker/Win32.pm blib\lib\Wx\build\MakeMaker\Win32 +.pm cp Wx.pm blib\lib\Wx.pm D:\MyPrograms\Technical\Perl\Dwimperl\perl\bin\perl.exe script/wxperl_ +overload cpp\ovl_const.cpp cpp\ovl_const.h overload.lst Writing 'cpp\ovl_const.h'. Writing 'cpp\ovl_const.cpp'. D:\MyPrograms\Technical\Perl\Dwimperl\perl\bin\perl.exe -MExtUtils::Co +mmand -e touch -- wxt_overload cp lib/Wx/PerlTest.pm ..\..\blib\lib\Wx\PerlTest.pm dmake: Error: -- `D:\MyPrograms\Technical\Perl\Dwimperl\perl\lib\ExtU +tils\xsubpp' not found, and can't be made dmake: Error code 255, while making 'subdirs' dmake.EXE: Error code 255, while making 'subdirs' MDOOTSON/Wx-0.9917.tar.gz D:\MyPrograms\Technical\Perl\Dwimperl\c\bin\dmake.EXE -- NOT OK Running make install Make had returned bad status, install seems impossible

    What to do?

    Many TIA - Helen

      Strawberry already has a C compiler, so I'm not sure you needed to install another one.

      "dmake: Error: -- `D:\MyPrograms\Technical\Perl\Dwimperl\perl\lib\ExtUtils\xsubpp' not found, and can't be made"

      Try:

      cpan ExtUtils::ParseXS

      Update: If you're actually using DWIM perl it claims to ship with Wx already installed: README.

        marto: thank you. Indeed, I ran this test program:

        use strict; use warnings; use 5.014; use DBI; use Encode; use Wx; say 'Testing Wx'; 1;

        and it didn't issue errors. I'll start using Wx and report if I encounter problems.

        Many thanks - Helen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://835663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2015-07-05 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls