Closed dduran1210 closed 1 year ago
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
You need to find out why the C compiler in your system is failing to build a test program. You are either attempting to cross-compile somehow by accident, or you don't have the full toolchain installed.
It also looks related to
Detecting C compiler ABI info - failed
Please refer to your distribution's documentation.
have no idea what you are talking about....i am NOT a computer programmer !!
how about putting it in a .deb package for easy installation ?? geez !
On Tue, Jan 24, 2023 at 4:02 AM Tasos Sahanidis @.***> wrote:
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
You need to find out why the C compiler in your system is failing to build a test program. You are either attempting to cross-compile somehow by accident, or you don't have the full toolchain installed.
It also looks related to
Detecting C compiler ABI info - failed
Please refer to your distribution's documentation.
— Reply to this email directly, view it on GitHub https://github.com/alarm-clock-applet/alarm-clock/issues/216#issuecomment-1401740580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV5VBAVV2GTDCTLC7JHLFDWT6ZD5ANCNFSM6AAAAAAUDEDTLQ . You are receiving this because you authored the thread.Message ID: @.***>
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
You need to find out why the C compiler in your system is failing to build a test program. You are either attempting to cross-compile somehow by accident, or you don't have the full toolchain installed.
It also looks related to
Detecting C compiler ABI info - failed
Hi from a lurker here.. Hopefully I'm correctly cognitively grasping this conversation. It made me think of LFS (Linux From Scratch) and how they provide a "version-check" with their instructions. A current example can be found in their Host System Requirements script.
Maybe some day something similar could be developed as a wishlist to-do item. Actually, I've already turned to that script as-is while playing around with compiling non-LFS packages here on my own machine. It's pretty complete. So far, it has worked during that type of non-LFS usage. :smile:
NOTE: If and when that document evolves off the Net, its updated version can be found on their /lfs/downloads/development webpage.
@dduran1210 if you're on Ubuntu or an Ubuntu based distro you can use the PPA here https://alarm-clock-applet.github.io/#ubuntu. The instructions for setting it up are on the github pages for this project https://alarm-clock-applet.github.io/#ubuntu
HAZEMATMAN, THANK YOU ! this worked perfect and so much easier to install. Geez can't believe the hassle of trying to install things thru github.
~/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1$ mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make sudo make install -- The C compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - broken CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message): The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:36 (project)
-- Configuring incomplete, errors occurred! See also "/home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeOutput.log". See also "/home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeError.log". make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop. dave@primary:~/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build$