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 362710 - PYTHON_INCLUDES var wrongly created in MinGW Makefiles
PYTHON_INCLUDES var wrongly created in MinGW Makefiles
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-python
0.10.x
Other Windows
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-16 20:50 UTC by Marcus Granado
Modified: 2007-05-03 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcus Granado 2006-10-16 20:50:23 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.
Comment 1 Tim-Philipp Müller 2007-02-02 12:02:25 UTC
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).



Comment 2 Edward Hervey 2007-03-01 14:46:26 UTC
Marcus, can you provide more info as tim requested.
Comment 3 Marcus Granado 2007-03-10 22:58:30 UTC
(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 :(
Comment 4 Tim-Philipp Müller 2007-05-03 12:41:42 UTC
Ok, closing then. If it's still a problem, I'm sure someone else will run into it again :)