[Bug 1030] Review request: xbmc - Media center

RPM Fusion Bugzilla noreply at rpmfusion.org
Fri Jan 22 09:17:22 CET 2010


http://bugzilla.rpmfusion.org/show_bug.cgi?id=1030





--- Comment #54 from rc040203 at freenet.de  2010-01-22 09:17:21 ---
Another issue:

Alex, building with your spec triggers a lengthy series of configure script
warnings, similar to this:
...
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... no
checking for libavcodec/avcodec.h... configure: WARNING: libavcodec/avcodec.h:
accepted by the compiler, rejected by the preprocessor!
configure: WARNING: libavcodec/avcodec.h: proceeding with the compiler's result
...

The cause of this is xbmc's configuration not correctly honoring CPPFLAGS.

More precisely:
* autoconf expects -I<..> in CPPFLAGS
* xbmc's Makefile*in's expects -I<..> in CFLAGS
Result it is the mess above.

One work-around to this would be to explicitly pass all -I<...>'s contained in
CFLAGS, also in CPPFLAGS to configure.

Proposal: Append CPPFLAGS to %configure:
%configure .... CPPFLAGS="-I/usr/include/ffmpeg"


-- 
Configure bugmail: http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the rpmfusion-developers mailing list