internals:windows:libs:smnp
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | internals:windows:libs:smnp [2013/01/29 11:30] – [Requirements] ab | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== net-smnp Windows, How to compile ====== | ||
+ | |||
+ | ===== Building net-snmp 5.4.1 ===== | ||
+ | |||
+ | ==== Requirements ===== | ||
+ | * Our Net-snmp Sources ([[https:// | ||
+ | * Net-snmp Sources ([[http:// | ||
+ | * Native Perl from ActiveState ([[http:// | ||
+ | * Common tools used to compile PHP | ||
+ | |||
+ | |||
+ | ==== Configure | ||
+ | |||
+ | Configure for Win32 | ||
+ | <code bash> | ||
+ | SET INCLUDE=c: | ||
+ | SET LIB=c: | ||
+ | SET MSVCDir=%VSINSTALLDIR% | ||
+ | </ | ||
+ | |||
+ | Configure script (menu based): | ||
+ | <code bash> | ||
+ | cd C: | ||
+ | win32\build.bat | ||
+ | </ | ||
+ | |||
+ | |||
+ | Configure manually: | ||
+ | |||
+ | <code bash> | ||
+ | cd C: | ||
+ | perl Configure --with-ssl --linktype=static --prefix=c: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Compiling ==== | ||
+ | |||
+ | Only the libraries are necessary (actually only netsmnp.lib): | ||
+ | <code bash> | ||
+ | nmake libs | ||
+ | </ | ||
+ | |||
+ | ==== Install ==== | ||
+ | Install the libs and the development files (header and libs): | ||
+ | |||
+ | <code bash> | ||
+ | nmake install | ||
+ | nmake install_devel | ||
+ | </ | ||
+ | |||
internals/windows/libs/smnp.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1