Re: Cann't Perl Build with wxWidget 3.0.2
Steve Cookson <[email protected]> Thu, 16 Apr 2015 12:34:04 -0300
| Newsgroups | gmane.comp.lang.perl.wxperl |
|---|---|
| Message-ID | <[email protected]> |
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