码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 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

  • 相关阅读:
    【笔记】保留两位小数的金额正则表达式
    C/C++简单计算器 2019年12月电子学会青少年软件编程(C/C++)等级考试一级真题答案解析
    亚马逊产品召回后如何重新发布商品?儿童睡衣,婴儿沐浴座椅,不锈钢儿童水杯被召回
    C--六、字符串之strcat
    会话管理Cookie和Session(源码级讲解、超详细)
    vue里样式不起作用的方法,可以通过deep穿透的方式
    C++标准模板(STL)- 算法 (std::copy_n)
    Kubernetes的基础概念
    如何在 .NET Core WebApi 中处理 MultipartFormDataContent 中的文件
    机器学习—梯度下降Gradient Descent Optimization—c语言实现
  • 原文地址:https://blog.csdn.net/jetliu05/article/details/125521131
  • 最新文章
  • 【JVM】编译执行与解释执行的区别是什么?JVM 使用哪种方式?
    用 Hashids 优雅解决 C 端自增 ID 暴露问题
    V8引擎 精品漫游指南--Ignition篇(上) 指令 栈帧 槽位 调用约定 内存布局 基础内容
    LLVM Pass快速入门(四):代码插桩
    milkup:桌面端 markdown AI续写和即时渲染
    基于项目工程构建SBOM(软件物料清单)的研究
    鸿蒙应用开发UI基础第二节:鸿蒙应用程序框架核心解析与实操
    .NET 中如何快速实现 List 集合去重?
    扣子Coze实战:从0到1打造抖音+小红书热点监控智能体
    浅谈数据访问层
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号