Compilation

2012-01-30
2012-09-15
  • internet-uzver
    internet-uzver
    2012-01-30

    ./configure tells me:
    _

    checking for LIBZ... no

    ...

    checking for WEED... no

    checking for WEED_SLICE... no

    checking for WEED_UTILS... no

    checking for WEED_COMPAT... no

    checking for WEED_PLUGIN_UTILS... no _

    What should i install to get it ?

     
  • Salsaman
    Salsaman
    2012-01-30

    for libz you need zlib-devel.

    the weed libraries you can ignore, that is only for packages which package
    them separately. LiVES will use the libweed which comes with it.

     
  • internet-uzver
    internet-uzver
    2012-01-31

    I have installed:

    zlib1g-dev (I think this is it)
    lib32z1-dev - compression library - 32 bit development
    libzzip-dev
    libghc6-zlib-dev - This package provides a library for the Haskell programming language.
    but still get:

    checking for LIBZ... no

    (I'm try to compile 1.6.0 version)

    And i can't ignore weed, because make command thrown me error about
    libweed/weed-compat:

    http://paste.org.ru/?kn5tqq

    Without jack devel, sdl devel, dirac devel, libav devel, and some other devel
    libs installed it's compiling with no errors, but i think this libs required
    for LiVES functionality.

     
  • Salsaman
    Salsaman
    2012-01-31

    Which distro are you using ?

    zlib is detected using pkg-config, but it is not really very important (used
    for decoding some very rare matroska files which use gzip compression).

    the missing enums in weed-compat.h are found in the header file for libavcodec
    (avcodec.h)

    it seems that you have an older version of this lib which does not include
    these values. Can you tell me what version you have installed currently
    (ffmpeg -version)

    TIA.

    Gabriel.

     
  • internet-uzver
    internet-uzver
    2012-01-31

    My distro is Ubuntu Studio 10.04 64 bit.

    ffmpeg -version:

    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.3, Copyright (c) 2000-2009 Fabrice
    Bellard, et al.

      configuration: --extra-version=4:0.5.1-1ubuntu1.3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 1 / 52.20. 1
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libavfilter    0. 4. 0 /  0. 4. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Dec 21 2011 18:41:38, gcc: 4.4.3
    FFmpeg SVN-r0.5.1-4:0.5.1-1ubuntu1.3
    libavutil     49.15. 0 / 49.15. 0
    libavcodec    52.20. 1 / 52.20. 1
    libavformat   52.31. 0 / 52.31. 0
    libavdevice   52. 1. 0 / 52. 1. 0
    libavfilter    0. 4. 0 /  0. 4. 0
    libswscale     0. 7. 1 /  0. 7. 1
    libpostproc   51. 2. 0 / 51. 2. 0
    
     
  • Salsaman
    Salsaman
    2012-01-31

    OK thanks. You can remove those lines which are causing problems from weed-
    compat.h. They are not important anyway.

     
  • internet-uzver
    internet-uzver
    2012-01-31

    I'm comment out those lines, but new errors comes, so i think i will use some
    other soft.

     
  • Salsaman
    Salsaman
    2012-01-31

    What are the new errors ? It might be something easy to fix.

     
  • internet-uzver
    internet-uzver
    2012-01-31

    configure now tells ok:

    checking for WEED... yes
    checking for WEED_SLICE... yes
    checking for WEED_UTILS... yes
    checking for WEED_COMPAT... yes
    checking for WEED_PLUGIN_UTILS... yes
    

    But make now is:

    flv_decoder.c: In function 'attach_stream':
    flv_decoder.c:869: error: 'CODEC_ID_FLASHSV2' undeclared (first use in this function)
    flv_decoder.c:869: error: (Each undeclared identifier is reported only once
    flv_decoder.c:869: error: for each function it appears in.)
    flv_decoder.c:1014: warning: implicit declaration of function 'avcodec_decode_video2'
    flv_decoder.c:1080: error: 'AVCodecContext' has no member named 'color_range'
    flv_decoder.c:1080: error: 'AVCOL_RANGE_MPEG' undeclared (first use in this function)
    flv_decoder.c:1083: error: 'AVCodecContext' has no member named 'chroma_sample_location'
    flv_decoder.c:1083: error: 'AVCHROMA_LOC_LEFT' undeclared (first use in this function)
    flv_decoder.c:1086: error: 'AVCodecContext' has no member named 'colorspace'
    flv_decoder.c:1086: error: 'AVCOL_SPC_BT709' undeclared (first use in this function)
    make[3]: *** [flv_decoder_la-flv_decoder.lo] Error 1
    make[3]: Exit directory `/home/deniz/compilarium/lives-1.6.0/lives-plugins/plugins/decoders'
    make[2]: *** [all-recursive] Error 1
    make[2]: Exit directory `/home/deniz/compilarium/lives-1.6.0/lives-plugins/plugins'
    make[1]: *** [all-recursive] Error 1
    make[1]: Exit directory `/home/deniz/compilarium/lives-1.6.0/lives-plugins'
    make: *** [all-recu[b]SOMETHING HERE[/b]rsive] Error 1
    

    (I have installed libavcodec-extra-52 instead of libavcodec52)

     
  • Salsaman
    Salsaman
    2012-01-31

    Thanks for responding and checking. It seems like you need avcodec-53, at
    least for this version.

    If you can upgrade avcodec or wait for the next release of LiVES (or even use
    the subversion version), you should be OK.

     
  • internet-uzver
    internet-uzver
    2012-01-31

    Ok, i'll try it, thanks

     
  • internet-uzver
    internet-uzver
    2012-01-31

    Well, i did it. Not svn, but with some avcodec upgrade.

     
  • Salsaman
    Salsaman
    2012-01-31

    Great !