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

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%
SET MSVCDir=%VSINSTALLDIR%

Configure script (menu based):

cd  C:\phpbuild\libs\netsnmp-5.4.1\
win32\build.bat

Configure manually:

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.1302087566.txt.gz · Last modified: 2013/01/29 12:30 (external edit)