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
118 stars 31 forks source link

/home/dave/alarm-clock-0.4. cannot install in kumander os #224

Closed dduran1210 closed 4 months ago

dduran1210 commented 4 months ago

/home/dave/alarm-clock-0.4.1/src/alarm-applet.h:16:10: fatal error: gtk/gtk.h: No such file or directory 16 | #include <gtk/gtk.h>

how do i create this and where ?

tatokis commented 4 months ago

When you see a message like this, it means some dependency is missing. In this case, GTK is what is used to actually make the UI.

Have you installed the dependencies? https://github.com/alarm-clock-applet/alarm-clock/#debianubuntu-specific-dependency-packages

That said, the build system shouldn't have gotten that far without the GTK development files (libgtk-3-dev), so I will need to look into that as well.

dduran1210 commented 4 months ago

Yes, I did! did not help or fix anything.

On Sat, Mar 9, 2024 at 1:05 AM Tasos Sahanidis @.***> wrote:

When you see a message like this, it means some dependency is missing. In this case, GTK is what is used to actually make the UI.

Have you installed the dependencies? https://github.com/alarm-clock-applet/alarm-clock/#debianubuntu-specific-dependency-packages

That said, the build system shouldn't have gotten that far without the GTK development files (libgtk-3-dev), so I will need to look into that as well.

— Reply to this email directly, view it on GitHub https://github.com/alarm-clock-applet/alarm-clock/issues/224#issuecomment-1986787740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV5VBFP3OKRAJFIC557MDTYXK7C7AVCNFSM6AAAAABEECW7ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWG44DONZUGA . You are receiving this because you authored the thread.Message ID: @.***>

tatokis commented 4 months ago

I looked into it further, and this is an issue with Kumander.

As a workaround, you can run the following command which will create a symlink (a shortcut) so that the compiler can find the correct files. You only need to run this once.

sudo ln -s /usr /opt/gtk

and then simply proceed with the make command as per the instructions.

image

What happens is the following files in /usr/lib/x86_64-linux-gnu/pkgconfig/ have prefix=/opt/gtk set, and that path does not exist. It should be set to prefix=/usr.

C:/usr/lib/x86_64-linux-gnu/pkgconfig>grep -R /opt
gail-3.0.pc:prefix=/opt/gtk
gdk-3.0.pc:prefix=/opt/gtk
gdk-wayland-3.0.pc:prefix=/opt/gtk
gdk-x11-3.0.pc:prefix=/opt/gtk
gtk+-3.0.pc:prefix=/opt/gtk
gtk+-unix-print-3.0.pc:prefix=/opt/gtk
gtk+-wayland-3.0.pc:prefix=/opt/gtk
gtk+-x11-3.0.pc:prefix=/opt/gtk

You will need to contact them, linking to this issue, so that they can fix this issue in their OS.