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:francois.rap...@unifr.ch]
> Sent: mercredi, 15. avril 2015 14:30
> To: wxperl-users@perl.org
> 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

Reply via email to