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

Re^5: Trouble Installing Win32::GuiTest

by syphilis (Canon)
on Aug 15, 2012 at 23:08 UTC ( #987651=note: print w/ replies, xml ) Need Help??


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

Yes, it looks like you're using 64-bit ActivePerl (as that's the only perl that wants to link to -lbufferoverflowU) with a 64-bit gcc compiler.
Using a 32-bit gcc compiler with 32-bit ActivePerl is fine, but using a 64-bit gcc compiler with 64-bit ActivePerl simply will *not* work in the same way.

The thing that's killing you is the fact that gcc doesn't have a bufferoverflowU library. You could work around that problem by copying one of the libraries in c:/strawberry/c/lib to c:/strawberry/c/lib/bufferoverflowU.a.
That would satisfy that dependency but I think you'll then striike other problems.

Options include:
1) Using Strawberry Perl instead of ActivePerl;
2) Using ActivePerl with one of the freely available MS compilers;
3) Installing ExtUtils::FakeConfig into ActivePerl - which *will* enable you to use 64-bit gcc with 64-bit ActivePerl.

I've done 3) with ActivePerl 5.10.0 (build 1005) and it works fairly well. Sometimes I can't build distros that use Module::Build ('perl build.pl') instead of dmake ('perl Makefile.PL') - for reasons that I've yet to uncover.
And I had to additionally create a libperl510.a - which, in your case, would be libperl514.a .

Cheers,
Rob


Comment on Re^5: Trouble Installing Win32::GuiTest

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-04-25 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (585 votes), past polls