Subject: Re: pkg GConf fails to install some files
To: Julio M. Merino Vidal <email@example.com>
From: Rhialto <firstname.lastname@example.org>
Date: 04/11/2004 23:58:57
On Sun 11 Apr 2004 at 23:05:15 +0200, Julio M. Merino Vidal wrote:
> It seems that the configure script did not detect gtk. I checked GConf's
> Makefile, and it doesn't have a direct dependency on it, but it appears
> as an indirect one...
> Can you add:
> .include "../../x11/gtk/buildlink2.mk"
> to GConf's Makefile and build it again, to see if it fixes the problem?
Indeed, that seems to be the problem. The same happened (gtk not
detected) when I proceeded and built gnome-vfs, except that in that case
the build aborted completely. Here is what I got after adding your line
above and retrying GConf:
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk-config
The reason is that <gtk/gtk.h> is not found:
configure:7841: gcc -o conftest -O2 -mieee -I/usr/pkg/include -I/usr/X11R6/include -Wall -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/db3 -I/usr/pkg/include -I/usr/X11R6/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lintl -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm >&5
configure:7828: gtk/gtk.h: No such file or directory
configure:7844: $? = 1
configure: failed program was:
#line 7826 "configure"
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
I do however have that file, and its directory is -Included:
$ l /usr/X11R6/include/gtk-1.2/gtk/gtk.h
-r--r--r-- 1 root wheel 4155 Oct 30 21:29 /usr/X11R6/include/gtk-1.2/gtk/gtk.h
the buildlink2.mk file of x11/gtk does seem to include that file too:
but it does NOT show up in the .buildlink directory.
I did notice that when I started my building activity, xpkgwedge was
built. I remembered reading something about that (it becoming default).
Could that explain matters? Lots of other related header files are
linked from .buildlink, so it's probably just a problem specific to x11/gtk.
___ Olaf 'Rhialto' Seibert
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.