How to compile ipmitool for Windows 32-bit

How to compile ipmitool for Windows 32-bit

https://www.rodneybeede.com/How_to_compile_ipmitool_for_Windows_32-bit.html


Here is how to compile ipmitool for Windows. It requires a dependency on Cygwin, but you can copy the Cygwin DLLs and built binary into a separate directory for a standalone install on other systems.

I did the build on a Windows Server 2008 Standard Edition 32-bit with SP2 system. This creates a 32-bit version of the ipmitool.exe file which should work on both 32-bit and 64-bit Windows platforms.

All ***32-bit***
  1. https://cygwin.com/setup-x86.exe
  2. Cygwin packages
    1. gcc-core (inside Devel category)
    2. make (inside Devel category)
    3. openssl-devel
    4. A bunch more will get auto-required at the next prompt for "Resolving Dependencies"
  3. Download the source for ipmitool
  4. Extract the source tarball
  5. From your Cygwin Terminal go into the source directory
  6. ./configure --enable-intf-lanplus
  7. make
  8. The real exe binary is found in ipmitool-x.y.zz/src/.libs/ipmitool.exe
    • You also need the supporting DLL files
    • The one in ipmitool-x.y.zz/src/ipmitool.exe is only a wrapper script
  9. For a standalone copy you can pass around to systems without Cygwin installed copy all of the following (version numbers in the name may vary):
    1. ./src/.libs/ipmitool.exe
    2. C:\cygwin\bin\cygcrypto-1.0.0.dll
    3. C:\cygwin\bin\cygwin1.dll
    4. C:\cygwin\bin\cygz.dll
    5. C:\cygwin\bin\cyggcc_s-1.dll
  10. Test with ipmitool -I lanplus -H hostname -U username fru

C:\cygwin>setup-x86.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel -P openssl-devel
 
 
  • 1

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值