intel / ipmctl

BSD 3-Clause "New" or "Revised" License
183 stars 62 forks source link

Unable to install IPMCTL in RHEL8.0 due to NDCTL version mismatch #109

Open Muthu2112 opened 5 years ago

Muthu2112 commented 5 years ago

In RHEL 8.0 unable to install IPMCTL tool due to NDCTL version mismatch . Getting below error .Any help ..

0.3467 VERSION:01.00.00.3467 BUILD_TYPE:Debug -- Could NOT find asciidoctor (missing: ASCIIDOCTOR_BINARY) -- Could NOT find asciidoctor-pdf (missing: ASCIIDOCTOR_PDF_BINARY) Fallback to asciidoc asciidoctor-pdf not found -- Checking for module 'libndctl>=58.2' -- Package 'libndctl', required by 'virtual:world', not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:418 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal) CMakeLists.txt:84 (pkg_check_modules)

-- Configuring incomplete, errors occurred! See also "/root/ipmctl/ipmctl/output/CMakeFiles/CMakeOutput.log". See also "/root/ipmctl/ipmctl/output/CMakeFiles/CMakeError.log".

kellycouch commented 5 years ago

What version of libndctl is present?

sscargal commented 5 years ago

Expanding upon Kelly's note...

It looks like you're missing the ndctl package, or you compiled from source and installed it in a non-default location such as /usr/local/ perhaps

Package 'libndctl', required by 'virtual:world', not found

If you have not installed ndctl or compiled it from source, that needs to be done first. If you have compiled ndctl from source, you need to update your PKG_CONFIG_PATH to point to the install location. For example, if ndctl is installed in /usr/local, then the following should allow ipmctl to find the pkcgonf file:

$ export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig

HTH

Muthu2112 commented 5 years ago

In RHEL 8.0 NDCTL version exists is 62 but when i try to install ipmctl failed due to ndctl version 52

Mine ndctl located in /usr/bin/ndctl so i copied ndctl to location /usr/local and executed

$ export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig

Still its not working

Muthu2112 commented 5 years ago

also I m uisng below command to install IPMCTL

cmake -DCMAKE_INSTALL_PREFIX=/usr .. -DBUILDNUM=01.00.00.3467

kellycouch commented 5 years ago

Will you provide log of failed build attempt?

Muthu2112 commented 5 years ago

I have copied complied source code from RHEL7.0 to RHEL8.0 and it worked

a) Copy the ipmctl binary from the following directory in RHEL 7.5 usr/bin/ipmctl and put it in RHEL 7.6 under /usr/bin directory b) Copy the ipmctl library from the following directory in RHEL 7.5 /usr/lib64/ipmctl.so.2 and put it in RHEL 7.6 under /usr/lib64 directory

kellycouch commented 5 years ago

Is this a satisfactory conclusion? If so, I'll close this issue. If not, please respond to previous questions to help resolve.