RE: Cann't Perl Build with wxWidget 3.0.2

[email protected] (RAPPAZ Francois)
Newsgroups perl.wxperl.users
Message-ID <[email protected]>
Hi Steve

Glad to see there's someone out there ...

I delete the Wx-0.997-xxx folders in my ..\cpan\build
From the cpan shell, I rerun "install Wx" and the build succeed.

Strangely the touch command (perl.exe -MExtUtils::Command -e touch -- wxt_copy_files) passed since I now have this file in my build/Wx ... folder.


Now the tests fail: when a widget is called: I got a "perl has stopped working" from windows, even if I see the widgets on the screen.
I could try a force install but I will probably have the same problems...

When I tried to run the minimal.exe file I had made directly (without Alien::Wx) the widget appears without errors.

Any idea ?
Is there a way I could successfully install Wx::Alien and telling him : use my "standalone" setup of wxWidgets, don't build your own ?

TIA
François

> -----Original Message-----
> From: Steve Cookson [mailto:[email protected]]
> Sent: jeudi, 16. avril 2015 17:34
> To: RAPPAZ Francois; [email protected]
> Subject: Re: Cann't Perl Build with wxWidget 3.0.2
> 
> Hi Francois,
> 
> I'm sorry your having such difficulties.  I'm watching your progress
> with interest.  Unfortunately I only use Linux, so I can't see what
> your seeing.
> 
> Have you tried 3.0.1?  Did that work? Maybe it could help you with this
> problem.  Apparently the API is exactly the same.
> 
> When we moved from 3.0.0 to 3.0.1 and the 3.0.1 code hadn't been
> released, I just copied the code I needed from 3.0.1 to 3.0.0 and
> recompiled Widgets.  Amazingly it worked!
> 
> Good luck and please keep posting your stuff here even if we can't
> always be of much help.  It will be useful later.
> 
> Regards,
> 
> Steve.
> 
> On 16/04/15 11:22, RAPPAZ Francois wrote:
> > I removed the WXDIR and WXWIN environment variables, rerun the build
> process in Alien::WxW with downloading again WxW 3.0.2 and the set up
> succeed.
> >
> > I'm now stuck with an error when I try to install Wx:
> >
> > The commands
> > perl Makefile.pl
> > gmake
> >
> > fails.
> >
> > complete output here :
> >
> > C:\strawberry\cpan\build\Wx-0.9927-sPcmb6>perl Makefile.PL 'WX' is
> not
> > a known MakeMaker parameter name.
> > Writing Makefile for Wx::PerlTest
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::RichText
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Print
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::DateTime
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Html
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Media
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Help
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::XRC
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::DataView
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Grid
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::STC
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::AUI
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::IPC
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Socket
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::DND
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Calendar
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::WebView
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::PropertyGrid
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::MDI
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::DocView
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::FS
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Ribbon
> > Writing MYMETA.yml and MYMETA.json
> > Writing Makefile for Wx::Perl::SplashFast Writing MYMETA.yml and
> > MYMETA.json Writing Makefile for Wx::Perl::Carp Writing MYMETA.yml
> and
> > MYMETA.json Writing Makefile for Wx::Perl::TextValidator Writing
> > MYMETA.yml and MYMETA.json Writing Makefile for Wx::Perl Writing
> > MYMETA.yml and MYMETA.json Writing Makefile for Wx Writing MYMETA.yml
> > and MYMETA.json Writing Makefile for Wx Writing MYMETA.yml and
> > MYMETA.json
> >
> >
> ======================================================================
> > For installation instructions and further help please see
> > docs/INSTALL.pod
> >
> > For command line switches help use:
> > perl Makefile.PL --help
> >
> ======================================================================
> >
> > C:\strawberry\cpan\build\Wx-0.9927-sPcmb6>gmake
> > C:\strawberry\perl\bin\perl.exe script/make_v_cback.pl >
> > cpp/v_cback_def.h C:\strawberry\perl\bin\perl.exe
> script/copy_files.pl
> > files.lst cp cpp/overload.h blib\lib\Wx\cpp\overload.h cp cpp/wxapi.h
> > blib\lib\Wx\cpp\wxapi.h cp cpp/constants.h
> blib\lib\Wx\cpp\constants.h
> > cp cpp/helpers.h blib\lib\Wx\cpp\helpers.h cp cpp/setup.h
> > blib\lib\Wx\cpp\setup.h cp cpp/v_cback_def.h
> > blib\lib\Wx\cpp\v_cback_def.h cp cpp/streams.h
> > blib\lib\Wx\cpp\streams.h cp cpp/chkconfig.h
> > blib\lib\Wx\cpp\chkconfig.h cp cpp/compat.h blib\lib\Wx\cpp\compat.h
> > cp Opt blib\arch\Wx\build\Opt.pm cp cpp/v_cback.h
> > blib\lib\Wx\cpp\v_cback.h cp cpp/event.h blib\lib\Wx\cpp\event.h cp
> > typemap blib\lib\Wx\typemap cp cpp/e_cback.h
> blib\lib\Wx\cpp\e_cback.h
> > C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e touch --
> > wxt_copy_files to undefined at
> > C:/strawberry/perl/lib/ExtUtils/Install.pm line 1208
> > gmake: *** [pm_to_blib] Error 2
> >
> > Thanks for any help
> >
> > François
> >
> >> -----Original Message-----
> >> From: RAPPAZ Francois [mailto:[email protected]]
> >> Sent: mercredi, 15. avril 2015 14:30
> >> To: [email protected]
> >> Subject: RE: Cann't Perl Build with wxWidget 3.0.2
> >>
> >> I succeed in having wxWidgets builded and compiled:
> >>
> >>  From the install.txt in the ...\wxWidgets-3.0.2\docs\msw I add to
> >> change a few things:
> >>
> >> - Call gmake instead of mingw32-make
> >> - install the headers files for gdiplus: following
> >> http://www.miscdebris.net/blog/2009/09/17/adding-gdi-headers-to-
> mingw
> >> - to-compile-wxwidgets-with-wxgraphicscontext-support/
> >> - change the calls in two files following:
> >> https://code.google.com/p/wxmax/issues/detail?id=25
> >>
> >> Now I see that the build.cfg file is in ...\wxWidgets-
> >> 3.0.2\lib\gcc_dll\mswud Not in ...\wxWidgets-3.0.2\lib\gcc_dll where
> >> it is searched by the build process of Alien::WxWidgets
> >>
> >> How can I pass the corrected path ?
> >>
> >> Thanks
> >>
> >>
> >> François
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.