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 384587 - libcaca check breaks cross-compile
libcaca check breaks cross-compile
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-11 01:53 UTC by Jan Schmidt
Modified: 2006-12-16 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Schmidt 2006-12-11 01:53:20 UTC
The check for libcaca simply looks for the existence of a /usr/bin/caca-config file, which is not sufficient to test that anything can actually be built. 

dnl *** libcaca ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [
  GST_CHECK_CONFIGPROG(LIBCACA, caca-config)
  AC_SUBST(LIBCACA_CFLAGS)
  AC_SUBST(LIBCACA_LIBS)
])

The check should use the caca-config stuff to try and build something.
Comment 1 David Schleef 2006-12-11 02:56:51 UTC
Or just switch over to using the pkg-config file, caca.pc.
Comment 2 Tim-Philipp Müller 2006-12-16 11:43:22 UTC
This should fix it I think:

 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>

        * configure.ac:
          Make sure libcaca can actually be used instead of just checking for
          /usr/bin/caca-config, so we don't wrongly try to build cacasink when
          cross-compiling (fixes #384587).