Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^5: Trouble Installing Win32::GuiTest

by syphilis (Chancellor)
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') 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 .

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-04-22 00:08 GMT
Find Nodes?
    Voting Booth?