Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^4: Trouble Installing Win32::GuiTest

by Anonymous Monk
on Aug 16, 2012 at 23:31 UTC ( #987891=note: print w/replies, xml ) Need Help??

in reply to Re^3: Trouble Installing Win32::GuiTest
in thread Trouble Installing Win32::GuiTest

Hi Rob, Here is the output of the perl -V.

C:\strawberry\Win32-GuiTest-1.60>perl -V Set up gcc environment - 4.4.7 20111023 (prerelease) [svn/rev.180339 - + mingw-w64/oz] Summary of my perl5 (revision 5 version 14 subversion 2) configuration +: Platform: osname=MSWin32, osvers=5.2, archname=MSWin32-x64-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='C:/STRAWB~1/c/bin/gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONS +OLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_ +SITECUSTOMI ZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRI +BUTE -fno-strict-aliasing -mms-bitfields', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.7 20111023 (prerelease) [svn/rev.180 +339 - mingw-w64/oz]', gccosandvers='' intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='__int64', ivsize=8, nvtype='double', nvsize=8, Off_t='__in +t64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='C:\STRAWB~1\c\bin\g++.exe', ldflags ='-L"C:\Perl64\lib\CORE"' libpth=\lib libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 +-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm + -lversion -lodbc32 -lodbccp32 -lcomctl32 -lbufferoverflowU -lmsvcrt perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvap +i32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw +inmm -lvers ion -lodbc32 -lodbccp32 -lcomctl32 -lbufferoverflowU -lmsvcrt libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl514.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\Perl64\lib\CORE"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB +_ALLOC USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1402 [295342] Built under MSWin32 Compiled at Oct 7 2011 15:19:36 %ENV: PERL5LIB="C:\Users\SPULLA~1\perl5\lib\perl5\MSWin32-x64-multi-thre +ad;C:\Users\SPULLA~1\perl5\lib\perl5" PERL_JSON_BACKEND="JSON::XS" PERL_MM_OPT="INSTALL_BASE=C:\Users\SPULLA~1\perl5" PERL_YAML_BACKEND="YAML" @INC: C:\Users\SPULLA~1\perl5\lib\perl5\MSWin32-x64-multi-thread C:\Users\SPULLA~1\perl5\lib\perl5/MSWin32-x64-multi-thread C:\Users\SPULLA~1\perl5\lib\perl5 C:/Perl64/site/lib C:/Perl64/lib .

Replies are listed 'Best First'.
Re^5: Trouble Installing Win32::GuiTest
by syphilis (Chancellor) on Aug 17, 2012 at 07:35 UTC
    Hi Rob, Here is the output of the perl -V.

    Yes - you're trying to use 64-bit gcc with 64-bit ActivePerl.
    If you want that to work you need to install ExtUtils::FakeConfig.

      Hi Rob, I am also facing the same problem while installing Win32-GuiTest on Perl 64 bit v5.14.2 with MingW 64 bit compiler. I have also installed the ExtUtils::FakeConfig from CPAN. Then also I am not able to install this module. Compiling error occurs. Going to build K/KA/KARASIK/Win32-GuiTest-1.60.tar.gz Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Checking if your kit is complete... Looks good Writing Makefile for Win32::GuiTest Writing MYMETA.yml cp lib/Win32/GuiTest/GuiTest.pc blib\lib\Win32\GuiTest\GuiTest.pc cp lib/Win32/GuiTest/ blib\lib\Win32\GuiTest\ cp lib/Win32/ blib\lib\Win32\ cp lib/Win32/GuiTest/ blib\lib\Win32\GuiTest\ C:\Perl64\bin\perl.exe -IC:\Perl64\lib -IC:\Perl64\lib C:\Perl64\lib\E +xtUtils\xsubpp -typemap C:\Perl64\lib\ExtUtils\typemap -typemap perl C:/Perl64/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -D +NO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECU +STOMIZE - C:/Perl64/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -D +NO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECU +STOMIZE - Running Mkbootstrap for Win32::GuiTest () C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 GuiTest.b +s C:\Perl64\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32::GuiTest\", 'DLBASE' => 'GuiTest', + 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' = +> []);" Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 dlltool --def GuiTest.def --output-exp dll.exp C:\Perl64\site\bin\g++.exe -o blib\arch\auto\Win32\GuiTest\GuiTest.dll + -Wl,--base-file -Wl,dll.base -mdll -L"C:\Perl64\lib\CORE" GuiTest.o +DibSect.o c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/ +../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbufferoverfl +owU collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\Win32\GuiTest +\GuiTest.dll' KARASIK/Win32-GuiTest-1.60.tar.gz C:\Perl64\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: KARASIK/Win32-GuiTest-1.60.tar.gz : make NO

        A while back I wrote a piece that contained (among other things) some general pointers to using EU::FC. Perhaps there's something helpful in there.
        Currently, it seems you're still using the %Config provided by ActivePerl - you need to access the settings in
        To do that you need to set the PERL5OPT environment variable to -MConfig_m:
        set PERL5OPT=-MConfig_m
        You might yet strike other issues - let us know if you do.


        I have also installed the ExtUtils::FakeConfig from CPAN.

        Great, now read ExtUtils::FakeConfig documentation on how to use it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987891]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-03-30 17:29 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (362 votes). Check out past polls.