GNOME Bugzilla – Bug 668648
gst-plugins-good does not compile: cairo cannot find libgstvideo-0.10
Last modified: 2012-01-25 15:24:00 UTC
I am building gst-plugins-good git against built copy of gstreamer and gst-plugins-base. I had not installed gstreamer and gst-plugins-base. gst-plugins-good will not compile and gives following error: <snip> make[3]: Entering directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo' GEN gstcairo-marshal.c GEN gstcairo-marshal.h make all-am make[4]: Entering directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo' CC libgstcairo_la-gstcairo.lo CC libgstcairo_la-gsttimeoverlay.lo CC libgstcairo_la-gsttextoverlay.lo CC libgstcairo_la-gstcairorender.lo CC libgstcairo_la-gstcairooverlay.lo CC libgstcairo_la-gstcairo-marshal.lo CCLD libgstcairo.la /usr/bin/ld: cannot find -lgstvideo-0.10 collect2: ld returned 1 exit status make[4]: *** [libgstcairo.la] Error 1 make[4]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo' make[3]: *** [all] Error 2 make[3]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo' make[2]: *** [cairo] Error 2 make[2]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good' make: *** [all] Error 2 Following patch could fix this problem. diff --git a/ext/cairo/Makefile.am b/ext/cairo/Makefile.am index 5a8d3be..0c7047e 100644 --- a/ext/cairo/Makefile.am +++ b/ext/cairo/Makefile.am @@ -36,7 +36,7 @@ libgstcairo_la_CFLAGS = \ $(GST_BASE_CFLAGS) \ $(GST_CFLAGS) $(CAIRO_CFLAGS) $(CAIRO_GOBJECT_CFLAGS) libgstcairo_la_LIBADD = \ - $(GST_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \ + $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \ $(GST_LIBS) $(CAIRO_LIBS) $(CAIRO_GOBJECT_LIBS) $(LIBM) libgstcairo_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstcairo_la_LIBTOOLFLAGS = --tag=disable-static
Thanks, fixed (with minor change, order should be slightly different): commit d6821a336d24bec3d39b760abba32f6a8170cc64 Author: Jayakrishnan M <jay.krishnanm@gmail.com> Date: Wed Jan 25 15:21:44 2012 +0000 cairo: fix build, make sure libgstvideo can be found https://bugzilla.gnome.org/show_bug.cgi?id=668648