Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've posted this to just about every other list, so I'll post it here too. What gives!? I downloaded, untarred, compiled and sucessfully installed gtk+1.2.10 and glib-1.2.10 and they apparently installed without problems. I can do gtk-config --libs --cflags --version and it gives all the correct answers. I've just about lost my mind. I have the files in the /usr/include/gtk-1.2/gtk/gtk.h path...but I get a error from a makefile I'm trying to execute says "gtk/gtk.h: No such file or directory". I've done the customary updatedb and everything else I can think of.
HELP? I seem to notice that there are LOTS of people having this problem here....maybe we can get an answer?...
OK, so I took my gtk and gfk directories and moved them into /usr/include/<gtk, gdk>. I then edited my ld.so.conf to include those paths, and re-did ldconfig. I also re-ran updatedb as ROOT. NOW I don't get the gtk/gtk.h errors anymore, BUT, I get approx 5,400 lines of this kind of stuff:
cc -O3 -funroll-loops -fomit-frame-pointer -pipe -DHAVE_CONFIG_H `libnet-config --defines` -c main.c -o main.o
In file included from /usr/include/gdk/gdk.h:31,
from /usr/include/gtk/gtk.h:31,
from gtk_main.h:37,
from firepack.h:41,
from firewalk.h:38,
from main.c:39:
/usr/include/gdk/gdktypes.h:33:18: glib.h: No such file or directory
In file included from /usr/include/gdk/gdk.h:31,
from /usr/include/gtk/gtk.h:31,
from gtk_main.h:37,
from firepack.h:41,
from firewalk.h:38,
from main.c:39:
/usr/include/gdk/gdktypes.h:52: parse error before "GdkAtom"
/usr/include/gdk/gdktypes.h:98: parse error before "gpointer"
/usr/include/gdk/gdktypes.h:103: parse error before "GdkWChar"
In file included from /usr/include/gdk/gdk.h:31,
from /usr/include/gtk/gtk.h:31,
from gtk_main.h:37,
from firepack.h:41,
from firewalk.h:38,
from main.c:39:
/usr/include/gdk/gdktypes.h:694: parse error before "data"
/usr/include/gdk/gdktypes.h:698: parse error before "data"
/usr/include/gdk/gdktypes.h:759: parse error before "gulong"
/usr/include/gdk/gdktypes.h:761: parse error before "green"
/usr/include/gdk/gdktypes.h:762: parse error before "blue"
/usr/include/gdk/gdktypes.h:770: parse error before "gint"
/usr/include/gdk/gdktypes.h:772: parse error before '}' token
/usr/include/gdk/gdktypes.h:789: parse error before "gint"
/usr/include/gdk/gdktypes.h:791: parse error before "colormap_size"
/usr/include/gdk/gdktypes.h:792: parse error before "bits_per_rgb"
/usr/include/gdk/gdktypes.h:794: parse error before "red_mask"
/usr/include/gdk/gdktypes.h:795: parse error before "red_shift"
/usr/include/gdk/gdktypes.h:796: parse error before "red_prec"
/usr/include/gdk/gdktypes.h:798: parse error before "green_mask"
/usr/include/gdk/gdktypes.h:799: parse error before "green_shift"
What in Sam Hill is going on?!
Yes, before you even ask, glib is sitting in /usr/lib/glib...arg
ldconfig will update your library directory path, updatedb have nothing to do with your gtk lib...
-First, what's the program you want to install?
-Second, are you sure you have all correct library required by your progs, or you do you have an old version version of gtk laying somewhere on your system?
I'm trying to compile Firewalk from www.packetfactory.net. The developer doesn't specify which version of GTK it needs, but I have 1.2.10 installed properly as far as I know.
I'm not sure - I think I'm just missing something. I have a recent copy of glib - could that be it? Is there a newer one?...how do I know which version I have?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.