Re: net-snmp compilation problem

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, Jan 26, 2010 at 8:05 PM, Group <[email protected]> wrote:

> Thanks for your reply. I have cygwin with full installation which includes
> all the packages and also the openssl-0.9.8 package came from cygwin. Also,
> i have openssl-devel package shown as already installed (This is confirmed
> by going through the setup.exe, and selecting openssl-devel, the status is
> keep (for options: Reinstall, Uninstall, keep, Source).).
>
> Is there any other way to check that openssl-devel package is already
> installed?.
>
> Bart, also you were mentioning that net-snmp configure script can be
> mentioned about path of the header files. Can you let me know how can i do
> this. Any documentation is also helpful. Thanks in advance.
>

Building for Cygwin is documented here:
http://net-snmp.sourceforge.net/docs/README.win32.html

The command below works fine on my setup (Cygwin 1.7). As you can see the
Net-SNMP 5.5 configure script is able to detect the OpenSSL library
(-lcrypto) and header files even without passing --with-openssl=/usr to the
configure script. This should also work with older Cygwin versions.

$ ./configure --with-defaults --without-perl-modules --disable-embedded-perl
&& grep -E 'NETSNMPLIBS|SSL' config.status && make -s && agent/snmpd -f -Lo
[ ... ]
S["LNETSNMPLIBS"]=" -lcrypto"
D["HAVE_OPENSSL_AES_H"]=" 1"
D["HAVE_OPENSSL_DH_H"]=" 1"
D["HAVE_OPENSSL_DES_H"]=" 1"
D["HAVE_OPENSSL_HMAC_H"]=" 1"
D["HAVE_OPENSSL_EVP_H"]=" 1"
D["NETSNMP_USE_OPENSSL"]=" 1"
[ ... ]
2010-01-27 09:03:27 Turning on AgentX master support.
2010-01-27 09:03:27 NET-SNMP version 5.5

Bart.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
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.