Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Installation of Win32::GUI fails using cpanp under CitrusPerl environment?

by HelenCr (Monk)
on Jun 28, 2013 at 07:06 UTC ( #1041158=perlquestion: print w/ replies, xml ) Need Help??
HelenCr has asked for the wisdom of the Perl Monks concerning the following question:

Dear esteemed PerlMonks

Several months ago, I have been working on a program, using Win32::GUI under StrawberryPerl. It worked fine.

Later, I have installed CitrusPerl since I needed to work with wxPerl/wxWidgets.

Now, I need to continue working on the former original program, and it requires Win::GUI. Trying to install Win32::GUI, it fails with this huge deluge of messages: (there might be a simple reason?)

Your help will be greatly appreciated

Many TIA

Helen

CPAN Terminal> i Win32::GUI Installing Win32::GUI (1.06) Running [F:\Win7programs\Citrus\perl\bin\perl.exe -e use strict; BEGIN + { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV +); my $rv = do($0); die $@ if $@; } C:\Users\MyUser\.cpanplus\5.16.3\ +build\Win32-GUI-1.06\Makefile.PL]... BUILDENV=mingw Used build environment is: MSWin32 and MinGW NOTE: Makefile.PL will add the instruction to use the Resource Compile +r to your Makefile; if you don't want to compile resources with your +extension, call this script with this additional argument: perl Makef +ile.PL USERESOURCE=0 Checking if your kit is complete... Looks good Win32::GUI::AxWindow can only be built using MSVC, not 'gcc', as it de +pends on the Microsoft Active Template Library (ATL). Win32::GUI::AxWindow will be skipped during the current build process. Writing Makefile for Win32::GUI::BitmapInline Writing MYMETA.yml and MYMETA.json Writing Makefile for Win32::GUI::Constants - perfect.exe Writing Makefile for Win32::GUI::Constants Writing MYMETA.yml and MYMETA.json At this time Win32::GUI::DIBitmap cannot be build using gcc. Win32::GU +I::DIBitmap will be skipped during the current build process. Writing Makefile for Win32::GUI::DropFiles Writing MYMETA.yml and MYMETA.json Win32::GUI::Grid can only be built using MSVC, not 'gcc', as it requir +es the MFC framework. Win32::GUI::Grid will be skipped during the cur +rent build process. Writing Makefile for Win32::GUI::ReleaseNotes Writing MYMETA.yml and MYMETA.json Writing Makefile for Win32::GUI::Scintilla Writing MYMETA.yml and MYMETA.json Writing Makefile for Win32::GUI Writing MYMETA.yml and MYMETA.json [ERROR] MAKE failed: cp GridLayout.pm blib\lib\Win32/GUI/GridLayout.p +m cp GUI.pm blib\lib\Win32/GUI.pm cp BitmapInline.pm ..\blib\lib\Win32\GUI\BitmapInline.pm cp Tags.pm ..\blib\lib\Win32\GUI/Constants/Tags.pm AutoSplitting ..\blib\lib\Win32\GUI/Constants/Tags.pm (..\blib\lib\aut +o\Win32\GUI\Constants\Tags) cp Constants.pm ..\blib\lib\Win32\GUI/Constants.pm gcc -O -fno-builtin-log2 -c lookupa.c gcc -O -fno-builtin-log2 -c recycle.c recycle.c: In function 'refree': recycle.c:42:7: warning: incompatible implicit declaration of built-in + function 'free' [enabled by default] ... recycle.c: In function 'renewx': recycle.c:58:13: warning: incompatible implicit declaration of built-i +n function 'memset' [enabled by default] recycle.c: In function 'remalloc': recycle.c:78:21: warning: incompatible implicit declaration of built-i +n function 'malloc' [enabled by default] ... gcc -O -fno-builtin-log2 -c perfhex.c perfhex.c: In function 'hextwo': perfhex.c:63:5: warning: incompatible implicit declaration of built-in + function 'exit' [enabled by default] ... many similar messages for other functions gcc -o perfect.exe lookupa.o recycle.o perfhex.o perfect.o F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" Constants.PL constants.h F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" Constants.PL constants.src hash\perfect.exe < constants.src Read in 2031 keys. found distinct (A,B) on attempt 143. built perfect +hash table of size 512 Wrote phash.def; Cleaned up F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" Constants.PL phash.inc F:\Win7programs\Citrus\perl\bin\perl.exe F:\Win7programs\Citrus\perl\l +ib\ExtUtils\xsubpp -typemap F:\Win7programs\Citrus\perl\lib\ExtUtils\ +typemap Constants.xs > Constants.xsc && F:\Win7programs\Citrus\perl\ +bin\perl.exe -MExtUtils::Command -e mv -- Constants.xsc Constants.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_RELOCATABLE_INCPUSH -DPER +L_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL +_IMPLICIT_SYS -fno-strict -aliasing -mms-bitfields -s -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I F:\Win7programs\Citrus\perl\lib\CORE" Con +stants.c F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" ConstantsRC.PL Constants.rc windres -O coff -o Constants.res Constants.rc Running Mkbootstrap for Win32::GUI::Constants () F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 644 Constants.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32::GUI::Constants\", 'DLBASE' => 'Co +nstants', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'D +L_VARS' => []);" dlltool --def Constants.def --output-exp dll.exp g++ -o ..\blib\arch\auto\Win32\GUI\Constants\Constants.dll -Wl,--base- +file -Wl,dll.base -m dll -s -L"F:\Win7programs\Citrus\perl\lib\CORE" +-L"F:\Win7programs\mingw64\x86_64-w64-mingw32\lib" Constants.o Consta +nts.res F:\Win7programs\Citrus\perl\lib\CORE\libperl516.a -lm oldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 - +lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm +-lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp dlltool --def Constants.def --base-file dll.base --output-exp dll.exp g++ -o ..\blib\arch\auto\Win32\GUI\Constants\Constants.dll -mdll -s -L +"F:\Win7programs\Citrus\perl\lib\CORE" -L"F:\Win7programs\mingw64\x86 +_64-w64-mingw32\lib" Constants.o Constants.res F:\Win7programs\Citrus\perl\lib\CORE\libperl516.a -lmoldname -lkernel3 +2 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 + -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc +32 -lodbccp32 -lcomctl32 dll.exp F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 755 ..\blib\arch\auto\Win32\GUI\Constants\Constants.dll F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e cp -- +Constants.bs ..\blib\arch\auto\Win32\GUI\Constants\Constants.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 644 ..\blib\arch\auto\Win32\GUI\Constants\Constants.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e cp -- +demos\ConstantsDemo.pl ..\blib\lib/Win32/GUI/demos/Constants F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" Constants.PL t/70_values.def cp DropFiles.pm ..\blib\lib\Win32\GUI\DropFiles.pm F:\Win7programs\Citrus\perl\bin\perl.exe F:\Win7programs\Citrus\perl\lib\ExtUtils\xsubpp -typemap F:\Win7progra +ms\Citrus\perl\lib\ExtUtils\typemap -typemap typemap DropFiles.xs > +DropFiles.xsc && F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils: +:Command -e mv -- DropFiles.xsc DropFiles.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_RELOCATABLE_INCPUSH -DPER +L_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL +_IMPLICIT_SYS -fno-strict -aliasing -mms-bitfields -s -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-I F:\Win7programs\Citru +s\perl\lib\CORE" DropFiles.c F:\Win7programs\Citrus\perl\bin\perl.exe "-I..\blib\arch" "-I..\blib\l +ib" DropFilesRC.PL DropFiles.rc windres -O coff -o DropFiles.res DropFiles.rc Running Mkbootstrap for Win32::GUI::DropFiles () F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 644 DropFiles.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32::GUI::DropFiles\", 'DLBASE' => 'Dr +opFiles', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'D +L_VARS' => []);" dlltool --def DropFiles.def --output-exp dll.exp g++ -o ..\blib\arch\auto\Win32\GUI\DropFiles\DropFiles.dll -Wl,--base- +file -Wl,dll.base -m dll -s -L"F:\Win7programs\Citrus\perl\lib\CORE" +-L"F:\Win7programs\mingw64\x86_64-w64-mingw32\lib" DropFiles.o DropFi +les.res F:\Win7programs\Citrus\perl\lib\CORE\libperl516.a -lm oldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 - +lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm +-lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp dlltool --def DropFiles.def --base-file dll.base --output-exp dll.exp g++ -o ..\blib\arch\auto\Win32\GUI\DropFiles\DropFiles.dll -mdll -s -L +"F:\Win7programs\Citrus\perl\lib\CORE" -L"F:\Win7programs\mingw64\x86 +_64-w64-mingw32\lib" DropFiles.o DropFile s.res F:\Win7programs\Citrus\perl\lib\CORE\libperl516.a -lmoldname - +lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 + -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversio +n -lodbc32 -lodbccp32 -lcomctl32 dll.exp F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 755 ..\blib\arch\auto\Win32\GUI\DropFiles\DropFiles.dll F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e cp -- +DropFiles.bs ..\blib\arch\auto\Win32\GUI\DropFiles\DropFiles.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e chmod +-- 644 ..\blib\arch\auto\Win32\GUI\DropFiles\DropFiles.bs F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils::Command -e cp -- +demos\DropFilesDemo.pl ..\blib\lib/Win32/GUI/demos/DropFiles cp RN_0_0_502.pod ..\blib\lib\Win32\GUI/ReleaseNotes/RN_0_0_502.pod ... etc ... cp Scintilla.pod ..\blib\lib\Win32\GUI/Scintilla.pod cp Include/SciLexer.dll ..\blib\arch\auto\Win32\GUI\Scintilla/SciLexer +.dll cp Perl.pm ..\blib\lib\Win32\GUI/Scintilla/Perl.pm F:\Win7programs\Citrus\perl\bin\perl.exe F:\Win7programs\Citrus\perl\l +ib\ExtUtils\xsubpp -typemap F:\Win7programs\Citrus\perl\lib\ExtUtils\typemap -typemap typ +emap Scintilla.xs > Scintilla.xsc && F:\Win7programs\Citrus\perl\bin\perl.exe -MExtUtils: +:Command -e mv -- Scintilla.xsc Scintilla.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_RELOCATABLE_INCPUSH -DPER +L_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL +_IMPLICIT_SYS -fno-strict -aliasing -mms-bitfields -s -O2 -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" "-I F:\Win7programs\Citru +s\perl\lib\CORE" Scintilla.c In file included from Scintilla.xs:8:0: ../GUI.h:100:16: note: #pragma message: *** Using Preserved Perl conte +xt. In file included from Scintilla.xs:8:0: ../GUI.h:768:22: warning: 'ImageList_Duplicate' redeclared without dll +import attribute: previous dllimport ignored [-Wattributes] Scintilla.xs: In function 'CallWndProc': Scintilla.xs:199:101: error: 'GWL_USERDATA' undeclared (first use in t +his function) Scintilla.xs:199:101: note: each undeclared identifier is reported onl +y once for each function it appears in dmake: Error code 129, while making 'Scintilla.o' dmake.EXE: Error code 255, while making 'subdirs' [ERROR] Unable to create a new distribution object for 'Win32::GUI' -- + cannot continue *** Install log written to: C:\Users\MyUser\.cpanplus\install-logs\Win32-GUI-1.06-1372397996.log Error installing 'Win32::GUI' Problem installing one or more modules
My system: Windows 7, Citrus Perl 5.16.3

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041158]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-08-27 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls