Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306943 - media-video/ffmpeg-0.5_p20373 needs pkg-config for building
Summary: media-video/ffmpeg-0.5_p20373 needs pkg-config for building
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 11:35 UTC by Nikoli
Modified: 2010-03-13 14:34 UTC (History)
1 user (show)

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 Nikoli 2010-02-26 11:35:25 UTC
dev-util/pkgconfig is not installed in my system, but ffmpeg needs it for configure:

>>> Preparing source in /tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373 ...                                         
>>> Source prepared.                                                                                                                                          
>>> Configuring source in /tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373 ...                                       
true                                                                                                                                                          
./configure: line 2307: pkg-config: command not found                                                                                                         
./configure: line 2308: pkg-config: command not found                                                                                                         
ERROR: libschroedinger not found

Reproducible: Always

Steps to Reproduce:
1. emerge -C dev-util/pkgconfig
2. emerge -Dv media-video/ffmpeg
Comment 1 Reimar Döffinger 2010-02-26 17:43:24 UTC
Not exactly, ffmpeg tries its utmost to avoid depending on pkg-config, however due to their design it is impossible to use dirac and schroedinger without pkg-config.
The two are the only ones for which FFmpeg needs pkg-config.
Possible solutions:
1) Make libschroedinger/libdirac depend on pkg-config. While I'd consider that somewhat correct I expect others might not consider it a good idea.
2) Make schroedinger/dirac use flags depend on pkg-config.
Comment 2 Nikoli 2010-02-26 18:35:02 UTC
>Make libschroedinger/libdirac depend on pkg-config
why they should depend on it?

>Make schroedinger/dirac use flags depend on pkg-config.

this is the best solution.
Comment 3 Nikoli 2010-03-12 18:00:40 UTC
any progress?
Comment 4 Luca Barbato gentoo-dev 2010-03-13 14:34:09 UTC
Hi, thanks for the notice, fixed in cvs now =)