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

glib issue #4

Closed
hfingler opened this issue May 23, 2017 · 1 comment
Closed

glib issue #4

hfingler opened this issue May 23, 2017 · 1 comment

Comments

@hfingler
Copy link

hfingler commented May 23, 2017

I'm trying to use the tool but glib is giving me a headache. I've tried installing from Ubuntu Xenial repository, latest glib from source and 2.32 from source, none worked, ./configure still says it can't find glib.h. Issue @3 didn't help.

Copying the .so solved the first error (glib not found), but even after copying the .h files to /usr/local/include I still get: configure: error: *** Working glib.h header not found ***

How can I fix this?
Thank you.

@hfingler
Copy link
Author

After trying fixing this for 4 hours, of course I'm able to make it after I post an issue...

The entire folder needs to be copied (not elegant but whatever). In Xenial:

cp -r /usr/include/glib-2.0/* /usr/local/include
cp /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h /usr/local/include

and the .so:

ln -s /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/local/lib/libglib.so

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

1 participant