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 674200 - ./configure gives wrong error message if -lXext is not installed
./configure gives wrong error message if -lXext is not installed
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-04-16 13:31 UTC by Allison Karlitskaya (desrt)
Modified: 2012-04-20 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
./configure: fix error output for no -libXext (1.31 KB, patch)
2012-04-16 13:36 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2012-04-16 13:31:53 UTC
we have these checks:

  AC_CHECK_FUNC(XOpenDisplay, :,
                AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]))
  AC_CHECK_FUNC(XextFindDisplay, :,
                AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]))

They both try to link '-lX11 -lXext', which means that even the first one will fail if libXext is missing, but you will get an error about missing libX11.
Comment 1 Allison Karlitskaya (desrt) 2012-04-16 13:36:14 UTC
Created attachment 212145 [details] [review]
./configure: fix error output for no -libXext

Due to the way the tests are structured, a missing libXext will give a
warning about a missing libX11 (even if libX11 is installed).  This is
confusing to people who are trying to build Gtk.
Comment 2 Matthias Clasen 2012-04-20 03:38:54 UTC
Review of attachment 212145 [details] [review]:

sure
Comment 3 Allison Karlitskaya (desrt) 2012-04-20 18:40:13 UTC
Attachment 212145 [details] pushed as e84809c - ./configure: fix error output for no -libXext