Gestión de dependencias para que la radio GNU se compile desde el código fuente

Gestión de dependencias para que la radio GNU se compile desde el código fuente

La investigación de Ettus da unagran lista de dependenciaspara 18.04 que casi funciona para compilar gnu radio desde la fuente.

cmake da el siguiente error de configuración:

-- Python checking for PyQt5 - found
-- Checking for module 'Qt5Qwt6'
--   No package 'Qt5Qwt6' found
-- QWT Version: 6.1.3
-- Found Qwt: /usr/lib/libqwt.so  

Sin embargo, según los paquetes que tengo (parecen todas las versiones posibles... quizás demasiadas), debería tener lo que necesita.

apt-cache search qwt
libqwt-dev - Qt widgets library for technical applications (development, qt4)
libqwt-doc - Qt widgets library for technical applications (documentation)
libqwt-headers - Qt widgets library for technical applications (header files)
libqwt-qt5-6 - Qt widgets library for technical applications (runtime, qt5)
libqwt-qt5-dev - Qt widgets library for technical applications (development, qt5)
libqwt5-doc - Qt widgets library for technical applications (documentation)
libqwt5-qt4 - Qt4 widgets library for technical applications (runtime)
libqwt5-qt4-dev - Qt4 widgets library for technical applications (development)
libqwt6abi1 - Qt widgets library for technical applications (runtime, qt4)
libqwtmathml-dev - Text Engine for Qwt (development, qt4)
libqwtmathml-qt5-6 - Text Engine for Qwt (runtime, qt5)
libqwtmathml-qt5-dev - Text Engine for Qwt (development, qt5)
libqwtmathml6abi1 - Text Engine for Qwt (runtime, qt4)
libqwtplot3d-doc - 3D plotting library based on Qt/OpenGL (documentation)
libqwtplot3d-qt5-0 - 3D plotting library based on Qt5/OpenGL (runtime)
libqwtplot3d-qt5-dev - 3D plotting library based on Qt5/OpenGL (development)
python-guiqwt - efficient 2D data-plotting library - Python 2
python-guiqwt-doc - efficient 2D data-plotting library - Documentation
python-qwt - Pure Python implementation of Qwt - Python 2
python-qwt5-doc - Python Qwt5 technical widget library, documentation and examples
python-qwt5-qt4 - Python version of the Qwt5 technical widget library
python3-guiqwt - efficient 2D data-plotting library - Python 3
python3-qwt - Pure Python implementation of Qwt - Python 3
python-qwt-doc - Pure Python implementation of Qwt - Documentation

¿Cómo puedo editar la lista cmake para encontrar correctamente lo que busca?

Respuesta1

Después de buscar en InternetNo se encontró ningún paquete 'Qt5Qwt6', descubrí que el gnuradiorastreador de problemas muestra este problema y unsolución recomendada:

Para el registro -DQWT_LIBRARIES=/usr/lib/libqwt.soes necesario en arch habilitar el script gnradion cmake gr-qtgui.

Aquí,arcose refiere a ArchLinux, pero eso no significa que esta solución esté aislada de ArchLinux y podría funcionar para usted.

Respuesta2

Recomendaré utilizar el método basado en APT. La Radio GNUestá empaquetado con complementosen ubuntu. Y al principio, para comenzar a usar un paquete binario tan simple como:

sudo apt-get install gnuradio

Fue empaquetado por compilación, la compilación requiere dependencias en el tiempo de compilación. Podrás conseguirlos con las siguientes acciones:

  1. Abra Software y actualizaciones ( software-properties-gtk) y habiliteCódigo fuenterepositorios aquí
  2. Instale dependencias de compilación con un comando simple:

    sudo apt-get build-dep gnuradio
    

    El comando anterior instalará dependencias en tiempo de compilación para GNU Radio 3.7.11-10 (como en Ubuntu 18.04 LTS). Esta versión no es demasiado nueva desdesitio oficial(Las noticias del 15 de julio de 2018 contienen el anuncio del lanzamiento de GNU Radio v3.7.13.4).

  3. Obtenga la fuente de GNU Radio 3.7.11-10 del repositorio de Ubuntu con un simple comando

    apt-get source gnuradio
    

    y parchearlo/cambiarlo/actualizarlo como desee.

información relacionada