3snowp7im / urn

Split tracker / timer with GTK+ frontend
GNU General Public License v3.0
126 stars 36 forks source link

[SOLVED]Compiled urn-gtk wont run #30

Open Metagross31 opened 7 years ago

Metagross31 commented 7 years ago

Hey Guys,

I cloned the archive and cd'ed into it, but when I run the 'make' command, I get the following error:

cc `pkg-config --cflags gtk+-3.0 x11 jansson`   -c -o urn-gtk.o urn-gtk.c
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package jansson was not found in the pkg-config search path.
Perhaps you should add the directory containing `jansson.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jansson' found
urn-gtk.c:8:21: fatal error: gtk/gtk.h: File or Directory not found
compilation terminated.

I have installed the latest version of libgtk+-3.0, x11 and libjansson offered by the apt package manager (I'm using Linux Mint 18 with Kernel version 4.4.0-21-generic).

How do I fix this issue?

Thanks in advance ;)

slashinfty commented 7 years ago

Try installing libjansson-dev and libgtk-3-dev (i did this on Lubuntu via apt-get).

Metagross31 commented 7 years ago

Thank you very much, make now compiles properly. But if I use ./urn-gtk splits/sotn.json now, it gives the following: (urn-gtk:7315): GLib-GIO-ERROR **: Settings schema 'wildmouse.urn' is not installed Trace/breakpoint trap

Trying sudo make install gives a very long error message, that I can post, if needed.

chrboe commented 7 years ago

Yes, please post the output of sudo make install (use pastebin if it's too long)

Metagross31 commented 7 years ago

https://pastebin.com/ssJYBcK5

thats what I get.

chrboe commented 7 years ago

This isn't listed anywhere, but ImageMagick is required for the make install step. Do you have ImageMagick installed? If so, please post the output of convert -list delegate.

Edit: Nevermind, this issue has occurred before. See #12

Metagross31 commented 7 years ago

Thank you, that helped ;)