Unable to compila the new yqpkg
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. [1] https://github.com/shundhammer/yqpkg -- ------------------- GPG Key: 0xcc742e8dc9b7e22a Fingerprint = 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A Aprende a proteger la privacidad de tu correo: https://emailselfdefense.fsf.org/es/ Mi blog sobre openSUSE, GNU/Linux y software libre: https://victorhckinthefreeworld.com/ Herramientas para proteger tu privacidad https://victorhck.gitlab.io/privacytools-es/
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.
El 23/12/24 a las 18:38, Ben Greiner escribió:
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).
Ok, sorry for that... Greetings -- ------------------- GPG Key: 0xcc742e8dc9b7e22a Fingerprint = 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A Aprende a proteger la privacidad de tu correo: https://emailselfdefense.fsf.org/es/ Mi blog sobre openSUSE, GNU/Linux y software libre: https://victorhckinthefreeworld.com/ Herramientas para proteger tu privacidad https://victorhck.gitlab.io/privacytools-es/
Am 23. Dezember 2024 17:41:50 MEZ schrieb victorhck via openSUSE Factory <factory@lists.opensuse.org>:
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 find it a bit strange when it is announced that yqpkg is to become the new package management tool and then there is not even a package in the obs. But well. I built it once. You can test it if you like. Under home:ecsos Or: opi yqpkg Regards Eric
El 24/12/24 a las 14:48, Eric Schirra escribió:
I find it a bit strange when it is announced that yqpkg is to become the new package management tool and then there is not even a package in the obs.
me too...
But well. I built it once. You can test it if you like.
Hey thanks a lot!! :)
Under home:ecsos Or: opi yqpkg
Regards Eric
-- ------------------- GPG Key: 0xcc742e8dc9b7e22a Fingerprint = 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A Aprende a proteger la privacidad de tu correo: https://emailselfdefense.fsf.org/es/ Mi blog sobre openSUSE, GNU/Linux y software libre: https://victorhckinthefreeworld.com/ Herramientas para proteger tu privacidad https://victorhck.gitlab.io/privacytools-es/
participants (3)
-
Ben Greiner
-
Eric Schirra
-
victorhck