Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED]Compiled urn-gtk wont run #30

Open
Metagross31 opened this issue May 30, 2017 · 6 comments
Open

[SOLVED]Compiled urn-gtk wont run #30

Metagross31 opened this issue May 30, 2017 · 6 comments

Comments

@Metagross31
Copy link

Metagross31 commented May 30, 2017

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
Copy link

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

@Metagross31
Copy link
Author

Metagross31 commented Jun 6, 2017

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.

@Metagross31 Metagross31 changed the title Won't compile using 'make' Compiled urn-gtk wont run Jun 6, 2017
@chrboe
Copy link
Contributor

chrboe commented Jun 6, 2017

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

@Metagross31
Copy link
Author

https://pastebin.com/ssJYBcK5

thats what I get.

@chrboe
Copy link
Contributor

chrboe commented Jun 6, 2017

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 Metagross31 changed the title Compiled urn-gtk wont run [SOLVED]Compiled urn-gtk wont run Jun 6, 2017
@Metagross31
Copy link
Author

Thank you, that helped ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants