Cmake GCC error ????
Compiling problem:
I was trying to install dnscrypt including an AUR gui and although on another installation this installed fine and recently updated, on this one here it is having compiling problems. Anyone out there can guess what could be it. I am physically away from the other installation so I could compare, but this is the output/error I am getting:
-- 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-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_61a36/fast"
/usr/bin/make -f CMakeFiles/cmTC_61a36.dir/build.make CMakeFiles/cmTC_61a36.dir/build
make[1]: Entering directory '/tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_61a36.dir/testCCompiler.c.o
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o CMakeFiles/cmTC_61a36.dir/testCCompiler.c.o -c /tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeTmp/testCCompiler.c
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/cmTC_61a36.dir/build.make:66: CMakeFiles/cmTC_61a36.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_61a36/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:5 (project)
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-oba/aur-dnscrypt-proxy-gui/src/dnscrypt-proxy-gui-1.11.14/build/CMakeFiles/CMakeError.log".