Re: Compiling NetSNMP for x64 Windows

Xiang Li <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,
There is another issue with the “openssl” in Net-snmp windows 5.6.1 and 
5.5.1 builds I thought I should bring it up to your attention: It seems 
Net-snmp 5.6.1 (and 5.5.1) windows build depend on the Openssl 
distribution from slproweb.

However in net-snmp readme.win32 it says:

===============================================================
OpenSSL is required to support the encryption capabilities in SNMPv3
(or SHA authentication). The win32 version of OpenSSL can be built
from the sources or you can download a pre-compiled version.

Building from source: … (instructions skipped...)
===============================================================


With NETSNMP 5.5 and older releases we can either use slproweb's openssl 
or our own openssl build.

NetSNMP 5.6.1 and 5.5.1 require libeay32MT.lib and libeay32MD.lib in 
their build processes. However it seems these files are only available 
from the openssl1.0.0x binary packages distributed by "slproweb". If we 
build Openssl 1.0.x from source, it does NOT produce those files, but 
only “libeay32.lib” as with its older openssl 0.9.x releases. In the 
Openssl's nmake file from its source release, it uses “/MD” compiler 
option if you build “DLL”; If you build a “static” library then it uses 
“MT” compiler option. It seems to me Slproweb made their changes without 
giving any real good reasons/explanations. However this does create a 
new problem for our net-snmp Windows build. That is --by using 
libeay32MT etc. we did make Net-snmp 5.6.1 (and 5.5.1) windows build 
DEPEND on the Openssl distribution from slproweb. In our case we don't 
use slproweb's openssl build so I actually have to change NOT to use 
libeay32MT.lib and libeay32MD.lib, etc.

At least I think the readme.win32 needs to be updated.

BR,

On 4/21/2011 8:37 AM, Dave Shield wrote:
> On 21 April 2011 14:17, Markus Gaugusch<[email protected]>  wrote:
>> * Finally, how do you build your installers?
> The Windows binary releases use the Nullsoft Scriptable Install System
> (http://nsis.sourceforge.net/home/) driven by a .nsi script  (in win32/dist).
> I'm currently in the process of constructing windows binary releases for
> 5.5.1 and 5.6.1 - except that paid work keeps getting in the way!
>
>
> Dave
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-- 
Xiang Li
http://www.champnms.com


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.