Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^9: Trouble Installing Win32::GuiTest

by syphilis (Canon)
on Aug 21, 2012 at 13:36 UTC ( #988729=note: print w/ replies, xml ) Need Help??

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

Do you have perl-5.14 or 5.10 ?
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:

gendef perl514.dll
Then run:
dlltool --kill-at --input-def perl514.def --output-lib libperl514.a
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.)


Comment on Re^9: Trouble Installing Win32::GuiTest
Select or Download Code
Re^10: Trouble Installing Win32::GuiTest
by nsharma (Initiate) on Aug 21, 2012 at 14:06 UTC

    Hi Rob, Thank you for ur reply I am waiting for it. Yes, I am using Perl 5.14.2 64 bit and installed MingW 64bit compiler from libperl514.a is already there in the path C:\Perl64\lib\CORE. But i have renamed the libperl510 to libperl514 in and rerun the installation using CPAN but compilation errors were occured. Please provide me proper solution. Thanks.

      Hmm ... does perl -V:libperl report 'libperl514.a' ?
      On my x64 ActivePerl 5.10 (build 1005) where I actually use ExtUtils::FakeConfig, I find that sets libperl='perl510.dll'

      I don't think that should be necessary if you have libperl514.a ... but, anyway, try setting libperl='perl514.dll' in your and then check that perl -V:libperl reports 'perl514.dll'


      Update: As I tihnk about it a bit more, I think a better thing to do is to re-create libperl514.a using gendef and dlltool (as detailed earlier).

        Hi Rob, As you said, I have re-created the libperl514.a using gendef and dlltool taken from strawberry perl but the generated lib file libperl514.a size is 0 byte, so during the installation this file was not recognized and hence same compiling error occured. Thanks.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988729]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-07-13 16:49 GMT
Find Nodes?
    Voting Booth?

    When choosing user names for websites, I prefer to use:

    Results (250 votes), past polls