I am developing an application in which I require to use PolicyKit and it appears PolicyKit uses Glib libraries. What happens is that I installed PolicyKit, but the location of the headers are on /usr/include/polkit-1/ and /usr/include/glib-2.0.
and the headers have on their inside locations like
/usr/include/,
/usr/include/polkit,
/usr/include/gobject.
I can't compile because the compiler doesn't find the headers in the location the headers say they are supposed to be. I tried modifying each header individually, but its taking too long and I don't know when I'll be done.
The problem here is that when they are installed, they are installed in /usr/include/polkit-1 and /usr/include/glib-2.0 when they are supposed to be installed in /usr/include alone. In other words, the folder polkit-1 and glib-2.0 shouldn't be there. Anyone know of anyway to fix this quickly by putting the files and folders in their respective locations?