[gstreamer-bugs] [Bug 558711] New: gst-plugins-good-0.10.11 compile fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 31 10:49:22 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=558711

  GStreamer | gst-plugins-good | Ver: 0.10.21
           Summary: gst-plugins-good-0.10.11 compile fails
           Product: GStreamer
           Version: 0.10.21
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pzeldin at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
Compile fails when flac library is installed in a custom location becuase
FLAC/all.h is not found.

Steps to reproduce:
1. Install flac in a custom location which is not present on any other include
path passed to $CC
2. Make sure that PKG_CONFIG_PATH points to proper flac.pc
3. configure and make gst-plugins-good-0.10.11


Actual results:
no errors

Expected results:
compilation fails in ext/flac

Does this happen every time?
yes

Other information:
The problem seems to be that
$(FLAC_CFLAGS) are not passed to the compiler.
Also if they are added the compile still fails
because $(FLAC_CFLAGS) (obtained from pkg-config --cflags flac)
looks like -I/usr/include/FLAC
(ends with FLAC), but gstreamer #include looks like this:
gstflacdec.h:#include <FLAC/all.h>
gstflacenc.h:#include <FLAC/all.h>


Error message:
In file included from gstflac.c:24:
gstflacenc.h:26:22: error: FLAC/all.h: No such file or directory
In file included from gstflac.c:24:
gstflacenc.h:67: error: expected specifier-qualifier-list before
‘FLAC__SeekableStreamEncoder’
In file included from gstflac.c:25:
gstflacdec.h:53: error: expected specifier-qualifier-list before
‘FLAC__SeekableStreamDecoder’
make[3]: *** [libgstflac_la-gstflac.lo] Error 1


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=558711.




More information about the Gstreamer-bugs mailing list