|
From: Damian M. <da...@er...> - 2002-01-08 00:12:04
|
> > Damian McGuckin had the following problem building GTKLOOKAT from
> > sources
> >
> > aclocal: configure.in: 9: macro `AM_PATH_GTK' not found in library
> >
> > It won't be found in /usr/local/share/aclocal because it came with the
> > release of the O/S.
> >
> > What's the problem?
> >
> Thomas Flynn had another problem
>
> I don't get this problem on my system but instead get the following
> error when running configure
>
> checking for gtk-config... /usr/bin/gtk-config
> checking for GTK - version >= 1.2.0... yes
> ./configure: line 2599: syntax error near unexpected token `OV_PATH_GTKGL(,'
> ./configure: line 2599: `OV_PATH_GTKGL(, { { echo "$as_me:$LINENO:
> error: Missing GtkGLArea. See 'config.log' for details." >&5'
>
> GtkGLArea is correctly installed on my system under /usr
> [tflynn@cr471342-a gtklookat]$ rpm -q gtkglarea
> gtkglarea-1.2.2-10
My results are
$ /usr/bin/gtk-config --version
1.2.10
$
and also
$ /usr/bin/gtk-config --cflags
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 \\
-I/usr/lib/glib/include -I/usr/X11R6/include
and
$ /usr/bin/gtk-config --libs
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic \\
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
$
where I have deliberately added in the \\ to imply that the line is really
wrapped.
And because GTK-1.2 is preinstalled ( rather than RPM'd ) on the latest
release of Mandrake Linux, the next command will give a very predicatable
result.
$ rpm -q gtkglarea
package gtk is not installed
Obviously the installation process is relying on some macro set-up by the
rpm. Any ideas what it is? Tom, do you have some m4 macro related to gtk
in the area /usr/local/share/aclocal, or anywhere else for that matter?
In the end, I just copied the 2 Makefiles from the previous version of
gtklookat-0.9.1 and the executable compiled and built fine. However, this
expediency is not the answer. Something seems non-robust. We shouldn't
need to install some new release of GTK just to get OpenVRML working. I
just can't pin-point it. Maybe we need an m4 macro for those who don't
have got GTK rpm'd on their system. Maybe I'm just talking through my
hat.
Many Thanks - Damian (McGuckin)
Pacific Engineering Systems International, 22/8 Campbell St, Artarmon NSW 2064
Ph:+61-2-99063377 .. Fx:+61-2-99063468 | unsolicited email not wanted here !
Views and opinions here are mine and not those of any past or present employer
|