Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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

Replies are listed 'Best First'.
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:


    OK (it printed hundreds of lines, so I'm not attaching it here, unless necessary); then it went ahead to: Building M/MD/MDOOTSON/Wx-0.9917.tar.gz

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

    ... cp lib/Wx/ blib\lib\Wx\ cp build/Wx/build/MakeMaker/ blib\lib\Wx\build\MakeMaker\ cp build/Wx/build/MakeMaker/ blib\lib\Wx\build\MakeMaker\Win32 cp blib\lib\ 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/ ..\..\blib\lib\Wx\ 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"


      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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://835663]
[Corion]: ... coworkers have. But I guess I've gone more mellow since I get to relax more, and such stuff doesn't make me as angry as it used to.
[Corion]: $boss will still get to listen to my interpretation :-D
[Eily]: hey, I'm just behind Larry in SioB \o/
[Corion]: Eily: Wheee ;)
[Eily]: I'll add that to my résumé

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-01-22 11:10 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.