Jacky Jack wrote:
Hi

I try to compile wxperl on Perl 5. 10 (of both ActivePerl and StrawberryPerl)
None of them work.

Extensive googling show me:
http://www.wxperl.co.uk/repository/

and http://www.wxperl.co.uk/Wx-510.zip

They too don't work.

How can I make it for coping with 5.10 and for Windows platform.

We have to switch to old-school Tk.


Hi,

I was surprised to hear this because installing Wx on ActivePerl has become very easy ever since Mark Dootson set up his wxPerl repo on wxperl.co.uk. Especially since ActiveState included it as an option in PPM. I haven't used Windows for a while but decided to fire up a clean VM and do some tests.

I Installed the latest ActivePerl: ActivePerl-5.10.1.1006-MSWin32-x86-291086.msi

Then, in the graphical interface of the PPM I added the wxperl repo:
'Edit' -> 'Preferences' -> 'Repositories' (tab):
Select "wxperl :: wxPerl modules" from the "Suggested" list and "Add" it.

Usually I just search for "Wx" and install it. At this moment the latest
version is 0.89.1
When you install this it will also install "Alien-wxWidgets" (which contains the actual wxWidgets dll's) and that's where the problem lies. It will install Alien-wxWidgets 0.44 which is the latest but for some reason that does not work with Wx 0.89.1, it will throw an error on not being able to find "wxbase28u_gcc_wxperl.dll" (Mattia? Mark? care to investigate this?)

Now the solution is simple: Remove Alien-wxWidgets 0.44 and install 0.39. This will give you a working wxPerl system based on wxWidgets version 2.8.9. Not bleeding edge, but very recent at least.

[Tip: also install Wx::Demo which can be run from c:\Perl\site\bin\wxperl_demo.pl]

I hope this helps.
Cheers,
Huub

Ps: I'll also look into compiling the whole lot by hand, it's been a while but I remember that once some small hurdles were taken it was very easy in the end.

Reply via email to