Re: Fwd: Wmi Mapper

Sushil <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hi Krishna,

Sorry to reply late on this.
Kindly try to build using make command instead of the mkmapper.bat file.
Make sure all ur env variables are set properly. Basically if you are able
to make pegasus src using the make command, Building mapper source should
not be an issue.
Just go to %PEGASUS_HOME%/src/WMPMapper folder and try make.
Make sure if you are using OpenSLP with Pegasus the OpenSLP_Home variable
needs to be set.

Regards,
Sushil

On Mon, Sep 13, 2010 at 7:18 PM, Kirk Augustin <[email protected]>wrote:

> The script "setenv.bat" sets the PATH, LIB, and INC environment variables
> so that you can do batch builds from the cmdline instead of the Visual
> Studio IDE.
> But to really develop in Windows, you often have to install the latest
> Windows SDK.
> The "setenv.bat" script then becomes important because these variables need
> to differ depending on what version of Windows and SDK one is building on or
> targeting.
>
> You can download the latest Window's SDK at:
> http://msdn.microsoft.com/en-us/windows/bb980924.aspx
> But I am not sure you would want the latest one.
> I would try to do some reading on the WMIMaper docs to see which they
> recommend.
> I have not used WMIMapper myself, so can't advise.
>
>
> Kirk & Trish Augustin
> 11821 NW McNamee Rd
> Portland, OR 97231
>
>
> ------------------------------
> *From:* KRISHNA priya <[email protected]>
> *To:* [email protected]
> *Sent:* Mon, September 13, 2010 2:26:20 AM
> *Subject:* Fwd: Wmi Mapper
>
>
> Hi Krishna,
>
> I am not sure but i think you would need to build WMI Mapper if its not
> built already. (Try to use mkmapper.bat file found in
> %PEGASUS_HOME%/src/WMIMapper folder)
> To start the process for WMI Mapper, you would need to start WMIServer.exe
> process which would be present in %PEGASUS_HOME%/bin folder.
> Also you can install it as a service using WMIServer.exe -install.
> Once this process is started you can use simple cimcli commands to
> enumerate WMI classes.
>
> Regards,
> Sushil
>
>
> O
>
>> Thanks Sushil
>>
>
>      When I try to build WMI Mapper :-
> G:\pegasus\src\WMIMapper>mkmapper.bat
>
>       It shows the result as:-
>
>              Building Pegasus...
>             Setting environment for using Microsoft Visual Studio 2008 x86
> tools.
>            '"E:\Program Files\Microsoft SDKs\setenv.bat"' is not recognized
> as an internal
>             or external command,
>             operable program or batch file.
>
>             "======================================="
>             "Building the Pegasus core lib's & app's"
>              "======================================="
>              process_begin: CreateProcess(NULL, openssl version, ...)
> failed.
>              make: *** [rebuild_msg] Error -1073741502
>              Error: An error occured during the build.
>
>
>  Also a small popup window appears and it looks like:-
>
>            Microsoft Visual C++ Runtime Library
>
>            Runtime error!
>
>            Program: G:\pegasus\bin\mu.exe
>
>            R6034
>            An application has made an attempt to load the C runtime library
> incorrectly.
>            Please correct the applicatin's support team for more
> information
>
> When I search the setenv.bat file, I found only E:\Program Files\Microsoft
> Visual Studio 9.0\VC\crt\src\setenv.c
> what to do?
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.