Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAO+b5-qj-yKRd=CDoPnQRMoZKCRHcF-AoJvX9VkbfHeBa9_AgQ@mail.gmail.com>
On Mon, Aug 1, 2011 at 12:05 AM, <[email protected]> wrote:

> While I am able to buidl and exeucte net-snmp, but I have the following
> issues/observations:
>
> 1.  I am trying to use the exact same working AgentX code under Windows
> that tests and works under Linux, but connecting to the agent fails.


There must be something wrong then with the AgentX settings in snmpd.conf
(agentxsocket / master agentx).


> I noticed that when net-snmp 1.5.7 loads up, there are maybe 6 MIBs that it
> does not properly load.    Some of the FAQs describes that this is perhaps
> normal under Windows, but I wanted to make sure this symptom is not
> important to the rest of my issues.  Note that this is for the net-snmp
> build w/o OpenSSL or Perl. The binaries were build from source using the
> build.bat file.
>

Was this with or without winExtDLL built-in ? If this occurred with
winExtDLL enabled, see also the -I-... options in README.win32.


> 2.  When downloading OpenSSL and attempting to build with this using
> build.bat, the build process fails.  I downloaded and installed OpenSSL
> according to the readme, and tried to build using the build.bat file after
> making the small change to the configuration file.
>

You have to set the INCLUDE and LIB environment variables before running
vcvarsall.bat such that these point at the OpenSSL installation directory,
e.g. as follows:

set INCLUDE=C:\OpenSSL\include
set LIB=C:\OpenSSL\lib\VC
vcvarsall.bat

Bart.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey

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