• ipmitool下载地址和编译安装时可能出现的问题


    1. ipmitool源码(需要编译安装)

    ipmitool sourcecode from github

    参考压缩包中的INSTALL文件进行编译安装。最简单的安装方法摘录如下:

    The simplest way to compile this package is:
    
     1. `cd' to the directory containing the package's source code and type
         `./configure' to configure the package for your system.
    
         Running `configure' might take a while.  While running, it prints
         some messages telling which features it is checking for.
    
     2. Type `make' to compile the package.
    
     3. Optionally, type `make check' to run any self-tests that come with
         the package, generally using the just-built uninstalled binaries.
    
     4. Type `make install' to install the programs and any data files and
         documentation.  When installing into a prefix owned by root, it is
         recommended that the package be configured and built as a regular
         user, and only the `make install' phase executed with root
         privileges.
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18

    在编译安装过程中可能会出现的一些错误及处理方法
    1)如果压缩包中只有configure.ac而没有configure文件,那么运行autoconf命令来生成configure脚本。
    # autoconf

    configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:10: error: possibly undefined macro: AM_CONFIG_HEADER
    configure.ac:41: error: possibly undefined macro: AM_PROG_LIBTOOL
    configure.ac:65: error: possibly undefined macro: AM_CONDITIONAL
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6

    如果autoconf命令执行时报以上错误,那么执行以下命令来更新生成的配置文件。
    # autoreconf --install


    2)如果要使用lanplus,在编译时要加上启用lanplus选项,
    如下所示:
    # ./configure --enable-intf-lanplus

    如果配置时报以下错误,那么需要安装openssl-devel包。
    ** The lanplus interface requires an SSL library with EVP_aes_128_cbc defined.

    # yum install openssl-devel


    3)如果执行configure进行配置时报以下错误,那么需要安装readline-devel包。

    configure: error: ** Unable to find readline required by ipmishell.
    
    • 1

    # yum install readline-devel


    4)在configure过程中可能会出现大量的GCC extension的告警,可以忽略,不会影响最后ipmitool的命令使用。

    ../include/ipmitool/ipmi_entity.h:45:2: **warning**: type of bit-field 'logical' is **a GCC extension** [-Wpedantic]
    
    • 1

    2. Windows安装版本(不支持lanplus)下载地址

    ipmitool for windows from Dell


    参考:
    1.Issue: lanplus feature in ipmitool v 1.8.18
    2.Thread: [Ipmitool-devel] IPMI does not compile the lanplus interface

  • 相关阅读:
    Towards Real-Time Multi-Object Tracking(JDE)
    【数据结构C/C++】顺序与链式二叉树创建与前中后、层序遍历
    java技术文档--多线程(3)--线程同步于互斥
    老外贸人谈沟通技巧
    C#Socket
    我经历过的职场故事
    Webmin -- Software Packages
    开源文本嵌入模型M3E
    Kafka入门05——基础知识
    Spring6学习技术|Junit
  • 原文地址:https://blog.csdn.net/jetliu05/article/details/125521131