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 147782 - [build] When compiling, CPPFLAGS don't propagate to GTKDOC_CFLAGS
[build] When compiling, CPPFLAGS don't propagate to GTKDOC_CFLAGS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.3
Other Linux
: Low trivial
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-17 19:28 UTC by J. Scott Berg
Modified: 2005-02-11 10:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description J. Scott Berg 2004-07-17 19:28:05 UTC
For those few of us who have popt sitting in a funny spot:

./configure --prefix=/opt/gnome-2.6 CPPFLAGS=-I/opt/popt-1.7/include
LDFLAGS=-L/opt/popt-1.7/lib
make

Fails at
gcc -pthread -I/opt/gnome-2.6/include/glib-2.0
-I/opt/gnome-2.6/lib/glib-2.0/include -I/opt/gnome-2.6/include/libxml2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -DGST_DISABLE_DEPRECATED
-I../../libs -I../.. -I../.. -c gstreamer-scan.c  -fPIC -DPIC -o
.libs/gstreamer-scan.o
In file included from gstreamer-scan.c:5:
../../gst/gst.h:28:18: popt.h: No such file or directory
Compilation of scanner failed
make[3]: *** [scan-build.stamp] Error 1
make[3]: Leaving directory `/opt/src/gnome-2.6.2/gstreamer-0.8.3/docs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/gnome-2.6.2/gstreamer-0.8.3/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/gnome-2.6.2/gstreamer-0.8.3'
make: *** [all] Error 2

Adding -I/opt/popt-1.7/include to GTKDOC_CFLAGS ni docs/gst/Makefile fixes the
problem.  Need to be done in a couple other places also.
Comment 1 Thomas Vander Stichele 2005-02-11 10:00:41 UTC
fixed in cvs, reopen if still problem.