当前位置:网站首页>Ipmitool download address and possible problems during compilation and installation

Ipmitool download address and possible problems during compilation and installation

2022-07-01 02:33:00 Count words and lines

1. ipmitool Source code ( Build install required )

ipmitool sourcecode from github

Refer to the INSTALL File for compilation and installation . The simplest installation method is excerpted below :

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.

Some errors that may occur during compilation and installation and their handling methods
1) If there is only configure.ac But not configure file , So run autoconf Command to generate configure Script .
# 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

If autoconf The above error occurs when the command is executed , Then execute the following command to update the generated configuration file .
# autoreconf --install


2) If you want to use lanplus, Add enable at compile time lanplus Options ,
As shown below :
# ./configure --enable-intf-lanplus

If the configuration reports the following errors , Then you need to install openssl-devel package .
** The lanplus interface requires an SSL library with EVP_aes_128_cbc defined.

# yum install openssl-devel


3) If you execute configure The following error occurs when configuring , Then you need to install readline-devel package .

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

# yum install readline-devel


4) stay configure There may be a lot of GCC extension Alarm of , You can ignore , Will not affect the final ipmitool Command to use .

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

2. Windows Installed version ( I won't support it lanplus) Download address

ipmitool for windows from Dell


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

原网站

版权声明
本文为[Count words and lines]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207010224281362.html