osh / gr-mediatools

ffmpeg / gnu radio integration
18 stars 13 forks source link

PyBOMBS install gr-mediatools.could not find pkg-config #11

Open Yanrui-Z opened 4 years ago

Yanrui-Z commented 4 years ago

pybombs install gr-mediatools

PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.7.3 PyBOMBS - INFO - PyBOMBS Version 2.3.3 PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages: Install tree: | - gr-mediatools PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix: PyBOMBS.install_manager - INFO - Installing package: gr-mediatools PyBOMBS.Packager.source - WARNING - Build dir already exists: /root/gnuradio/src/gr-mediatools/build Configuring: (100%) [=========================================================] PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity. -- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.42")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.67.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic CMake Error at CMakeLists.txt:94 (message): GnuRadio Runtime required to compile mediatools

-- Configuring incomplete, errors occurred! See also "/root/gnuradio/src/gr-mediatools/build/CMakeFiles/CMakeOutput.log". See also "/root/gnuradio/src/gr-mediatools/build/CMakeFiles/CMakeError.log". PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice. PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-mediatools: Configuration failed PyBOMBS.install_manager - ERROR - Error installing package gr-mediatools. Aborting.

Yanrui-Z commented 4 years ago

I have changed the offending line d_frame = avcodec_alloc_frame(); in mediatools_audiosource_impl.cc with: d_frame = av_frame_alloc(); but it does't work.