perl - How can I properly install Win32::GuiTest? -
i trying use win32::guitest , windows xp , perl version 5.8.6.
i getting following error:
can't locate loadable object module win32::guitest in @inc (@inc contains: c:/perl/lib c:/perl/site/lib .) @ e:\a\simply.pl line 259 compilation failed in require @ e:\a\simply.pl line 259. begin failed--compilation aborted @ e:\a\simply.pl line 259
i tried following instructions win32-guitest-1.3. tried install:
i created c:\temp , downloaded zip file , extracted  contents , placed in c:\temp , gave command
c:\temp>ppm ppm> install c:\temp\win32-guitest.ppd   it giving error as...
error: no suitable installation target found package win32-guitest.
if use package win32-guitest-1.56, giving error
error: package 'win32-guitest' not found. please 'search' first.
and if use command
c:\temp>ppm ppm> install win32::guitest
i error as...
error: no valid repositories: error: 501 protocol scheme '' not supported error: 501 protocol scheme '' not supported
i downloaded  http://search.cpan.org/~erngui/win32-guitest-1.3/guitest.pm package win32-guitest-1.3 ,  http://search.cpan.org/dist/win32-guitest/lib/win32/guitest.pm package win32-guitest-1.56
update: given error: no valid repositories, have somehow borked ppm configuration. add repositories.
original answer:
use ppm install module:
ppm install win32::guitest   c:\home> ppm install win32::guitest downloading activestate package repository packlist...done updating activestate package repository database...done downloading bribes packlist...done updating bribes database...done downloading trouchelle packlist...done updating trouchelle database...done downloading uwinnipeg packlist...not modified downloading wxperl packlist...done updating wxperl database...done downloading win32-guitest-1.54...done unpacking win32-guitest-1.54...done generating html win32-guitest-1.54...done updating files in site area...done 15 files installed
if want download latest , greatest:
c:\temp> wget http://search.cpan.org/cpan/authors/id/k/ka/karasik/win32-guitest-1.56.tar.gz c:\temp> tar -xzvf win32-guitest-1.56.tar.gz c:\temp> cd win32-guitest-1.56 c:\temp\win32-guitest-1.56> perl makefile.pl set gcc environment - 3.4.5 (mingw-vista special r3) checking if kit complete... looks writing makefile win32::guitest c:\temp\win32-guitest-1.56> dmake c:\temp\win32-guitest-1.56> dmake test c:\temp\win32-guitest-1.56> dmake install
you need install mingw work.
Comments
Post a Comment