[gst-devel] compile include path change?

Dan Taylor dtaylor at startrac.com
Tue Jun 23 05:17:18 CEST 2009


I am trying to use the newest version of gstreamer to build in a working
directory.

 

There is no problem with gstreamer-0.10.23.

 

However, when I try to build gst-plugins-base-0.10.3, using the headers
(and pkgconfig) from the just-built version of gstreamer,

I cannot get the include path correct.  There is no specific configure
option that I can find, and I've tried the assert the correct

path on the command line with GST_CFLAGS and GST_OPTION_CFLAGS, but that
didn't help.

 

Gstreamer was configured and built with:

 

./configure -prefix=/work/usr

make && make install

 

Everything ends up in the correct path in /work/usr.

 

I configure gst-plugins-base with:

 

./configure -prefix=/work/usr

 

"make" fails in colorbalance.c because it cannot find "gst/gst.h"
Regardless of my attempts to help it, there is always

"-I/usr/local/include/gstreamer-0.10" in the gcc command line, rather
than "/work/usr/include/gstreamer-0.10".

 

if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../..    -I../../../gst-libs -I../../../gst-libs -pthread
-I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -Wall  -g
-DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstinterfaces_0.10_la-colorbalance.lo -MD -MP -MF
".deps/libgstinterfaces_0.10_la-colorbalance.Tpo" -c -o
libgstinterfaces_0.10_la-colorbalance.lo `test -f 'colorbalance.c' ||
echo './'`colorbalance.c; \

        then mv -f ".deps/libgstinterfaces_0.10_la-colorbalance.Tpo"
".deps/libgstinterfaces_0.10_la-colorbalance.Plo"; else rm -f
".deps/libgstinterfaces_0.10_la-colorbalance.Tpo"; exit 1; fi

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../gst-libs
-I../../../gst-libs -pthread -I/usr/local/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -Wall -g -DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstinterfaces_0.10_la-colorbalance.lo -MD -MP -MF
.deps/libgstinterfaces_0.10_la-colorbalance.Tpo -c colorbalance.c  -fPIC
-DPIC -o .libs/libgstinterfaces_0.10_la-colorbalance.o

 

How do I fix this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090622/0c63ef56/attachment.htm>


More information about the gstreamer-devel mailing list