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 517895 - nas plugin no longer builds (configure.ac error)
nas plugin no longer builds (configure.ac error)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.6
Other Linux
: Normal normal
: 0.10.7
Assigned To: Sebastian Dröge (slomo)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-21 15:59 UTC by Hans de Goede
Modified: 2008-02-22 05:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Hans de Goede 2008-02-21 15:59:04 UTC
Hi,

configure.ac no longer checks for presence of X11 headers / libs, but the nassink plugin configure.ac snippit reads:
dnl *** nas ***
translit(dnm, m, l) AM_CONDITIONAL(USE_NAS, true)
AG_GST_CHECK_FEATURE(NAS, [nas plug-in], nassink, [
  HAVE_NAS="no"
  if test "x$HAVE_X" = "xyes"; then
    save_cppflags=$CFLAGS
    CPPFLAGS="$CPPFLAGS $X_CFLAGS"
    AG_GST_CHECK_LIBHEADER(NAS, audio, AuOpenServer, $X_LIBS, audio/audiolib.h,
      NAS_LIBS="$X_LIBS -laudio" NAS_CFLAGS="$X_CFLAGS")
    CPPFLAGS="$save_cppflags"
  fi
  AC_SUBST(NAS_CFLAGS)
  AC_SUBST(NAS_LIBS)
])

Notice the check for HAVE_X, the removal of the check for X makes it impossible to build the nassink.

Workaround, do:
export HAVE_X=yes
export X_LIBS=-lX11

Before running ./configure
Comment 1 Sebastian Dröge (slomo) 2008-02-21 16:06:18 UTC
You're right, we should still check for X for NAS. I wonder why NAS needs X...

well, will fix after freeze :)

Thanks for reporting.
Comment 2 Sebastian Dröge (slomo) 2008-02-22 05:48:13 UTC
2008-02-22  Sebastian Dröge  <slomo@circular-chaos.org>

	* configure.ac:
	Check for X for the nas plugin to make it possible to build it
	again. Fixes bug #517895.