Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249549 - gnustep-libs/mediakit-0.4.0: failes to build, can't find avcodec.h and avformat.h
Summary: gnustep-libs/mediakit-0.4.0: failes to build, can't find avcodec.h and avform...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2008-12-01 23:08 UTC by Florian
Modified: 2008-12-02 15:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian 2008-12-01 23:08:40 UTC
GNUstep-libs/mediakit depends on ffmpeg but cant find avcodec.h and avformat.h

These are in "-I/usr/include/ffmepg" (as specified in "pkg-config libavcodec --cflags") but they are searched in "/usr/include/ffmepg/libavcodec/avcodec.h" and "/usr/include/ffmepg/libavcodec/avformat.h"

I used symlinks for the two folders and got a successful compile:

I used "ln -s . libavcodec" and "ln -s . libavformat" in "/usr/include/ffmpeg",
creating symlink "/usr/include/ffmpeg/libavcodec -> /usr/include/ffmpeg"
(and similar for libavformat)


Reproducible: Always

Steps to Reproduce:
1. emerge gnustep-libs/mediakit-0.4.0

Actual Results:  
compile failed.

Expected Results:  
compile
Comment 1 Rafał Mużyło 2008-12-02 00:53:09 UTC
As I don't see gnustep-libs/mediakit in the tree, I'm assuming
you're trying again to mix stable and overlays and you're failing again.

The recent versions of ffmpeg (not yet stable) don't put the headers
in /usr/include/ffmpeg. Instead some go into /usr/include/libavcodec, some
into /usr/include/libavformat other into other dirs.

So, again, invalid.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 01:50:55 UTC
Don't CC maintainers et cetera.
Comment 3 Bernard Cafarelli gentoo-dev 2008-12-02 15:10:35 UTC
My mistake, I added a patch to support newer ffmpeg, but did not depend explicitly on it. Changed DEPEND to >=media-video/ffmpeg-0.4.9_p20080326 in the overlay, thanks!

If you have a patch allowing support for both old and new ffmpeg, upstream too could be interested ;)