flamey has asked for the wisdom of the Perl Monks concerning the following question:

How can I get wxPerl to run with ActivePerl 5.10.0?

Here's what I've tried so far:

I have ActivePerl v5.10.0 installed.

(1) first I tried to install what I downloaded from wxperl.sourceforge.net, but that gave me "The PPD does not provide code to install for this platform".

(2) Then I found wxperl.co.uk, and installed wxPerl via PPM from http://www.wxperl.co.uk/repository

When I tried to run any of the wxPerl examples, or "perl -MWx", I got

--------------------------- perl.exe - Unable To Locate Component --------------------------- This application has failed to start because wxbase28u_gcc_wxperl.dll +was not found. Re-installing the application may fix this problem. --------------------------- OK ---------------------------

(3) Then I tried to modify PPD that came with original binaries from wxperl.sourceforge.net to say ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.10" not ..-5.8

That got something installed without errors, but "perl -MWx" gives me

--------------------------- perl.exe - Unable To Locate Component --------------------------- This application has failed to start because perl58.dll was not found. + Re-installing the application may fix this problem. --------------------------- OK ---------------------------

Replies are listed 'Best First'.
Re: wxPerl with ActiveState Perl? (err after install)
by ikegami (Patriarch) on Sep 23, 2009 at 16:33 UTC
    As it should. Telling ppm it's a 5.10 binary doesn't make it so.

      i know. but long time ago I had similar problem installing perlmagic. i did this it got installed, and i used it without any problems. that's why i tried it this time too.

      anyways, any solutions?

        Either find a PPM that works or compile it from scratch.

        Then again, I didn't have any luck compiling form scratch either. I didn't spend any time analysing the error.

        I wonder if Strawberry Perl would work better, given "gcc" in the dll name.

Re: wxPerl with ActiveState Perl? (err after install)
by biohisham (Priest) on Sep 23, 2009 at 18:50 UTC
    looks like it got installed for Perl 5.8 and not the version of Perl which you have, you really need to learn how to install from PPM since you got Active Perl installed. Here is a link that maybe useful, please read it with attention Unable to install Win32-GuiTest.ppd on Win XP.
    thank you


    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
Re: wxPerl with ActiveState Perl? (err after install)
by Anonymous Monk on Sep 24, 2009 at 02:31 UTC
    Here is how, but be prepared to wait an hour
    ppm install MinGW cpanp i Alien::wxWidgets cpanp i Wx

      MinGW got installed fine.

      But I can't get pass the Alien::wxWidgets

      C:\Users\username>cpanp i Alien::wxWidgets Set up gcc environment - 3.4.5 (mingw-vista special r3) [MSG] No 'C:\Users\username\AppData\Roaming\.cpanplus\custom-sources' +dir, skippin g custom sources [MSG] No 'C:\Users\username\AppData\Roaming\.cpanplus\custom-sources' +dir, skippin g custom sources [MSG] No 'C:\Users\username\AppData\Roaming\.cpanplus\custom-sources' +dir, skippin g custom sources Installing Alien::wxWidgets (0.44) Running [C:\Perl\bin\perl.exe C:\Perl\bin\cpanp-run-perl.bat C:\Users\ +username\App Data\Roaming\.cpanplus\5.10.0\build\Alien-wxWidgets-0.44\Makefile.PL ] +... # running Build.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) C:\Perl\bin\perl.exe Build.PL Subroutine version::qv redefined at inc/version.pm line 22. Creating custom builder _build\lib\My\Build\new_from_context_is_broken +.pm in _bu ild\lib\My\Build Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Alien-wxWidgets' version '0.44' Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) [ERROR] MAKE failed: [ERROR] Unable to create a new distribution object for 'Alien::wxWidge +ts' -- can not continue *** Install log written to: C:\Users\username\AppData\Roaming\.cpanplus\install-logs\Alien-wxWid +gets-0.44-12 54159985.log Error installing 'Alien::wxWidgets' Problem installing one or more modules

      The log says the same thing: Unable to create a new distribution object for 'Alien::wxWidgets' -- cannot continue

      I'm on Vista, but I ran cmd in "Run asAdministrator" mode.