internals:windows:libs:smnp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:smnp [2008/06/08 13:02] – pajoye | internals: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/ | + | * Our Net-snmp Sources ([[https://github.com/winlibs/net-snmp]]) |
* Net-snmp Sources ([[http:// | * Net-snmp Sources ([[http:// | ||
* Native Perl from ActiveState ([[http:// | * Native Perl from ActiveState ([[http:// | ||
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; |
- | perl Configure --with-ssl --linktype=static --prefix=c:\phpbuilds\2k5\testsnmp | + | SET LIB=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\lib; |
+ | SET MSVCDir=%VSINSTALLDIR% | ||
</ | </ | ||
+ | Configure script (menu based): | ||
+ | <code bash> | ||
+ | cd C: | ||
+ | win32\build.bat | ||
+ | </ | ||
+ | Configure manually: | ||
+ | |||
+ | <code bash> | ||
+ | cd C: | ||
+ | perl Configure --with-ssl --linktype=static --prefix=c: | ||
+ | </ | ||
==== Compiling ==== | ==== Compiling ==== | ||
+ | Only the libraries are necessary (actually only netsmnp.lib): | ||
+ | <code bash> | ||
+ | nmake libs | ||
+ | </ | ||
==== Install ==== | ==== Install ==== | ||
+ | Install the libs and the development files (header and libs): | ||
+ | |||
+ | <code bash> | ||
+ | nmake install | ||
+ | nmake install_devel | ||
+ | </ | ||
internals/windows/libs/smnp.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1