Fwd: Fwd: Wmi Mapper

KRISHNA priya <[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




>
>
Hi Sushil,

 I'm trying with WMIMapper.
 When I give the command          G:\pegasus\src\WMIMapper> make

It shows the result as:

G:/pegasus/src\Pegasus/Common/Network.h(63) : fatal error C1189: #error :
"<Peg
asus/Common/Network.h>: FD_SETSIZE is already defined.              This
file mu
st be included prior to any header file that defines
FD_SETSIZE, su
ch as <windows.h>, <winsock.h>, or <winsock2.h>."
make[1]: *** [G:/pegasus/obj/WMIMapper/WMIProvider/WMIInstanceProvider.obj]
Erro
r 2
make[1]: Leaving directory `G:/pegasus/src/WMIMapper/WMIProvider'
make: *** [all] Error 2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

So I try the command as G:\pegasus\src|WMIMapper>mkmapper.bat

 After executing it shows finally as: make:**[all]Error 2
                                                    HttpAcceptor.cpp
inaddr_any: undeclared identifier.

What I do is:
 G:\pegasus> set PEGASUS_ENABLE_IPV6=false
--------------------------------------------------------------------------------------------------------------------------------------------

Again I try the command:   G:\pegasus\src|WMIMapper>mkmapper.bat

Now it shows that:

 SSLContext.cpp(39) : fatal error C1083: Cannot open include file:
'openssl/err.h
': No such file or directory
make[3]: *** [G:/pegasus/obj/Pegasus/Common/SSLContext.obj] Error 2
make[3]: Leaving directory `G:/pegasus/src/Pegasus/Common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `G:/pegasus/src/Pegasus'
make[1]: *** [all] Error 2
make[1]: Leaving directory `G:/pegasus/src'
make: *** [all] Error 2
Error: An error occured during the build.
-----------------------------------------------------------------------------------------------------------------------------------------
Is it necessary to set the OpenSLP Home variable?  I'm not using this.

When I build pegasus, G:\pegasus\bin  it contains cimserver.exe, cimauth.exe
all r there. Except wmiserver.exe  and other .exe file starting with wmi.

But after done the above steps, the bin folder doesn't contain any .exe
files.

Please help me to solve this

Regards
Krishna
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.