> Apologies if this isn't the right place to ask, but I couldn't find anything
> in Google or in the mailing list archives....
It's the right place.
> I'm trying to start using wxWindows via wxPerl. I'm running with
> ActiveState perl on Win NT4, service pack 6. I'm also running under Cygwin,
> which has a perl installed (from binaries), but I try to set up my path,
> etc., so that I pick up the ActiveState version.
>
> I downloaded wxMSW-2.2.7-setup.zip and installed it okay (I was able to run
> the 'Life' game).
You don't need it unless you are compiling wxPerl from sources.
> I then went to get Wx-0.08-wxmsw2.2.8-win32.zip. When trying to install it
> ppm ran into trouble. It looks like it was caused by 'archname'.
> perl -V reports MSWin32-x86-object, while the Wx.ppd file contained:
>
> <IMPLEMENTATION>
> <OS NAME="MSWin32" />
> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
> <CODEBASE HREF="wxPerl-0.08-wx-2.2.8-win32.tar.gz" />
> </IMPLEMENTATION>
>
> Well, I 'fixed' the ppd and installed it anyways, and, surprise surprise, it
> doesn't run.
You are using one of the 5xx ActiveState builds
( based on perl 5.005 ), while the ppm was compiled against
perl 5.6.1 ( 6xx builds )
> So do I need a multi-threadable Perl? Does ActiveState produce one? Do I
If they support NT ( and they probably do ), just installing a newer
perl should suffice
> have to bite the bullet and start compiling my own Perl? I'd really rather
> not, as
>
> - VC++ = $$$$$$
> - mingw = pain
No, really not much pain ( but more than using a precompiled version,
of course... )
> - I like to give people (most of whom are running in Windows boxes) my cool
> Perl apps/scripts, and it's work enough to get people to install
> ActiveState, much less my own compiled version.
>
> If it matters, after I 'installed' wxPerl, I tried running
>
> #!/usr/bin/perl -w
> use Wx;
>
> which produced a pop-up window saying "Unable to locate wx22_8.dll in
> .......", although it was in d:\perl\site\lib\auto\Wx. I hacked that into my
> %PATH%, and then got a pop-up with "Unable to locate perl56.dll in .....".
>
> The window where I start the script says:
>
> Can't load 'd:/perl/site/lib/auto/Wx/Wx.dll' for module Wx: load_file:The
> specified module could not be found
> at d:/perl/lib/DynaLoader.pm line 169.
>
> at ./zz line 4
> BEGIN failed--compilation aborted at ./zz line 4.
> Deep recursion on subroutine "Wx::AUTOLOAD" at d:/perl/site/lib/Wx.pm line
> 47.
HTH
Mattia
|