'gio.h no such file or directory
I am trying to compile the GIO example program code at here on developer.gnome.org link. And the command I am using to compile it is
g++ gdbserver.cpp `pkg-config glib-2.0 --libs --cflags gtk+-2.0 gio-unix-2.0`
But an error message
package gio-unix-2.0 was not found in the pkg-config search path
(... the remaining pkg-config message ...)
error: gio/gio.h: No such file or directory
(... other g++ error messages ...)
glib and glib-devel are installed ( I think GIO comes with glib, right?) Is there a mistake I am doing here.
edit : The centos5.5 I am using (I am supposed to use it) has glib2 version 2.12 and only glib2 with version 2.15 or higher come along with GIO. I am not sure how to install GIO seperately.
Solution 1:[1]
CentOS 5.5 does not have gio. It uses gvfs instead.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ignacio Vazquez-Abrams |