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 revision
Next 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://github.com/winlibs/]])
 +  * Net-snmp Sources ([[http://www.net-snmp.org]])
 +  * Native Perl from ActiveState ([[http://www.activestate.com/Products/activeperl/]]) installed and perl being in your PATH
 +  * Common tools used to compile PHP
 +
 +
 +==== Configure  =====
 +
 +Configure for Win32
 +<code bash>
 +SET INCLUDE=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\include;%INCLUDE%
 +SET LIB=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\lib;%LIB%
 +SET MSVCDir=%VSINSTALLDIR%
 +</code>
 +
 +Configure script (menu based):
 +<code bash>
 +cd  C:\phpbuild\libs\netsnmp-5.4.1\
 +win32\build.bat
 +</code>
 +
 +
 +Configure manually:
 +
 +<code bash>
 +cd  C:\phpbuild\libs\netsnmp-5.4.1\win32
 +perl Configure --with-ssl --linktype=static --prefix=c:\usr --config=release --with-ipv6 --with-sdk
 +</code>
 +
 +
 +==== Compiling ====
 +
 +Only the libraries are necessary (actually only netsmnp.lib):
 +<code bash>
 +nmake libs
 +</code>
 +
 +==== Install ====
 +Install the libs and the development files (header and libs):
 +
 +<code bash>
 +nmake install
 +nmake install_devel
 +</code>
 +
  
internals/windows/libs/smnp.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1