Install gcc-c++ (or any other c++_compiler)) Have a look at https://github.com/shundhammer/yqpkg/blob/master/package/yqpkg.spec to see how upstream compiles and what else is needed. You should ask any further questions to the authors of the tool. This piece of software is not found anywhere on the openSUSE build service (thus also not in openSUSE:Factory). - Ben Am 23.12.24 um 17:41 schrieb victorhck via openSUSE Factory:
Hello.
Just trying to compile yqpkg¹ the new package manager for openSUSE in my Tumbleweed machine
I have installed make, cmake and gcc.
But when I run make -f Makefile.repo in the cloned folder from GitHub I get this error message:
rm -rf build mkdir build; \ cd build; \ cmake .. -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is unknown -- 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 CMake Error at CMakeLists.txt:22 (project): No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred! make: *** [Makefile.repo:21: configure] Error 1
Really stuck and don't know how to fix that.
I ran:
$ echo $cmake_c_compiler gcc
$ echo $PATH /usr/bin /home/victorhck/.local/bin /usr/local/bin /bin /usr/X11R6/bin
$ which gcc /usr/bin/gcc
Greetings.