Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.
MIT License
4k
stars
259
forks
source link
Issue to build/run on Debian 11 due clang library #78
cmake ..
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so
-- Latest recognized Git tag is 1.0.1
-- Git HEAD is 4a1c05925400314988cdbc1e01fb39ea27037914
-- Revision is .0.1-4a1c0592
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success
CMake Error at build/_deps/bcc-src/CMakeLists.txt:67 (find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/root/Procmon-for-Linux/build/CMakeFiles/CMakeOutput.log".
:~/Procmon-for-Linux/build#
I do have the latest clang & clangdev (v11) installed. Package clang 6.0 is not found in Debian 11
dpkg -l | grep clang
ii libclang-11-dev 1:11.0.1-2 amd64 Clang library - Development package
ii libclang-common-11-dev 1:11.0.1-2 amd64 Clang library - Common development package
ii libclang-cpp-dev 1:11.0-51+nmu5 amd64 C++ interface to the clang library
ii libclang-cpp11 1:11.0.1-2 amd64 C++ interface to the Clang library
ii libclang-cpp11-dev 1:11.0.1-2 amd64 C++ interface to the Clang library
ii libclang-dev 1:11.0-51+nmu5 amd64 clang library - Development package
ii libclang1:amd64 1:11.0-51+nmu5 amd64 C, C++ and Objective-C compiler (LLVM based)
ii libclang1-11 1:11.0.1-2 amd64 C interface to the Clang library
cmake .. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so -- Latest recognized Git tag is 1.0.1 -- Git HEAD is 4a1c05925400314988cdbc1e01fb39ea27037914 -- Revision is .0.1-4a1c0592 -- Performing Test HAVE_NO_PIE_FLAG -- Performing Test HAVE_NO_PIE_FLAG - Success -- Performing Test HAVE_REALLOCARRAY_SUPPORT -- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success CMake Error at build/_deps/bcc-src/CMakeLists.txt:67 (find_package): Could not find a package configuration file provided by "LLVM" with any of the following names:
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set "LLVM_DIR" to a directory containing one of the above files. If "LLVM" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/root/Procmon-for-Linux/build/CMakeFiles/CMakeOutput.log". :~/Procmon-for-Linux/build#
I do have the latest clang & clangdev (v11) installed. Package clang 6.0 is not found in Debian 11 dpkg -l | grep clang ii libclang-11-dev 1:11.0.1-2 amd64 Clang library - Development package ii libclang-common-11-dev 1:11.0.1-2 amd64 Clang library - Common development package ii libclang-cpp-dev 1:11.0-51+nmu5 amd64 C++ interface to the clang library ii libclang-cpp11 1:11.0.1-2 amd64 C++ interface to the Clang library ii libclang-cpp11-dev 1:11.0.1-2 amd64 C++ interface to the Clang library ii libclang-dev 1:11.0-51+nmu5 amd64 clang library - Development package ii libclang1:amd64 1:11.0-51+nmu5 amd64 C, C++ and Objective-C compiler (LLVM based) ii libclang1-11 1:11.0.1-2 amd64 C interface to the Clang library