I'm having problems compiling Net-SNMP 5.2 rc3 with encryption support using
OpenSSL 0.9.7e under Windows 2000. I've had no problems compiling the same
distribution under Solaris 2.8 with OpenSSL 0.9.7e.

The basic problem seems to be that configure can't seem to find OpenSSL
properly, no matter what --with-openssl=PATH tweaks I use.

My environment is as follows:

-       Windows 2000 Professional SP4
-       Msys 1.0.10
-       MinGW 3.1.0 (gcc version 3.2.3)
-       Win32 OpenSSL 0.9.7e
-       Net-SNMP 5.2 rc3

I've followed the instructions in the README.win32 that shipped in the
net-snmp tar file.

I've built and installed the GNU regex package (with MinGW tweaks) from:

http://www.boedog.com/net-snmp/gnu_regex/regex-0-12-mingw-r2.tar.gz

I've used the latest pre-compiled Win32 OpenSSL package downloaded from:

http://www.slproweb.com/products/Win32OpenSSL.html

I've installed OpenSSL in c:\OpenSSL. I've copied the
c:\OpenSSL\include\openssl folder to \mingw\include. I've also copied the 2
files from the c:\OpenSSL\library\MinGW directory (i.e. libeay32.a and
libeay32.def) to \mingw\lib.

I ran configure with the options provided in the MinGW section of the
README.win32:

BASEDIR=c:/usr

./configure --prefix="$BASEDIR" \
                --with-mibdirs="$BASEDIR/share/snmp/mibs" \
                --with-mib-modules="agentx disman/event-mib
examples/example" \

Configure seemed to find several OpenSSL header files as follows:

checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
checking openssl/des.h usability... yes
checking openssl/des.h presence... yes
checking for openssl/des.h... yes
checking openssl/dh.h usability... yes
checking openssl/dh.h presence... yes
checking for openssl/dh.h... yes

However, when configure finishes, the summary has nothing beside "Encryption
support:" as follows:

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.2.rc3
  Building for:               mingw32
  Network transport support:  Callback TCP UDP
  SNMPv3 Security Modules:    usm
  Agent MIB code:             mibII ucd_snmp snmpv3mibs notification
                                        target agent_mibs agentx utilities
agentx
                                        disman/event-mib examples/example
  SNMP Perl modules:          disabled
  Embedded perl support:      disabled
  Authentication support:     MD5
  Encryption support:         

---------------------------------------------------------

I tried running configure again with various --with-openssl="PATH" options,
but that only seemed to make configure fail, saying that it couldn't find
OpenSSL.

Has anybody else successfully tamed this combination?

Thanks,

Ron


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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

Reply via email to