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 535958 - configure --without-x ignored or fails
configure --without-x ignored or fails
Status: RESOLVED WONTFIX
Product: libgnomeui
Classification: Deprecated
Component: general
CVS HEAD
Other All
: Normal normal
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-05-31 19:38 UTC by John Ralls
Modified: 2019-02-23 02:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description John Ralls 2008-05-31 19:38:07 UTC
Please describe the problem:
If, when building on unix or linux one specifies configure --without-x (or, I suppose, leaves off --with-x), configure will attempt to find X11 libraries anyway. If it succeeds, it happily configures Makefile to use them. If it doesn't, it fails with "libX11 not found".

This is likely of concern only on OSX, as other unix-like platforms need X11 for libgnomeui.

The following patch corrects the failure, but the operation of --with-x is a matter for the developers to resolve. It seems to me that the AC_ARG_WITH behavior should be inverted so that --with-x is the default and --without-x prevents X11 detection.

Anyway, here's the patch:

Index: configure.in
===================================================================
--- configure.in        (revision 5608)
+++ configure.in        (working copy)
@@ -116,7 +116,7 @@
     gnome_keyring_requirement="gnome-keyring-1 >= gnome_keyring_required_version"
     GNOME_KEYRING="gnome-keyring-1"
 
-    if test x$GNOME_HAVE_X11 != xyes ; then
+    if test x$have_x != xdisabled && test x$GNOME_HAVE_X11 != xyes ; then
         AC_MSG_ERROR([libX11 not found])
     fi
     ;;


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2019-02-23 02:41:40 UTC
libgnome and libgnomeui were only used in GNOME 2 and are not under active development anymore. Their codebases have been archived:
https://gitlab.gnome.org/Archive/libgnome/commits/master
https://gitlab.gnome.org/Archive/libgnomeui/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality.