Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =====================================================
- HOW-TO: Compiling Zabbix Agent on Windows v20110908
- by Ricardo Santos - rsantos at gmail
- =====================================================
- Tested with Zabbix 1.8.6 on Windows 2008 R2 Datacenter 64bits
- Requirements
- * Windows SDK for Windows 7 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3138
- * Visual Studio 2010 Express http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
- * Zabbix Source http://www.zabbix.com/download.php
- * 7-Zip http://www.7-zip.org/download.html
- --- Compiling for 32bits (x86)
- > "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
- > cd "C:\Users\Administrator\Downloads\zabbix-1.8.6\build\win32\project"
- > copy ..\include\config.h ..\..\..\include\
- > nmake Makefile_agent
- edit "resource.rc" file and replace "afxres.h" with "windows.h"
- > nmake Makefile_agent (run again)
- All binaries should be in "C:\Users\Administrator\Downloads\zabbix-1.8.6\bin\win32"
- --- Compiling for 64bits (x64)
- > "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat"
- > cd "C:\Users\Administrator\Downloads\zabbix-1.8.6\build\win32\project"
- > copy ..\include\config.h ..\..\..\include\
- > nmake Makefile_agent_x64
- edit "resource.rc" file and replace "afxres.h" with "windows.h"
- > nmake Makefile_agent_x64 (run again)
- All binaries should be in "C:\Users\Administrator\Downloads\zabbix-1.8.6\bin\win64"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement