To add to what hniksic provided yesterday, here are my experiences
building xemacs-gtk. I hope this information is useful; I'll keep on
digging deeper to figure out what exactly the correct fix.
The main issues are:
1) the strange [non]scrollbars; see the attached png. The appended
Installation shows that XEmacs thinks it's built with GTK scrollbars.
2) (unimplemented/notice) GTK does not support XPM cursors.
If xpm and gtk don't mix then configure should warn to that effect. I
tried with both a block cursor and a 1 pixel bar cursor, but the error
still occurs.
3) I got the same GTK 1.2.9 error that hniksic reported; somehow
configure finds my gtk and gnome libraries anyway. However...
4) Looking at the configure output, we see the following:
checking for glade/glade.h... no
checking for glade.h... no
And in config.log, we see
configure:5245: checking for glade/glade.h
configure:5253: gcc -E conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/glade/glade.h:55,
from configure:5249:
/usr/include/glade/glade-xml.h:25: glib.h: No such file or directory
/usr/include/glade/glade-xml.h:26: gtk/gtkdata.h: No such file or directory
/usr/include/glade/glade-xml.h:27: gtk/gtkwidget.h: No such file or directory
/usr/include/glade/glade-xml.h:28: gtk/gtktooltips.h: No such file or directory
configure: failed program was:
#line 5248 "configure"
#include "confdefs.h"
#include <glade/glade.h>
configure:5245: checking for glade.h
configure:5253: gcc -E conftest.c >/dev/null 2>conftest.out
configure:5249: glade.h: No such file or directory
configure: failed program was:
#line 5248 "configure"
#include "confdefs.h"
#include <glade.h>
So glade doesn't work because the output of gtk-config and gnome-config
wasn't passed by configure to the conftest program. And to make things
even more interesting, XEmacs built with -lglade anyway (!). So I'm
confused. I was able to force configure to use the correct includes by
adding ${GTK_INCLUDES} and ${GNOME_INCLUDES} to the command line used to
build the conftest, but that's obviously not the right answer.
Installation:
uname -a: Linux yitzchak 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
../gx/configure '--with-xfs' '--with-gtk=yes' '--with-gnome=yes' '--with-xface' '--extra-verbose' '-debug' '--cache-file=/dev/null' '--external-widget'
XEmacs 21.2-b46 "Urania" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/ysh/xecvs/gx
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Using GTK menubars.
Using GTK scrollbars.
Using GTK dialog boxes.
Using GTK native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Internationalization:
- Using XFontSet to provide bilingual menubar.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
PNG image of fresh gtk-xemacs: