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 325545 - Please check for -lX11 in AC_PATH_XTRA
Please check for -lX11 in AC_PATH_XTRA
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
0.10.0
Other Linux
: Normal enhancement
: 0.10.14
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-02 21:01 UTC by Loïc Minier
Modified: 2007-09-14 16:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2006-01-02 21:01:55 UTC
Hi,

I don't know what distribution is used to "make dist" gstreamer modules, but it would be nice if the resulting configure script would test for -lX11 instead of -lXt.

Debian has a patch to make AC_PATH_XTRA more sane and check for -lX11 instead of -lXt:
autoconf (2.59a-4) unstable; urgency=low 

  * AC_PATH_X now checks for X11/Xlib.h and XrmInitialize (X proper)
    rather than X11/Intrinsic.h and XtMalloc (Xt).  Thanks to Kurt Roeckx,
    Thomas Dickey, and Paul Eggert.  Closes: #327655.

(See http://bugs.debian.org/327655.)

This is now in autoconf CVS:
http://cvs.savannah.gnu.org/viewcvs/autoconf/lib/autoconf/libs.m4?root=autoconf&view=log

I don't know if there's an easy way to override AC_PATH_XTRA/AC_PATH_X locally on the system where gstreamer is make disted.

With the patch, you can also explicitely pass parameters to AC_PATH_X and AC_PATH_XTRA to check for specific X11 libs and functions.

Cheers,
Comment 1 Thomas Vander Stichele 2006-01-13 12:15:31 UTC
hm, it seems a minor issue that preferably I would just wait for newer autoconfs to do the right thing, instead of adding lots of copied macros and forgetting to remove them later on.

Can you tell me what goes wrong without this patch ?
Comment 2 Loïc Minier 2006-01-13 15:36:23 UTC
Without the patch GStreamer's configure requires and tests for the presence of libxt, even if it doesn't use it, and it doesn't check for libX11, even if this lib is needed.

This is marked as enhancement, and you can decide to wait for the next autoconf release instead of patching.  You can also run Debian.  :-P
Comment 3 Sebastian Dröge (slomo) 2007-09-14 16:37:39 UTC
This seems to be somewhat fixed now, the latest releases done by Jan use autoconf > 2.60 and thus have the correct AC_PATH_XTRA.