Skip Menu |

This queue is for tickets about the Win32-Process-Perf CPAN distribution.

Report information
The Basics
Id: 7641
Status: new
Priority: 0/
Queue: Win32-Process-Perf

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: future? -lpdh
1. problematic doc: Show quoted text
>This document describes version 0.01 of Win32::Process::Perf, released October 26, 2004.
2. test: cpansmoke Win32-Process-Perf-0.01 ... Unrecognized argument in LIBS ignored: 'pdh.lib' use "-lpdh", not "pdh.lib" This will fail for mingw and cygwin. 3. where to get pdh.lib or pdh.dll?
[RURBAN - Tue Sep 14 11:41:17 2004]: Show quoted text
> 1. problematic doc:
> >This document describes version 0.01 of Win32::Process::Perf,
> released October 26, 2004.
What do you mean with that? Show quoted text
> > 2. test: > cpansmoke Win32-Process-Perf-0.01 > ... > Unrecognized argument in LIBS ignored: 'pdh.lib' > > use "-lpdh", not "pdh.lib" > This will fail for mingw and cygwin. > > 3. where to get pdh.lib or pdh.dll?
As I know there is a tool for mingw where you can convert MS libraries to mingw libraries. But currently I don't know the name. The pdh.dll is included in the OS (NT, Win2000, and maybe XP) Sorry for the late replay. regards, REinhard
[RURBAN - Tue Sep 14 11:41:17 2004]: Show quoted text
> 1. problematic doc:
> >This document describes version 0.01 of Win32::Process::Perf,
> released October 26, 2004. > > 2. test: > cpansmoke Win32-Process-Perf-0.01 > ... > Unrecognized argument in LIBS ignored: 'pdh.lib' > > use "-lpdh", not "pdh.lib" > This will fail for mingw and cygwin. > > 3. where to get pdh.lib or pdh.dll?
I found out how to get the pdh.lib/dll for mingw and cygwin: Download the Microsoft SDK where the pdh.lib can be found and use the following command: echo EXPORTS > pdh.def reimp "D:\Program Files\Microsoft SDK\Lib\Pdh.Lib" | sed 's/_//' >> pdh.def dlltool -k --def pdh.def --output-lib pdh.a --dllname pdh.dll This will create the neccessary files for you regards REinhard