GNOME Bugzilla – Bug 147782
[build] When compiling, CPPFLAGS don't propagate to GTKDOC_CFLAGS
Last modified: 2005-02-11 10:00:41 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.
fixed in cvs, reopen if still problem.