jpn00b has asked for the wisdom of the Perl Monks concerning the following question:

Compiing Win32::Perfmon

(It does not install cleanly with cpan)

Having an awful time with this and have probably munged my environment. Using Strawberry perl and dmake, I get warnings in the compile "pointer to integer without cast" sort of stuff, but the worst is linking in the phd library - which would appear to be under the Visual C++ tree, it looks like I've entered the path name in an incorrect form: "c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64"

no such file or directory.

I note that the Strawberry path is abbreviated as "STRAWB~1", I suppose I should figure out how to do that and still differentiate between "Program Files" and "Program Files (x86)", but I feel like I'm running in the playground with sharp scissors.

Googling, I don't see many who have been down this path. Is there some guidance I should be looking at?

cheers

j.

Replies are listed 'Best First'.
Re: Compiling WIn32::Perfmon
by Mr. Muskrat (Canon) on Jan 22, 2016 at 21:39 UTC

      That installed seamlessly, while I'm sure I will have to look into changing the calls, I think you just saved the better part of my weekend - I am in your debt

      cheers

      j.