alarm-clock-applet / alarm-clock

Alarm Clock is a fully-featured alarm clock for use with an AppIndicator implementation.
https://alarm-clock-applet.github.io
GNU General Public License v2.0
121 stars 31 forks source link

new version of alarm clock won't install either!! #216

Closed dduran1210 closed 1 year ago

dduran1210 commented 1 year ago

~/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

"/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_93bea/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_93bea.dir/build.make CMakeFiles/cmTC_93bea.dir/build
gmake[1]: Entering directory '/home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_93bea.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_93bea.dir/testCCompiler.c.o -c /home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_93bea
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93bea.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_93bea.dir/testCCompiler.c.o -o cmTC_93bea 
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_93bea.dir/build.make:106: cmTC_93bea] Error 1
gmake[1]: Leaving directory '/home/dave/alarm-clock-0.4.1/build/build/build/alarm-clock-0.4.1/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:140: cmTC_93bea/fast] Error 2

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$

tatokis commented 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.

dduran1210 commented 1 year ago

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: @.***>

Butterfly commented 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

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.

Hazematman commented 1 year ago

@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

dduran1210 commented 1 year ago

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.