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

FFmpeg trac at avcodec.org
Sun Dec 21 01:26:44 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):

 {{{
 $ git log -1 --oneline
 f622ff1 avfilter/vf_boxblur: avoid one addition per line
 }}}
 {{{
 $ dash configure --enable-libspeex
 ERROR: speex not found using pkg-config

 If you think configure made a mistake, make sure you are using the latest
 version from Git.  If the latest version fails, report the problem to the
 ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
 Include the log file "config.log" produced by configure as this will help
 solve the problem.
 }}}
 {{{
 check_pkg_config speex speex/speex.h speex_decoder_init -lspeex
 false --exists --print-errors speex
 ERROR: speex not found using pkg-config
 }}}
 It worked fine before 621d4089
 {{{
 $ git log -1 --oneline
 8b1e920 Merge commit '259fe7280d0b63dc7a8ff017d44f26d3a84cfde8'
 }}}
 {{{
 $ dash configure --enable-libspeex
 install prefix            /usr/local
 source path               .
 C compiler                gcc
 C library                 glibc
 ARCH                      x86 (generic)
 big-endian                no
 runtime cpu detection     yes
 yasm                      yes
 MMX enabled               yes
 MMXEXT enabled            yes
 3DNow! enabled            yes
 3DNow! extended enabled   yes
 SSE enabled               yes
 SSSE3 enabled             yes
 AVX enabled               yes
 XOP enabled               yes
 FMA3 enabled              yes
 FMA4 enabled              yes
 i686 features enabled     yes
 CMOV is fast              yes
 EBX available             yes
 EBP available             yes
 debug symbols             yes
 strip symbols             yes
 optimize for size         no
 optimizations             yes
 static                    yes
 shared                    no
 postprocessing support    no
 new filter support        yes
 network support           yes
 threading support         pthreads
 safe bitstream reader     yes
 SDL support               yes
 opencl enabled            no
 texi2html enabled         yes
 perl enabled              yes
 pod2man enabled           yes
 makeinfo enabled          yes

 External libraries:
 bzlib                   libspeex                zlib
 iconv                   xlib

 Enabled decoders:
 aac                     bink                    gsm_ms
 aac_latm                binkaudio_dct           h261
 aasc                    binkaudio_rdft          h263
 ac3                     bintext                 h263i
 ac3_fixed               bmp                     h263p
 adpcm_4xm               bmv_audio               h264
 adpcm_adx               bmv_video               h264_vdpau
 adpcm_afc               brender_pix             hevc
 adpcm_ct                c93                     hnm4_video
 adpcm_dtk               cavs                    huffyuv
 adpcm_ea                cdgraphics              iac
 adpcm_ea_maxis_xa       cdxl                    idcin
 adpcm_ea_r1             cinepak                 idf
 adpcm_ea_r2             cljr                    iff_byterun1
 adpcm_ea_r3             cllc                    iff_ilbm
 adpcm_ea_xas            comfortnoise            imc
 adpcm_g722              cook                    indeo2
 adpcm_g726              cpia                    indeo3
 adpcm_g726le            cscd                    indeo4
 adpcm_ima_amv           cyuv                    indeo5
 adpcm_ima_apc           dca                     interplay_dpcm
 adpcm_ima_dk3           dfa                     interplay_video
 adpcm_ima_dk4           dirac                   jacosub
 adpcm_ima_ea_eacs       dnxhd                   jpeg2000
 adpcm_ima_ea_sead       dpx                     jpegls
 adpcm_ima_iss           dsd_lsbf                jv
 adpcm_ima_oki           dsd_lsbf_planar         kgv1
 adpcm_ima_qt            dsd_msbf                kmvc
 adpcm_ima_rad           dsd_msbf_planar         lagarith
 adpcm_ima_smjpeg        dsicinaudio             libspeex
 adpcm_ima_wav           dsicinvideo             loco
 adpcm_ima_ws            dvbsub                  mace3
 adpcm_ms                dvdsub                  mace6
 adpcm_sbpro_2           dvvideo                 mdec
 adpcm_sbpro_3           dxa                     metasound
 adpcm_sbpro_4           dxtory                  microdvd
 adpcm_swf               eac3                    mimic
 adpcm_thp               eacmv                   mjpeg
 adpcm_vima              eamad                   mjpegb
 adpcm_xa                eatgq                   mlp
 adpcm_yamaha            eatgv                   mmvideo
 aic                     eatqi                   motionpixels
 alac                    eightbps                movtext
 alias_pix               eightsvx_exp            mp1
 als                     eightsvx_fib            mp1float
 amrnb                   escape124               mp2
 amrwb                   escape130               mp2float
 amv                     evrc                    mp3
 anm                     exr                     mp3adu
 ansi                    ffv1                    mp3adufloat
 ape                     ffvhuff                 mp3float
 ass                     ffwavesynth             mp3on4
 asv1                    fic                     mp3on4float
 asv2                    flac                    mpc7
 atrac1                  flashsv                 mpc8
 atrac3                  flashsv2                mpeg1_vdpau
 atrac3p                 flic                    mpeg1video
 aura                    flv                     mpeg2video
 aura2                   fourxm                  mpeg4
 avrn                    fraps                   mpeg4_vdpau
 avrp                    frwu                    mpeg_vdpau
 avs                     g2m                     mpeg_xvmc
 avui                    g723_1                  mpegvideo
 ayuv                    g729                    mpl2
 bethsoftvid             gif                     msa1
 bfi                     gsm                     msmpeg4v1
 msmpeg4v2               qcelp                   txd
 msmpeg4v3               qdm2                    ulti
 msrle                   qdraw                   utvideo
 mss1                    qpeg                    v210
 mss2                    qtrle                   v210x
 msvideo1                r10k                    v308
 mszh                    r210                    v408
 mts2                    ra_144                  v410
 mvc1                    ra_288                  vb
 mvc2                    ralf                    vble
 mxpeg                   rawvideo                vc1
 nellymoser              realtext                vc1_vdpau
 nuv                     rl2                     vc1image
 on2avc                  roq                     vcr1
 opus                    roq_dpcm                vima
 paf_audio               rpza                    vmdaudio
 paf_video               rv10                    vmdvideo
 pam                     rv20                    vmnc
 pbm                     rv30                    vorbis
 pcm_alaw                rv40                    vp3
 pcm_bluray              s302m                   vp5
 pcm_dvd                 sami                    vp6
 pcm_f32be               sanm                    vp6a
 pcm_f32le               sgi                     vp6f
 pcm_f64be               sgirle                  vp7
 pcm_f64le               shorten                 vp8
 pcm_lxf                 sipr                    vp9
 pcm_mulaw               smackaud                vplayer
 pcm_s16be               smacker                 vqa
 pcm_s16be_planar        smc                     wavpack
 pcm_s16le               smvjpeg                 webp
 pcm_s16le_planar        snow                    webvtt
 pcm_s24be               sol_dpcm                wmalossless
 pcm_s24daud             sonic                   wmapro
 pcm_s24le               sp5x                    wmav1
 pcm_s24le_planar        srt                     wmav2
 pcm_s32be               ssa                     wmavoice
 pcm_s32le               subrip                  wmv1
 pcm_s32le_planar        subviewer               wmv2
 pcm_s8                  subviewer1              wmv3
 pcm_s8_planar           sunrast                 wmv3_vdpau
 pcm_u16be               svq1                    wmv3image
 pcm_u16le               svq3                    wnv1
 pcm_u24be               tak                     ws_snd1
 pcm_u24le               targa                   xan_dpcm
 pcm_u32be               targa_y216              xan_wc3
 pcm_u32le               text                    xan_wc4
 pcm_u8                  theora                  xbin
 pcm_zork                thp                     xbm
 pcx                     tiertexseqvideo         xface
 pgm                     tiff                    xl
 pgmyuv                  tmv                     xsub
 pgssub                  truehd                  xwd
 pictor                  truemotion1             y41p
 pjs                     truemotion2             yop
 png                     truespeech              yuv4
 ppm                     tscc                    zero12v
 prores                  tscc2                   zerocodec
 prores_lgpl             tta                     zlib
 ptx                     twinvq                  zmbv

 Enabled encoders:
 a64multi                jpegls                  ppm
 a64multi5               libspeex                prores
 aac                     ljpeg                   prores_aw
 ac3                     mjpeg                   prores_ks
 ac3_fixed               movtext                 qtrle
 adpcm_adx               mp2                     r10k
 adpcm_g722              mp2fixed                r210
 adpcm_g726              mpeg1video              ra_144
 adpcm_ima_qt            mpeg2video              rawvideo
 adpcm_ima_wav           mpeg4                   roq
 adpcm_ms                msmpeg4v2               roq_dpcm
 adpcm_swf               msmpeg4v3               rv10
 adpcm_yamaha            msvideo1                rv20
 alac                    nellymoser              s302m
 alias_pix               pam                     sgi
 amv                     pbm                     snow
 ass                     pcm_alaw                sonic
 asv1                    pcm_f32be               sonic_ls
 asv2                    pcm_f32le               srt
 avrp                    pcm_f64be               ssa
 avui                    pcm_f64le               subrip
 ayuv                    pcm_mulaw               sunrast
 bmp                     pcm_s16be               svq1
 cinepak                 pcm_s16be_planar        targa
 cljr                    pcm_s16le               tiff
 comfortnoise            pcm_s16le_planar        tta
 dca                     pcm_s24be               utvideo
 dnxhd                   pcm_s24daud             v210
 dpx                     pcm_s24le               v308
 dvbsub                  pcm_s24le_planar        v408
 dvdsub                  pcm_s32be               v410
 dvvideo                 pcm_s32le               vorbis
 eac3                    pcm_s32le_planar        wavpack
 ffv1                    pcm_s8                  webvtt
 ffvhuff                 pcm_s8_planar           wmav1
 flac                    pcm_u16be               wmav2
 flashsv                 pcm_u16le               wmv1
 flashsv2                pcm_u24be               wmv2
 flv                     pcm_u24le               xbm
 g723_1                  pcm_u32be               xface
 gif                     pcm_u32le               xsub
 h261                    pcm_u8                  xwd
 h263                    pcx                     y41p
 h263p                   pgm                     yuv4
 huffyuv                 pgmyuv                  zlib
 jpeg2000                png                     zmbv

 Enabled hwaccels:
 h263_vaapi              mpeg1_xvmc              mpeg4_vdpau
 h263_vdpau              mpeg2_vaapi             vc1_vaapi
 h264_vaapi              mpeg2_vdpau             vc1_vdpau
 h264_vdpau              mpeg2_xvmc              wmv3_vaapi
 mpeg1_vdpau             mpeg4_vaapi             wmv3_vdpau

 Enabled parsers:
 aac                     dvd_nav                 mpegvideo
 aac_latm                dvdsub                  opus
 ac3                     flac                    png
 adx                     gsm                     pnm
 bmp                     h261                    rv30
 cavsvideo               h263                    rv40
 cook                    h264                    tak
 dca                     hevc                    vc1
 dirac                   mjpeg                   vorbis
 dnxhd                   mlp                     vp3
 dpx                     mpeg4video              vp8
 dvbsub                  mpegaudio               vp9

 Enabled demuxers:
 aac                     h263                    nut
 ac3                     h264                    nuv
 act                     hevc                    ogg
 adf                     hls                     oma
 adp                     hnm                     paf
 adx                     ico                     pcm_alaw
 aea                     idcin                   pcm_f32be
 afc                     idf                     pcm_f32le
 aiff                    iff                     pcm_f64be
 amr                     ilbc                    pcm_f64le
 anm                     image2                  pcm_mulaw
 apc                     image2_alias_pix        pcm_s16be
 ape                     image2_brender_pix      pcm_s16le
 aqtitle                 image2pipe              pcm_s24be
 asf                     image_bmp_pipe          pcm_s24le
 ass                     image_dpx_pipe          pcm_s32be
 ast                     image_exr_pipe          pcm_s32le
 au                      image_j2k_pipe          pcm_s8
 avi                     image_pictor_pipe       pcm_u16be
 avr                     image_png_pipe          pcm_u16le
 avs                     image_sgi_pipe          pcm_u24be
 bethsoftvid             image_sunrast_pipe      pcm_u24le
 bfi                     image_tiff_pipe         pcm_u32be
 bink                    ingenient               pcm_u32le
 bintext                 ipmovie                 pcm_u8
 bit                     ircam                   pjs
 bmv                     iss                     pmp
 boa                     iv8                     pva
 brstm                   ivf                     pvf
 c93                     jacosub                 qcp
 caf                     jv                      r3d
 cavsvideo               latm                    rawvideo
 cdg                     live_flv                realtext
 cdxl                    lmlm4                   redspark
 cine                    loas                    rl2
 concat                  lrc                     rm
 data                    lvf                     roq
 daud                    lxf                     rpl
 dfa                     m4v                     rsd
 dirac                   matroska                rso
 dnxhd                   mgsts                   rtp
 dsf                     microdvd                rtsp
 dsicin                  mjpeg                   sami
 dts                     mlp                     sap
 dtshd                   mlv                     sbg
 dv                      mm                      sdp
 dxa                     mmf                     sdr2
 ea                      mov                     segafilm
 ea_cdata                mp3                     shorten
 eac3                    mpc                     siff
 epaf                    mpc8                    sln
 ffm                     mpegps                  smacker
 ffmetadata              mpegts                  smjpeg
 filmstrip               mpegtsraw               smush
 flac                    mpegvideo               sol
 flic                    mpl2                    sox
 flv                     mpsub                   spdif
 fourxm                  msnwc_tcp               srt
 frm                     mtv                     str
 g722                    mv                      subviewer
 g723_1                  mvi                     subviewer1
 g729                    mxf                     swf
 gif                     mxg                     tak
 gsm                     nc                      tedcaptions
 gxf                     nistsphere              thp
 h261                    nsv                     tiertexseq
 tmv                     voc                     wsvqa
 truehd                  vplayer                 wtv
 tta                     vqf                     wv
 tty                     w64                     xa
 txd                     wav                     xbin
 vc1                     wc3                     xmv
 vc1t                    webm_dash_manifest      xwma
 vivo                    webvtt                  yop
 vmd                     wsaud                   yuv4mpegpipe
 vobsub

 Enabled muxers:
 a64                     ipod                    pcm_s24be
 ac3                     ircam                   pcm_s24le
 adts                    ismv                    pcm_s32be
 adx                     ivf                     pcm_s32le
 aiff                    jacosub                 pcm_s8
 amr                     latm                    pcm_u16be
 asf                     lrc                     pcm_u16le
 asf_stream              m4v                     pcm_u24be
 ass                     matroska                pcm_u24le
 ast                     matroska_audio          pcm_u32be
 au                      md5                     pcm_u32le
 avi                     microdvd                pcm_u8
 avm2                    mjpeg                   psp
 bit                     mkvtimestamp_v2         rawvideo
 caf                     mlp                     rm
 cavsvideo               mmf                     roq
 crc                     mov                     rso
 data                    mp2                     rtp
 daud                    mp3                     rtsp
 dirac                   mp4                     sap
 dnxhd                   mpeg1system             segment
 dts                     mpeg1vcd                smjpeg
 dv                      mpeg1video              smoothstreaming
 eac3                    mpeg2dvd                sox
 f4v                     mpeg2svcd               spdif
 ffm                     mpeg2video              speex
 ffmetadata              mpeg2vob                srt
 filmstrip               mpegts                  stream_segment
 flac                    mpjpeg                  swf
 flv                     mxf                     tee
 framecrc                mxf_d10                 tg2
 framemd5                null                    tgp
 g722                    nut                     truehd
 g723_1                  oga                     uncodedframecrc
 gif                     ogg                     vc1
 gxf                     oma                     vc1t
 h261                    opus                    voc
 h263                    pcm_alaw                w64
 h264                    pcm_f32be               wav
 hds                     pcm_f32le               webm
 hevc                    pcm_f64be               webm_dash_manifest
 hls                     pcm_f64le               webvtt
 ico                     pcm_mulaw               wtv
 ilbc                    pcm_s16be               wv
 image2                  pcm_s16le               yuv4mpegpipe
 image2pipe

 Enabled protocols:
 cache                   hls                     rtmpt
 concat                  http                    rtp
 crypto                  httpproxy               sctp
 data                    md5                     srtp
 ffrtmphttp              mmsh                    subfile
 file                    mmst                    tcp
 ftp                     pipe                    udp
 gopher                  rtmp                    unix

 Enabled filters:
 aconvert                copy                    nullsink
 adelay                  crop                    nullsrc
 aecho                   curves                  overlay
 aeval                   dctdnoiz                pad
 aevalsrc                decimate                pan
 afade                   dejudder                perms
 aformat                 deshake                 pixdesctest
 ainterleave             drawbox                 psnr
 allpass                 drawgrid                removelogo
 alphaextract            earwax                  replaygain
 alphamerge              edgedetect              rgbtestsrc
 amerge                  elbg                    rotate
 amix                    equalizer               scale
 amovie                  extractplanes           select
 anull                   fade                    sendcmd
 anullsink               field                   separatefields
 anullsrc                fieldmatch              setdar
 apad                    fieldorder              setfield
 aperms                  flanger                 setpts
 aphaser                 format                  setsar
 aresample               fps                     settb
 aselect                 framepack               showcqt
 asendcmd                framestep               showinfo
 asetnsamples            gradfun                 showspectrum
 asetpts                 haldclut                showwaves
 asetrate                haldclutsrc             shuffleplanes
 asettb                  hflip                   signalstats
 ashowinfo               highpass                silencedetect
 asplit                  histogram               sine
 astats                  hqx                     smptebars
 astreamsync             hue                     smptehdbars
 atempo                  idet                    split
 atrim                   il                      swapuv
 avectorscope            interleave              telecine
 bandpass                join                    testsrc
 bandreject              life                    thumbnail
 bass                    lowpass                 tile
 bbox                    lut                     transpose
 biquad                  lut3d                   treble
 blackdetect             lutrgb                  trim
 blend                   lutyuv                  unsharp
 cellauto                mandelbrot              vflip
 channelmap              mergeplanes             vignette
 channelsplit            movie                   volume
 color                   negate                  volumedetect
 colorbalance            noformat                w3fdif
 colorchannelmixer       noise                   yadif
 compand                 null                    zoompan
 concat

 Enabled bsfs:
 aac_adtstoasc           imx_dump_header         mp3_header_decompress
 chomp                   mjpeg2jpeg              noise
 dump_extradata          mjpega_dump_header      remove_extradata
 h264_mp4toannexb        mov2textsub             text2movsub

 Enabled indevs:
 alsa                    jack                    oss
 dv1394                  lavfi                   v4l2
 fbdev

 Enabled outdevs:
 alsa                    oss                     v4l2
 fbdev                   sdl                     xv

 License: LGPL version 2.1 or later
 Creating config.mak, config.h, and doc/config.texi...

 WARNING: pkg-config not found, library detection may fail.
 }}}

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


More information about the FFmpeg-trac mailing list