<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97188>97188</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
terminfo build error
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jdgh000
</td>
</tr>
</table>
<pre>
We are seeing terminfo package missing when we build our rocm project. The cmake error points to following:
set(LLVM_ENABLE_TERMINFO TRUE)
if(LLVM_ENABLE_TERMINFO)
find_package(Terminfo)
endif()
-- Couldn't find Lightning build in compute directory. Searching LLVM_DIR then defaulting to system LLVM install if still not found...
CMake Warning at /home/nonroot/rocm/ROCm-6.1/llvm-project/build/cmake/modules/CMakeFiles/LLVMConfig.cmake:263 (find_package):
By not providing "FindTerminfo.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Terminfo",
but CMake did not find one.
Could not find a package configuration file provided by "Terminfo" with any
of the following names:
TerminfoConfig.cmake
terminfo-config.cmake
Add the installation prefix of "Terminfo" to CMAKE_PREFIX_PATH or set
"Terminfo_DIR" to a directory containing one of the above files. If
"Terminfo" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:140 (find_package)
Installing through ubuntu package manager apt finds terminfo and installs but it still shows error:
apt list --installed | grep -i terminfo
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
terminfo/jammy,now 0.0~git20210125.ca9a967-1 amd64 [installed]
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVc1yqzgTfRp502UK5P8FC8c23-e6Tu4tJ5nMLiVQA0pAoiRhX2_m2ackMM7PzGY2qrLVnD59-nSLGSMKiRiT2R2ZbUestaXS8RsvyjAMR6nil_gFgWkEgyhkARZ1LWSuoGHZOysQamGMuziXKOGMkLai4qBaDVplNTRavWFmA3gqEbKavSOg1kpDo4S0BqyCXFWVOgtZkMmah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