a wierd battle with gtk



Hello all,

	I'm new to the list so if I'm breaking a "get down on knees and plead
for help" etiquitte please tell me.

	I'm attempting to compile gnome-libs 0.3.1  I've compiled all the
necessary packages before that, and my ./configure goes fine up until it tests
for gtk.  I get this

checking for gtk-config... (cached) /usr/local/bin/gtk-config
checking for GTK - version >= 1.1.1... no
*** Could not run GTK test program, checking why...


It then goes on to tell me that it wasn't installed correctly, blah blah blah. 

This happens even if i do ./configure --with-gtk-prefix=/usr/local

So I decided to play with gtk-config and see what it's telling me.  

coredump:/usr/src/gnome/gnome-libs-0.30.1# gtk-config --version --libs --cflags
1.1.1
-L/usr/local/lib -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -lglib -lXext -lX11 -lm
-I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include


This stuff about /usr/X11R6/*  I know I have older gtk versions in there.  Yet
it does tell me I have 1.1.1.  So for the time being i decided to move the old
gtk in /usr/X11R6 and set up symbolic links

lrwxrwxrwx   1 root     root           22 Nov 18 17:26 /usr/X11R6/include/gtk -> /usr/local/include/gtk/
lrwxrwxrwx   1 root     root           30 Nov 20 07:48 /usr/X11R6/lib/libgtk-1.1.so -> /usr/local/lib/libgtk-1.1.so.1
lrwxrwxrwx   1 root     root           25 Nov 19 15:03 /usr/X11R6/bin/gtk-config -> /usr/local/bin/gtk-config*

on the /usr/local/ end I have 

lrwxrwxrwx   1 root     root           13 Nov 20 07:51 libgtk.so -> libgtk-1.1.so
lrwxrwxrwx   1 root     root           15 Nov 20 07:51 libgtk-1.1.so -> libgtk-1.1.so.1
lrwxrwxrwx   1 root     root           19 Nov 20 06:16 libgtk-1.1.so.1 -> libgtk-1.1.so.1.0.0

and then the appropriate /usr/local/includes and a gtk-cofnig in /usr/local/bin

../configure in gome-libs-0.3.1 still can't identify that I have >= 1.1.1
though.  If I configure with a --disable-gtktest it configs, but when I make I
get 

gnome-canvas.c:361: too many arguments to function `gtk_object_args_collect'
gnome-canvas.c: In function `gnome_canvas_item_reparent':
gnome-canvas.c:665: warning: unused variable `old_parent'
make[2]: *** [gnome-canvas.lo] Error 1
make[2]: Leaving directory `/usr/src/gnome/gnome-libs-0.30.1/libgnomeui'


and other associated errors.  Is there anything else I can do to identify
remedy this problem?  Being relatively new to linux I'm happy I was able to
figure this much out but am now stuck

Thank you

Brian M Dial



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]