internals:windows:libs:smnp

Differences

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

Link to this comparison view

Next revision
Previous revision
internals:windows:libs:smnp [2008/06/08 11:39] – created pajoyeinternals:windows:libs:smnp [2017/09/22 13:28] (current) – external edit 127.0.0.1
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 +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.1212925183.txt.gz · Last modified: 2017/09/22 13:28 (external edit)