Compiling Avidmux

I’d like to compile avidmux with all features enable. Any help appreciated.

Here’s the output of my attempt:

sophie@linux-3a8w:~> cd '/home/sophie/Downloads/avidemux_2.6.12' 
sophie@linux-3a8w:~/Downloads/avidemux_2.6.12> bash bootStrap.bash --rpm --enable-qt5
CMAKE Version : 3.3.2
Cmake version >=2.8.7 doesnt need fakeroot
Build configuration :
******************* :
Build type :
Release build
    Core will be built
     Gtk will be skipped
    Qt5 will be built
     Cli will be skipped
    Plugins will be built
**BootStrapping avidemux **
Top dir : /home/sophie/Downloads/avidemux_2.6.12
Fake installation directory=/home/sophie/Downloads/avidemux_2.6.12/install
Cleaning packages
** CORE **
Building buildCore from ../avidemux_core with EXTRA=<>, DEBUG=<>
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

#########################################
Configure for avidemux core libs Started
#########################################

-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is /home/sophie/Downloads/avidemux_2.6.12/avidemux_core/..

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 64-bit - Yes
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/sophie/Downloads/avidemux_2.6.12/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib64
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/sophie/Downloads/avidemux_2.6.12/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/sophie/Downloads/avidemux_2.6.12/install//usr/lib64

-- Checking for SCM
-- ****************
-- Dont know what SCM is used

-- Checking for pkg-config
-- ***********************
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found zlib

-- Checking for gettext
-- ********************
-- Found libintl.h
-- Cound not find intl library
Could not find Gettext
-- libintl not required for gettext support

-- Checking for SDL>=2 (only for windows)
-- **************************************
Disabled per request

-- Checking for XVideo
-- *******************
Could not find X11/extensions/Xvlib.h
Could not find XVideo

-- Checking for execinfo
-- *********************
-- Found execinfo.h
-- Found c library
-- Found backtrace_symbols in /usr/lib64/libc.so
-- Found execinfo
-- execinfo not required

-- Checking for VDPAU
-- *******************
Could not find vdpau/vdpau.h
Could not find VDPAU

-- Checking for LIBVA
-- *******************
Could not find va/va.h
Could not find LIBVA

-- Checking for NVENC
-- *****************
--  nvenc header not Found 

-- Checking system headers
-- ***********************
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found

-- Checking for ftello 
-- ********************
-- ftello present

-- Checking for sqlite
-- *******************
-- Found sqlite3.h
-- Found sqlite3 library
-- Found sqlite3_close in /usr/lib64/libsqlite3.so
-- Found SQLite

-- ADM_coreConfig.h generated

Could not find x265.h
Could not find x265_config.h
-- Creating /home/sophie/Downloads/avidemux_2.6.12/buildCore/ffmpeg
-- Checking for tar
-- ****************
-- Found tar

-- Unpacking ffmpeg from /home/sophie/Downloads/avidemux_2.6.12/avidemux_core/../avidemux_core/ffmpeg_package/ffmpeg-2.7.6.tar.bz2 to /home/sophie/Downloads/avidemux_2.6.12/buildCore/ffmpeg

-- Checking for patch
-- ******************
-- Found patch

-- -- Mine, Applying patch <libavformat_mpegtsenc.c.patch> --
patching file libavformat/mpegtsenc.c
-- -- Mine, Applying patch <libavcodec_h264_parser.c.patch> --
patching file libavcodec/h264_parser.c
-- -- Mine, Applying patch <libavformat_matroskaenc.c.patch> --
patching file libavformat/matroskaenc.c
-- -- Mine, Applying patch <libavcodec_mpeg12enc.c.patch> --
patching file libavcodec/mpeg12enc.c
Hunk #1 succeeded at 251 (offset -3 lines).
Hunk #2 succeeded at 266 (offset -3 lines).
Hunk #3 succeeded at 350 (offset -3 lines).
Hunk #4 succeeded at 463 (offset -3 lines).
Hunk #5 succeeded at 502 (offset -3 lines).
Hunk #6 succeeded at 561 (offset -3 lines).
Hunk #7 succeeded at 577 (offset -3 lines).
-- -- Mine, Applying patch <libavcodec_ac3_h.patch> --
patching file libavcodec/ac3tab.h
-- -- Mine, Applying patch <libavformat_movenc.c.patch> --
patching file libavformat/movenc.c
-- -- Mine, Applying patch <libavutil_avutil.h.patch> --
patching file libavutil/avutil.h
-- -- Mine, Applying patch <libavformat_isom.c.patch> --
patching file libavformat/isom.c
-- -- Mine, Applying patch <libavcodec_mathops.h.patch> --
patching file libavcodec/mathops.h
-- -- Mine, Applying patch <libavcodec_h263dec.c.patch> --
patching file libavcodec/h263dec.c
-- -- Mine, Applying patch <libavutil_lfg.h.patch> --
patching file libavutil/lfg.h
-- -- Mine, Applying patch <libavcodec_ff_spsinfo.h.patch> --
patching file libavcodec/ff_spsinfo.h
-- -- Mine, Applying patch <libavutil_lfg.c.patch> --
patching file libavutil/lfg.c
-- -- Mine, Applying patch <libavutil_log_c.patch> --
patching file libavutil/log.c
-- -- Mine, Applying patch <libavcodec_vdpau.h.patch> --
patching file libavcodec/vdpau.h
-- -- Mine, Applying patch <libavformat_libavformat.v.patch> --
patching file libavformat/libavformat.v
-- -- Mine, Applying patch <libavutil_avassert_h.patch> --
patching file libavutil/avassert.h
-- -- Mine, Applying patch <libavcodec_golomb.h.patch> --
patching file libavcodec/golomb.h
-- -- Mine, Applying patch <libavcodec_mpegvideo_enc.c.patch> --
patching file libavcodec/mpegvideo_enc.c
Hunk #1 succeeded at 470 (offset 1 line).
Hunk #2 succeeded at 569 (offset 1 line).
Hunk #3 succeeded at 577 (offset 1 line).
-- -- Mine, Applying patch <libavcodec_libavcodec.v.patch> --
patching file libavcodec/libavcodec.v
-- -- Mine, Applying patch <libavcodec_nvenc.patch> --
patching file libavcodec/nvenc.c
-- -- Mine, Applying patch <libavcodec_avcodec.h.patch> --
patching file libavcodec/avcodec.h
-- Patching Linux common.mak
patching file common.mak
Hunk #1 succeeded at 104 with fuzz 1 (offset 22 lines).

-- Checking for Bourne shell
-- *************************
-- Found Bourne shell

-- Checking for GNU Make
-- *********************
-- Found GNU Make

-- Configuring FFmpeg
-- Configuring done, processing
-- Patching config.mak - linux (2)
patching file config.mak
Hunk #1 succeeded at 103 with fuzz 2 (offset 44 lines).

-- AVFORMAT : 56, Major : 
-- AVCODEC  : 56, Major : 
-- AVUTIL   : 54, Major : 
-- POSTPRC  : 53, Major : 
-- SWSCALE  : 3, Major : 

-- AVFORMAT : 56, Major : 
-- AVCODEC  : 56, Major : 
-- AVUTIL   : 54, Major : 
-- POSTPRC  : 53, Major : 
-- SWSCALE  : 3, Major : 

-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success

**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Video Encoder      ***
    NVENC          No
*** Miscellaneous      ***
    gettext        Yes
    SDL            No
    XVideo         No
    VDPAU          No
    LIBVA          No
**************************
***   Release Build    ***
**************************

-- Packager=rpm, valid choices= {deb,rpm,tgz,none}

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EDIT_COMMAND
    ENABLE_QT5


-- Build files have been written to: /home/sophie/Downloads/avidemux_2.6.12/buildCore
#########################################
Configure for avidemux Qt4 Started
#########################################

-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is /home/sophie/Downloads/avidemux_2.6.12/avidemux/qt4/../..

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 64-bit - Yes
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/sophie/Downloads/avidemux_2.6.12/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib64
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/sophie/Downloads/avidemux_2.6.12/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/sophie/Downloads/avidemux_2.6.12/install//usr/lib64

-- Checking for SCM
-- ****************

-- Checking for pkg-config
-- ***********************
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found zlib

-- Checking for gettext
-- ********************
-- Found libintl.h
-- Cound not find intl library
Could not find Gettext
-- libintl not required for gettext support

-- Checking for SDL>=2 (only for windows)
-- **************************************
Disabled per request

-- Checking for XVideo
-- *******************
Could not find X11/extensions/Xvlib.h
Could not find XVideo

-- Checking for execinfo
-- *********************
-- Found execinfo.h
-- Found c library
-- Found backtrace_symbols in /usr/lib64/libc.so
-- Found execinfo
-- execinfo not required

-- Checking for VDPAU
-- *******************
Could not find vdpau/vdpau.h
Could not find VDPAU

-- Checking for LIBVA
-- *******************
Could not find va/va.h
Could not find LIBVA

-- Checking for NVENC
-- *****************
--  nvenc header not Found 

-- Checking system headers
-- ***********************
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found

-- AVFORMAT : 56, Major : 
-- AVCODEC  : 56, Major : 
-- AVUTIL   : 54, Major : 
-- POSTPRC  : 53, Major : 
-- SWSCALE  : 3, Major : 

-- Checking Qt
-- Checking for Qt 5
-- *****************
--   Checking for Qt5Core
CMake Warning at /home/sophie/Downloads/avidemux_2.6.12/cmake/admCheckQt5.cmake:55 (FIND_PACKAGE):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /home/sophie/Downloads/avidemux_2.6.12/cmake/admCheckQt.cmake:5 (checkQt5)
  CMakeLists.txt:16 (checkQt)


--   Checking for Qt5Widgets
CMake Warning at /home/sophie/Downloads/avidemux_2.6.12/cmake/admCheckQt5.cmake:57 (FIND_PACKAGE):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files.  If
  "Qt5Widgets" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /home/sophie/Downloads/avidemux_2.6.12/cmake/admCheckQt.cmake:5 (checkQt5)
  CMakeLists.txt:16 (checkQt)


-- Some Qt5 components are missing

-- Checking for Qt 4
-- *****************
-- Found unsuitable Qt version "" from NOTFOUND
Could not find Qt 4
--  QT_INCLUDE_DIR <>, QT_INCLUDES <>


CMake Error at CMakeLists.txt:19 (MESSAGE):
  Qt NOT FOUND


-- Configuring incomplete, errors occurred!
See also "/home/sophie/Downloads/avidemux_2.6.12/buildQt5/CMakeFiles/CMakeOutput.log".
See also "/home/sophie/Downloads/avidemux_2.6.12/buildQt5/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**
sophie@linux-3a8w:~/Downloads/avidemux_2.6.12> 

Why not just install it from the Packman repos with Yast2 or zypper. I find that works perfectly well and any dependencies are taken care of.

Oddly, I accidentally installed it while shotgunning qt5 dependencies. The UI seems to function properly.

Thanks