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 137004 - gst-plugins-0.7.6 does not build due to X11 headers
gst-plugins-0.7.6 does not build due to X11 headers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.7.x
Other Linux
: Normal major
: 0.8.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-12 19:11 UTC by Mike Castle
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Castle 2004-03-12 19:11:56 UTC
Getting the following:

make[5]: Entering directory
`/usr/src/gst-plugins/gst-plugins-0.7.6-build/gst-libs/gst/play'
if /bin/sh ../../../libtool --mode=compile i386-linux-gcc -DHAVE_CONFIG_H
-I. -I../../../../gst-plugins-0.7.6/gst-libs/gst/play -I../../..   
-I../../../../gst-plugins-0.7.6/gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
  -DGST_DISABLE_DEPRECATED  -Wall -Wno-sign-compare  -g -O2 -MT
libgstplay_0.8_la-play.lo -MD -MP -MF ".deps/libgstplay_0.8_la-play.Tpo" \
  -c -o libgstplay_0.8_la-play.lo `test -f 'play.c' || echo
'../../../../gst-plugins-0.7.6/gst-libs/gst/play/'`play.c; \
then mv -f ".deps/libgstplay_0.8_la-play.Tpo"
".deps/libgstplay_0.8_la-play.Plo"; \
else rm -f ".deps/libgstplay_0.8_la-play.Tpo"; exit 1; \
fi
 i386-linux-gcc -DHAVE_CONFIG_H -I.
-I../../../../gst-plugins-0.7.6/gst-libs/gst/play -I../../..
-I../../../../gst-plugins-0.7.6/gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -g -O2 -MT
libgstplay_0.8_la-play.lo -MD -MP -MF .deps/libgstplay_0.8_la-play.Tpo -c
../../../../gst-plugins-0.7.6/gst-libs/gst/play/play.c  -fPIC -DPIC -o
.libs/libgstplay_0.8_la-play.o
In file included from
../../../../gst-plugins-0.7.6/gst-libs/gst/play/play.h:24,
                 from
../../../../gst-plugins-0.7.6/gst-libs/gst/play/play.c:25:
../../../../gst-plugins-0.7.6/gst-libs/gst/xoverlay/xoverlay.h:27:22:
X11/Xlib.h: No such file or directory
In file included from
../../../../gst-plugins-0.7.6/gst-libs/gst/play/play.h:24,
                 from
../../../../gst-plugins-0.7.6/gst-libs/gst/play/play.c:25:
../../../../gst-plugins-0.7.6/gst-libs/gst/xoverlay/xoverlay.h:52: error:
parse error before "XID"
../../../../gst-plugins-0.7.6/gst-libs/gst/xoverlay/xoverlay.h:61: error:
parse error before "XID"
../../../../gst-plugins-0.7.6/gst-libs/gst/xoverlay/xoverlay.h:72: error:
parse error before "XID"
../../../../gst-plugins-0.7.6/gst-libs/gst/xoverlay/xoverlay.h:77: error:
parse error before "XID"
make[5]: *** [libgstplay_0.8_la-play.lo] Error 1
make[5]: Leaving directory
`/usr/src/gst-plugins/gst-plugins-0.7.6-build/gst-libs/gst/play'

Now many lines in that particular makefile do reference
-I/usr/X11R6/include, but none of those are actually used to build play.c.
Comment 1 Benjamin Otte (Company) 2004-03-12 21:43:17 UTC
2004-03-12  Benjamin Otte  <otte@gnome.org>
                                                                     
                                                                     
                              
        * gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_set_xwindow_id),
        (gst_x_overlay_got_xwindow_id):
        * gst-libs/gst/xoverlay/xoverlay.h:
          replace XID with unsigned long to get rid of the xlibs
dependency in
          XOverlay (fixes #137004)