From: Philip L. <ph...@ed...> - 2006-10-05 01:45:03
|
On 04/10/2006, at 3:34 PM, Braden McDaniel wrote: > On Tue, 2006-10-03 at 20:37 -0400, Braden McDaniel wrote: > >> By "remove the offending bits", are you referring to applying the >> patch >> I provided in response to Thomas Engelmeier's recent posting? (If >> not, >> you'll need it. I'll push those changes to the OpenVRML-0_16-BRANCH >> soon; but they aren't there as of this writing.) > > I've checked in what I think is an equivalent (but slightly more > minimal) change to said branch. I'd appreciate it if you could test it > to confirm it works as intended. It will be rather painful for me to > create an environment where the GTK libraries are missing. Building on Mac OS X 10.4.8, from 0.16.0 release tarball, even when the --disable-gtkplug --disable-mozilla-plugin parameters are passed to configure, compilation still occurs of the gtkglext plugin!! The following directories are configured and compiled: mozilla-plugin/lib/gtkglext/gdk/ mozilla-plugin/lib/gtkglext/x11/ mozilla-plugin/lib/gtkglext/gtk/ This obviously causes issues on a machine where glib and gtk are not installed!! Here is a dump of a representative part of the buildlog: === SNIP === Making all in mozilla-plugin Making all in lib Making all in gtkglext make all-recursive Making all in gdk ( cd . && glib-mkenums \ --fhead "#ifndef __GDK_GL_ENUM_TYPES_H__\n#define __GDK_GL_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS \n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "G_END_DECLS\n\n#endif /* __GDK_GL_ENUM_TYPES_H__ */" \ gdkgl.h gdkgldefs.h gdkglversion.h gdkgltokens.h gdkgltypes.h gdkglinit.h gdkglquery.h gdkglconfig.h gdkglcontext.h gdkgldrawable.h gdkglpixmap.h gdkglwindow.h gdkglfont.h gdkglshapes.h gdkglglext.h ) >> xgen-geth \ && (cmp -s xgen-geth gdkglenumtypes.h || cp xgen-geth gdkglenumtypes.h ) \ && rm -f xgen-geth \ && echo timestamp > stamp-gdkglenumtypes-h ( cd . && glib-mkenums \ --fhead "#include \"gdkgl.h\"" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ gdkgl.h gdkgldefs.h gdkglversion.h gdkgltokens.h gdkgltypes.h gdkglinit.h gdkglquery.h gdkglconfig.h gdkglcontext.h gdkgldrawable.h gdkglpixmap.h gdkglwindow.h gdkglfont.h gdkglshapes.h gdkglglext.h ) > xgen-getc \ && cp xgen-getc gdkglenumtypes.c \ && rm -f xgen-getc make all-recursive Making all in glext make[8]: Nothing to be done for `all'. Making all in x11 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - I. -I. -I../.. -DG_LOG_DOMAIN=\"GdkGLExt\" -DGDK_GL_COMPILATION - DINSIDE_GDK_GL_X11 -I../.. -I../../gdk -I../../gdk -DG_ENABLE_DEBUG - I/usr/X11R6/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/ freetype2 -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include - DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED - DGDK_PIXBUF_DISABLE_DEPRECATED -I/sw/include -g -O2 -Wall -g -MT gdkglquery-x11.lo -MD -MP -MF ".deps/gdkglquery-x11.Tpo" -c -o gdkglquery-x11.lo gdkglquery-x11.c; \ === SNIP === However the issue seems to be much earlier, with these directories still being included in the configure procedure. Regards, Phil. |