gnome-libs: configure fails
- From: Bobo Rajec <bobo bsp-consulting sk>
- To: gnome-list gnome org
- Subject: gnome-libs: configure fails
- Date: Wed, 23 Sep 1998 10:16:04 +0200 (CEST)
Bug: on my system, configure in gnome-libs, gnome-core, ... , fails to
link the test program. The linker complains about g_warning, g_error
and g_scanner_add_symbol not being defined.These functions are macros
in glib.h. The configure test program does not include <glib.h>, which
is why it fails.
I think adding #include <glib.h> to gtk.m4 could help here.
bobo rajec
-----------------------------------------------------------------------
configure output:
checking for GTK - version >= 1.1.1... 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: /home/bobo/gnome/bin/gtk-config
configure: error: GTK not installed
config.log:
configure:2102: gcc -o conftest -g -I/home/bobo/gnome/include -L/home/bobo/gnome/lib -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wall -W -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -I/usr/X11R6/include -I/home/bobo/gnome/lib/glib/include -I/home/bobo/gnome/include conftest.c -L/home/bobo/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule-1.1 -lglib-1.1 -ldl -lXext -lX11 -lm 1>&5
/usr/lib/libgtk.so: undefined reference to `g_scanner_add_symbol'
/usr/lib/libgtk.so: undefined reference to `g_warning'
/usr/lib/libgtk.so: undefined reference to `g_error'
configure: failed program was:
#line 2092 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
#include <stdio.h>
int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]