Re: net-snmp compilation problem [solved]

Group <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Bart,

With your configure command as reference, I have tried with ./configure
--without-perl-modules --disable-embedded-perl --with-openssl="/usr".

I'm able to compile the code with make:
These are the last lines of the compilation:
...
chmod a+x net-snmp-config
touch net-snmp-config-x

and for 'make install'
...
install: installed SNMPv2-TM.txt in /usr/local/share/snmp/mibs
libtool: install: /usr/bin/install -c -m 644 ./NET-SNMP-VACM-MIB.txt
/usr/local/
share/snmp/mibs/NET-SNMP-VACM-MIB.txt
install: installed NET-SNMP-VACM-MIB.txt in /usr/local/share/snmp/mibs
libtool: install: /usr/bin/install -c -m 644 ./DISMAN-SCHEDULE-MIB.txt
/usr/loca
l/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
install: installed DISMAN-SCHEDULE-MIB.txt in /usr/local/share/snmp/mibs
make[1]: Leaving directory `/home/mallik/net-snmp-5.5/mibs'

Thanks for the help.

On Wed, Jan 27, 2010 at 2:10 AM, Bart Van Assche
<[email protected]>wrote:

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