internals:windows:libs:smnp
This is an old revision of the document!
net-smnp Windows, How to compile
Building net-snmp 5.4.1
Requirements
- Our Net-snmp Sources (http://pecl2.php.net/downloads/php-windows-builds/source/)
- 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
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% cd C:\phpbuild\libs\netsnmp-5.4.1\win32 perl Configure --with-ssl --linktype=static --prefix=c:\usr --config=release --with-ipv6 --with-sdk
Compiling
Only the libraries are necessary (actually only netsmnp.lib):
nmake libs
Install
Install the libs and the development files (header and libs):
nmake install
nmake install_devel
internals/windows/libs/smnp.1217451248.txt.gz · Last modified: 2017/09/22 13:28 (external edit)