in reply to Re^5: Trouble Installing Win32::GuiTest
in thread Trouble Installing Win32::GuiTest
CPAN.pm: 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/Examples.pm blib\lib\Win32\GuiTest\Examples.pm cp lib/Win32/GuiTest.pm blib\lib\Win32\GuiTest.pm cp lib/Win32/GuiTest/Cmd.pm blib\lib\Win32\GuiTest\Cmd.pm 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 +object.ma 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Trouble Installing Win32::GuiTest
by syphilis (Archbishop) on Aug 21, 2012 at 10:11 UTC | |
Currently, it seems you're still using the %Config provided by ActivePerl - you need to access the settings in Config_m.pm. To do that you need to set the PERL5OPT environment variable to -MConfig_m: You might yet strike other issues - let us know if you do. Cheers, Rob | [reply] [d/l] |
by Anonymous Monk on Aug 21, 2012 at 11:33 UTC | |
Hi Rob, I have set PERL5OPT=-MConfig_m in system environment variable and then ran the installation using CPAN. This time it displayed error like libperl='libperl510.a' not found in libpath so I have changed that line as libperl='libperl514.a' in config_m.pm and saved and again ran the installation. This it has given lots of error. Please see the output.
| [reply] [d/l] |
by syphilis (Archbishop) on Aug 21, 2012 at 13:36 UTC | |
I'll assume it's 5.14 - if not make the necessary modifications to what follows. First, check whether C:\Perl64\lib\CORE\libperl514.a exists. Assuming it does *not* exist, then you need to create it. You do that by cd'ing to C:\Perl64\bin and running: Then run: Then copy the generated libperl514.a to the C:\Perl64\lib\CORE folder. If you don't have gendef.exe and/or dlltool.exe, but have x86_64-w64-mingw32-gendef.exe and/or x86_64-w64-mingw32-dlltool.exe then use them instead. If you get stuck trying to find a gendef or dlltool utility, then I know that this version of StrawberryPerl has them. You could grab it, unzip it to (say) C:/Strawberry516, double click on the portableshell.bat (which you'll find in C:/Strawberry516) and use the shell generated by that to do the job. (Then delete C:/Strawberry516 if you want.) Cheers, Rob | [reply] [d/l] [select] |
by nsharma (Initiate) on Aug 21, 2012 at 14:06 UTC | |
by syphilis (Archbishop) on Aug 21, 2012 at 14:45 UTC | |
| |
|
Re^7: Trouble Installing Win32::GuiTest
by Anonymous Monk on Aug 21, 2012 at 09:47 UTC | |
I have also installed the ExtUtils::FakeConfig from CPAN. Great, now read ExtUtils::FakeConfig documentation on how to use it. | [reply] |