internals:windows:libs:smnp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
internals:windows:libs:smnp [2008/07/29 18:36] – correct path pajoyeinternals:windows:libs:smnp [2013/02/21 18:14] – [Requirements] ab
Line 4: Line 4:
  
 ==== Requirements ===== ==== Requirements =====
-  * Our  Net-snmp Sources ([[http://pecl2.php.net/downloads/php-windows-builds/source/]])+  * Our  Net-snmp Sources ([[https://github.com/winlibs/net-snmp]])
   * Net-snmp Sources ([[http://www.net-snmp.org]])   * 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   * Native Perl from ActiveState ([[http://www.activestate.com/Products/activeperl/]]) installed and perl being in your PATH
Line 14: Line 14:
 Configure for Win32 Configure for Win32
 <code bash> <code bash>
-cd  C:\phpbuild\libs\netsnmp-5.4.1\win32 +SET INCLUDE=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\include;%INCLUDE% 
-perl Configure --with-ssl --linktype=static --prefix=c:\phpbuilds\2k5\testsnmp --config=release --with-ipv6 --with-sdk+SET LIB=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\lib;%LIB% 
 +SET MSVCDir=%VSINSTALLDIR%
 </code> </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 ==== ==== Compiling ====
  
 +Only the libraries are necessary (actually only netsmnp.lib):
 +<code bash>
 +nmake libs
 +</code>
  
 ==== Install ==== ==== 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