Hi, OK, I just tried installing Alien::wxWidgets over ActivePerl 5.12.3 on a clean Windows XP SP2 virtual machine. The executable 'cc1.exe' is in C:\Perl\site\lib\auto\MinGW\libexec\gcc\mingw32\3.4.5. I added it to my PATH and tried it again. It croaked again since the include directory to wchar.h and other files are not set.
In my opinion, we should disable Alien::wxWidgets installation when ActivePerl is paired with mingw since it seems to *broken*. And the PPM package was last built on 2008 and is *not* available to ActivePerl 5.14.x. Thanks, Ahmad M. Zawawi ---> Modified environment C:\Documents and Settings\Administrator>set ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\Administrator\Application Data CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=AHMAD-CB33A5CB7 ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\Administrator LOGONSERVER=\\AHMAD-CB33A5CB7 NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst em32\Wbem;C:\Perl\site\lib\auto\MinGW\libexec\gcc\mingw32\3.4.5 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0f0b ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp USERDOMAIN=AHMAD-CB33A5CB7 USERNAME=Administrator USERPROFILE=C:\Documents and Settings\Administrator windir=C:\WINDOWS ---> Build log cpanm (App::cpanminus) 1.4007 on perl 5.012003 built for MSWin32-x86-multi-thread Work directory is /.cpanm/work/1308135300.652 You have make C:\Perl\site\bin\dmake.exe You have LWP 5.837 Falling back to Archive::Tar 1.76 Searching Alien::wxWidgets on cpanmetadb ... --> Working on Alien::wxWidgets Fetching http://search.cpan.org/CPAN/authors/id/M/MD/MDOOTSON/Alien-wxWidgets-0.52.tar.gz -> OK Unpacking Alien-wxWidgets-0.52.tar.gz Entering Alien-wxWidgets-0.52 Checking configure dependencies from META.yml Checking if you have Module::Build 0.28 ... Yes (0.3607) Configuring Alien-wxWidgets-0.52 Running Build.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Alien-wxWidgets' version '0.52' -> OK Checking dependencies from MYMETA.yml ... Checking if you have Module::Pluggable 2.6 ... Yes (3.9) Checking if you have File::Spec 1.50 ... Yes (3.33) Checking if you have Module::Build 0.28 ... Yes (0.3607) Checking if you have ExtUtils::CBuilder 0.24 ... Yes (0.280201) Building and testing Alien-wxWidgets-0.52 Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Could not find or check module 'IPC::Run' [THIS MAY BE A PROBLEM!] at C:/Perl/lib/IPC/Cmd.pm line 126 Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz Extracting wxWidgets... Error listing contents of archive 'C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\wxWidgets-2.8.12.tar.gz': at inc/My/Build/Base.pm line 322 Patching wxWidgets... Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.0-setup_u.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.0-setup_u.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file include/wx/msw/setup.h Hunk #6 succeeded at 1003 (offset 13 lines). Hunk #7 succeeded at 1064 (offset 13 lines). Hunk #8 succeeded at 1185 (offset 13 lines). Hunk #9 succeeded at 1233 (offset 13 lines). Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-config.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-config.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file build/msw/config.gcc Hunk #1 succeeded at 83 with fuzz 1 (offset 6 lines). Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.11-makefiles.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.11-makefiles.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file build/msw/makefile.gcc patching file contrib/build/stc/makefile.gcc Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-w64-mslu.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-w64-mslu.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file src/msw/mslu.cpp Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-w64-winhash.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.10-w64-winhash.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file src/msw/window.cpp Hunk #1 succeeded at 3434 (offset 3 lines). Hunk #2 succeeded at 3465 (offset 10 lines). patching file src/msw/app.cpp Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.12-w64.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.12-w64.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file src/aui/framemanager.cpp Hunk #1 succeeded at 974 (offset 1 line). patching file src/common/utilscmn.cpp patching file src/msw/dcprint.cpp patching file src/msw/window.cpp Hunk #2 succeeded at 3464 with fuzz 1 (offset 9 lines). patching file src/msw/toplevel.cpp patching file src/msw/menuitem.cpp patching file src/msw/mdi.cpp patching file src/msw/tooltip.cpp patching file src/msw/menu.cpp patching file src/msw/tbar95.cpp patching file src/msw/thread.cpp patching file src/msw/frame.cpp Hunk #2 succeeded at 1086 (offset 5 lines). patching file src/msw/pen.cpp patching file src/msw/helpwin.cpp patching file src/msw/printdlg.cpp patching file src/msw/textctrl.cpp patching file include/wx/defs.h Hunk #2 succeeded at 959 (offset 5 lines). Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.12-w64-stc.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.12-w64-stc.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file contrib/src/stc/scintilla/include/Scintilla.h Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.11-filefn.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxMSW-2.8.11-filefn.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file include/wx/filefn.h Applying patch: C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxWidgets-2.8.0-magic.patch perl -pe "" -- C:\.cpanm\work\1308135300.652\Alien-wxWidgets-0.52\patches\wxWidgets-2.8.0-magic.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak patching file src/generic/grid.cpp Hunk #1 succeeded at 8317 (offset 272 lines). if not exist gcc_mswudll mkdir gcc_mswudll if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll if not exist ..\..\lib\gcc_dll\mswu mkdir ..\..\lib\gcc_dll\mswu if not exist ..\..\lib\gcc_dll\mswu\wx mkdir ..\..\lib\gcc_dll\mswu\wx if not exist ..\..\lib\gcc_dll\mswu\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\gcc_dll\mswu\wx\setup.h 1 file(s) copied. if not exist ..\..\lib\gcc_dll\mswu\wx\msw mkdir ..\..\lib\gcc_dll\mswu\wx\msw gcc -E "..\..\include\wx\msw\genrcdefs.h" > "..\..\lib\gcc_dll\mswu\wx\msw\rcdefs.h" gcc -c -o gcc_mswudll\wxregex_regcomp.o -O2 -mthreads -DHAVE_W32API_H -I..\..\include -I..\..\lib\gcc_dll\mswu -D__WXMSW__ -D_UNICODE -MTgcc_mswudll\wxregex_regcomp.o -MFgcc_mswudll\wxregex_regcomp.o.d -MD -MP ../../src/regex/regcomp.c In file included from ../../src/regex/regguts.h:38, from ../../src/regex/regcomp.c:33: ../../src/regex/regcustom.h:32:19: stdio.h: No such file or directory ../../src/regex/regcustom.h:33:20: stdlib.h: No such file or directory ../../src/regex/regcustom.h:34:19: ctype.h: No such file or directory ../../src/regex/regcustom.h:35:20: limits.h: No such file or directory ../../src/regex/regcustom.h:36:20: string.h: No such file or directory In file included from ../../include/wx/platform.h:577, from ../../include/wx/defs.h:21, from ../../src/regex/regcustom.h:39, from ../../src/regex/regguts.h:38, from ../../src/regex/regcomp.c:33: ../../include/wx/msw/gccpriv.h:22:24: _mingw.h: No such file or directory ../../include/wx/msw/gccpriv.h:41:20: w32api.h: No such file or directory In file included from ../../include/wx/defs.h:521, from ../../src/regex/regcustom.h:39, from ../../src/regex/regguts.h:38, from ../../src/regex/regcomp.c:33: ../../include/wx/debug.h:18:21: assert.h: No such file or directory In file included from ../../include/wx/debug.h:22, from ../../include/wx/defs.h:521, from ../../src/regex/regcustom.h:39, from ../../src/regex/regguts.h:38, from ../../src/regex/regcomp.c:33: ../../include/wx/wxchar.h:60:20: stdarg.h: No such file or directory ../../include/wx/wxchar.h:101:27: wchar.h: No such file or directory In file included from ../../include/wx/debug.h:22, from ../../include/wx/defs.h:521, from ../../src/regex/regcustom.h:39, from ../../src/regex/regguts.h:38, from ../../src/regex/regcomp.c:33: ../../include/wx/wxchar.h:212: error: syntax error before "wxChar" ../../include/wx/wxchar.h:212: warning: data definition has no type or storage class .... .... .... mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1 system: mingw32-make -f makefile.gcc all UNICODE=1 MSLU=0 BUILD=release SHARED=1: 512 at inc/My/Build/Win32.pm line 269 -> FAIL Installing Alien::wxWidgets failed. See \.cpanm\build.log for details.