Bill Pringlemeir wrote: > I am trying to compile gtkg 0.95 on Mandrake 10.0 with GTK2. I have > no internationalization. The "gtk_alignment_set_padding" seems to be > in a glade generated file. Do I need a particular version of GTK2?
This function was added in GTK+ 2.4.x. I had formerly manually removed everything which requires GTK+ 2.4.x from the GUI in glade. Unfortunately, glade adds such functions everytime you create a frame widget now and you have to manually remove the alignment widget. I had fixed this in CVS a few days ago. However, I've been using GTK+ 2.4.x for quite a while now, so I can't guarantee that it works with GTK+ 2.2.x. Thus, the easiest way is to either upgrade GTK+ to 2.4.x or otherwise using gtk-gnutella from CVS. > Maybe I have to recompile this file? ... I moved it and then the build > tried to run glade to regenerate the file. Glade didn't install by > default. Hell no. You don't need to install Gnome or Glade for gtk-gnutella. You need glade only to generate some source files from the glade files. All generated files are included in the tarballs and CVS. If the execution of glade fails, this is ignored, so don't be fooled by those error messages. > I then tried to install glade, but I can not find the RPM > dependencies gnome-libs-devel and gtk+-devel, You can install glade without Gnome support which might save you a feew hours if you compile it yourself. > [EMAIL PROTECTED] RPMS2]# rpm -i glade-0.6.4-6mdk.i586.rpm > error: Failed dependencies: > gnome-libs-devel >= 1.0.14 is needed by glade-0.6.4-6mdk > gtk+-devel >= 1.2.8 is needed by glade-0.6.4-6mdk Sorry, that's the wrong glade. You'd need glade-2 (2.6.x). The one you're trying to install is for GTK+ 1.2.x. It's a pity that Linux distributions have something like *-devel packages anyway. There's no point in this if the only difference is missing header files. > I suppose this is probably a brain dead question. I need to install > glade. I think the intent of providing the generated files in the > distribution is so that people don't install glade. Absolutely. As you see, installing it can be quite a PITA. > btw, the generated RPMs will not install on Mandrake 10.0, because the > glibc is off by a minor version (2.3.3 vs 2.3.4). That's one of the reasons *I personally* despise binary distributions, although there's probably no way around those for the common Linux user. -- Christian
pgpbCKc8LCmh7.pgp
Description: PGP signature
