GNOME Bugzilla – Bug 362710
PYTHON_INCLUDES var wrongly created in MinGW Makefiles
Last modified: 2007-05-03 12:41:42 UTC
The execution of gstreamer-0.10.10 configure in in MinGW results in the following line inside gstreamer core and gst-python project Makefiles in my system: PYTHON_INCLUDES = -Ic:\appl\python24/include/python2.4 Note the backward slashes in the path to the python24 folder. This causes problem when Makefile executes, and the compiler (gcc) cannot find python header files. Replacing the backward slashes to forward ones corrects this problem: E.g. in my system the Makefile line below correctly instructs my gcc compiler to build the MinGW object file: PYTHON_INCLUDES = -Ic:/appl/python24/include/python2.4 This probably occurs in all gstreamer projects. The two projects above are the ones I tested.
Can't find any mention of PYTHON_INCLUDES in core; seems to come from AM_CHECK_PYTHON_HEADERS macro, which is in gst-python/acincludes.m4 only as far as I can tell. Hence, moving to gst-python. If you actually do have a problem compiling the core, please provide more details (output of 'make' including the exact errors).
Marcus, can you provide more info as tim requested.
(In reply to comment #2) > Marcus, can you provide more info as tim requested. > Hi, I can't at the moment since I'm not compiling gstreamer with mingw anymore :(
Ok, closing then. If it's still a problem, I'm sure someone else will run into it again :)