The distro I am using atm has gtk2 and 3, and apparetnly no gtk. I am attempting to compile an older program. This fails because the older program was written for gtk.
Googling reveals many things, including this:
https://developer.gnome.org/gtk2/sta...compiling.html
In the Makefile (note: the program in question does not have a ./configure, just a Makefile) I found:
Code:
mindguard: mindguard.c mindguard.h
$(CC) `gtk-config --cflags` mindguard.c -o mindguard `gtk-config --libs`
And changed it to:
Code:
mindguard: mindguard.c mindguard.h
$(CC) `pkg-config --cflags gtk+-2.0` mindguard.c -o mindguard `pkg-config --libs gtk+-2.0`
note: mindguard is the program in question and it is no longer supported (author does not answer emails and there is no associated forum).
That also fails. Though the error messages differ from before, they are incomprehensible.
It seems that there must be a simple general-case system of compiling gtk programs for gtk2. it seems this would be a common task? And thus there should be a simple and common solution? Something google is overlooking? If so, could someone let me know? Thank you.