After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110523 - GTK+ 2.2.1 fails to build on Solaris 2.5.1/SPARC
GTK+ 2.2.1 fails to build on Solaris 2.5.1/SPARC
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.2.x
Other Solaris
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-04-11 05:21 UTC by The Written Word
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add back support for --disable-xim on systems without XIM (879 bytes, patch)
2003-04-11 21:22 UTC, The Written Word
none Details | Review
New patch with gdk/x11/gdkdisplay-x11.c included (2.06 KB, patch)
2003-04-12 14:12 UTC, The Written Word
none Details | Review
Patch as applied (4.27 KB, patch)
2003-04-18 20:55 UTC, Owen Taylor
none Details | Review

Description The Written Word 2003-04-11 05:21:12 UTC
I've read through the mail archives covering the X11R6-requirement for GTK+
2.2.1 and possible fixes to get it to build under X11R5:
  http://mail.gnome.org/archives/gtk-devel-list/2002-August/msg00012.html

What's the chance of an option to the build machinery to disable XIM to
allow building under X11R5?

If you provide enough details for a non-X person, I might take a crack at this.
Comment 1 Owen Taylor 2003-04-11 12:35:24 UTC
See:

 http://mail.gnome.org/archives/gtk-devel-list/2002-August/msg00012.html

Which sketches out what would need to be done, and then
goes on to say:

 On the other hand, X11R6 was released on May 2, 1994, over 8
 years ago, and 2 years before development of GTK+ started...

[ Over 9 years ago now :-) ]
Comment 2 The Written Word 2003-04-11 21:22:24 UTC
Created attachment 15652 [details] [review]
Add back support for --disable-xim on systems without XIM
Comment 3 The Written Word 2003-04-12 14:09:05 UTC
Oops, forgot the patch to gdk/x11/gdkdisplay-x11.c. Next patch will
fix this.
Comment 4 The Written Word 2003-04-12 14:12:14 UTC
Created attachment 15667 [details] [review]
New patch with gdk/x11/gdkdisplay-x11.c included
Comment 5 Owen Taylor 2003-04-18 20:54:54 UTC
I've committed what should be a fix, testing appreciated.

Fri Apr 18 16:31:49 2003  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
        Check for XAddConnectionWatch()/X11R6, and if found, disable
XIM and
        use of XAddConnectionWatch. Remove --enable-xim config option.
        Should fix building on X11R6 (#110523, Albert Chin)
Comment 6 Owen Taylor 2003-04-18 20:55:24 UTC
Created attachment 15839 [details] [review]
Patch as applied