[FFmpeg-trac] #4197(build system:new): libspeex detection is broken on systems without pkg-config

FFmpeg trac at avcodec.org
Sat Dec 20 12:04:14 CET 2014

#4197: libspeex detection is broken on systems without pkg-config
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  build
              Version:  git-master   |  system
             Keywords:  libspeex     |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by cehoyos):

 Replying to [comment:4 Cigaes]:
 > Replying to [comment:3 cehoyos]:
 > > This is a (very) bad regression and we should do the same as for x264.
 > I strongly object to that. It makes the build system slower and harder
 to maintain for no benefit.

 I am willing to take the burden.

 > > Several operating systems don't install pkg-config by default.
 > Several operating systems don't install a C compiler by default. And
 most operating systems do not install the development files for the
 libraries by default.

 What I meant was: On several operating systems, after you install the
 compiler and the necessary libraries and headers, there is no pkg-config
 and this configuration was supported by FFmpeg for many years. Removing
 this support means introducing a regression.

 > If people need pkg-config, they install it, just as the libraries they
 want and yasm and texi2html and...

 Not everyone who wants to compile FFmpeg can install on the target system.

 > > Additionally, I believe it is very useful to link an external library
 without installing it first.
 > Please share the basis for that belief.

 You misunderstand: When I test, I never install the libraries but always
 link them from the build directory. (The basis is just my workflow for
 testing FFmpeg because of user reports that include using external

Ticket URL: <https://trac.ffmpeg.org/ticket/4197#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list