Всем привет!
Пытаюсь собраться из исходного кода, наблюдаю следующую ошибку:
...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
...
Ругается на /usr/bin/cc, начинаем смотреть:
# /usr/bin/cc --version
/usr/bin/x86_64-alt-linux-gcc: No such file or directory
# apt-cache search /usr/bin/x86_64-alt-linux-gcc
gcc8 - GNU Compiler Collection
gcc8-go - The GNU compiler for the Go programming language
# rpm -qa gcc8
gcc8-8.3.1-alt3.x86_64
Симлинк /usr/bin/x86_64-alt-linux-gcc создать нужно или проблема глубже?