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

I am using ActivePerl 5.8.8 build 820 (unicode).

I finally got brave and decided to install a real package (WxPerl), and not just to use the ppm (perl package manager) provided by ActiveState.

UPDATE: I didn't have time to pursue the installation, but you can get ppm's of recent builds from http://www.wxperl.co.uk/wxppm/.

I have Visual Studio 2003 I downloaded WxWidgets 2.8.4, and then WxPerl 0.75. I compiled WxWidgets without any problems as per instructions. Then the instructions said to

# build wxPerl set WXDIR=z:\path\to\wx set WXWIN=z:\path\to\wx perl Makefile.PL nmake nmake test nmake install
I set both paths, but the "perl Makefile.PL" command said:
====== brief error message here ====== ... Looks good Warning: prerequisite Alien::wxWidgets 0.25 not found. 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Wx::Socket . . . Writing Makefile for Wx::Perl Writing Makefile for Wx Can't locate object method "wx_base_directory" via package "Alien::wxW +idgets" at C:/Soft/Programming/Wx-0.75/Wx-0.75/build/Wx/build/MakeMaker/Win32.pm + line 56. # Looks like your test died before it could output anything. ====== end of error message ======
So then I thought perhaps I need to download and install Alien::WxWidgets (version 0.31). It seems unreasonable, because if it was needed, it would have been included in the WxPerl download, but what the heck. I did the download, but this also did not install, with the following message
===== start of error message from Alien ====== Base class package "Module::Build" is empty. (Perhaps you need to 'use' the module which defines that package f +irst.) at inc/My/Build.pm line 4 BEGIN failed--compilation aborted at inc/My/Build.pm line 4. Compilation failed in require at Build.PL line 7. BEGIN failed--compilation aborted at Build.PL line 7. ====== end of error message ======

Now I am stumped, and am about to go back to version 0.25 of wxPerl rather than 0.75, But I am still hoping someone has a clue here...

Thanks

Replies are listed 'Best First'.
Re: Error installing WxPerl on ActiveState with Visual C++ 2003
by syphilis (Archbishop) on Jul 23, 2007 at 01:10 UTC
    Warning: prerequisite Alien::wxWidgets 0.25 not found.

    Yes, whatever it was that produced that warning depends upon Alien::wxWidgets - so it would be a good idea to install Alien::wxWidgets first.

    The problem with the Alien::wxWidgets build is a bit hard to decipher. I have minimal experience with both Module::Build and Module::Install (and hope to keep it that way). What does line 4 of inc/My/Build.pm say ?

    It looks to me that something buggy is going on. If you can't get a quick reolution here you might be better off asking on a wxPerl forum (assuming such a place exists), where the issue might already be known.

    Cheers,
    Rob
Re: Error installing WxPerl on ActiveState with Visual C++ 2003
by Anonymous Monk on Jul 23, 2007 at 07:42 UTC
    You need to fire up cpan and install every prerequisite