GNURADIO 安装时报错

2020-04-13

安装GNU Radio时

错误1:运行make出现错误:

[ 19%] Building C object volk/lib/CMakeFiles/volk_obj.dir/volk_machine_sse4_2_64_mmx_orc.c.o
sh: 1: latex: not found
error: Problems running latex. Check your installation or look for typos in _formulas.tex and check _formulas.log!
sh: 1: dvips: not found
error: Problems running dvips. Check your installation!
/home/whlg/gnu+uhd/gnuradio-3.7.13.5/gr-digital/docs/packet_comms.dox:86: warning: unable to resolve reference to `gr::digital::chunks_to_symbols_bc' for 
ef command
/home/whlg/gnu+uhd/gnuradio-3.7.13.5/gr-digital/docs/packet_comms.dox:98: warning: unable to resolve reference to `gr::digital::burst_shaper_cc' for 
ef command
/home/whlg/gnu+uhd/gnuradio-3.7.13.5/gr-digital/docs/packet_comms.dox:266: warning: unable to resolve reference to `gr::digital::burst_shaper_cc' for 
ef command
[ 19%] Built target doxygen_target

 运行:

sudo  apt-get install texlive-latex-recommended

错误2:cmake时错误:

-- Found Boost: /usr/include (found suitable version "1.58.0", minimum required is "1.53") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic 
-- User set python executable /usr/bin/python3
CMake Error at /usr/local/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find PythonInterp: Found unsuitable version "3.5.2", but required
  is at least "3.6.5" (found /usr/bin/python3)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.16/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/Modules/GrPython.cmake:21 (find_package)
  CMakeLists.txt:339 (include)


-- Configuring incomplete, errors occurred!
See also "/home/whlg/gnu+uhd/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/whlg/gnu+uhd/gnuradio/build/CMakeFiles/CMakeError.log".

python3版本太低。

原文地址:https://www.cnblogs.com/jsdy/p/12691161.html