If Mako is installed, then maybe your shell environment's PYTHONPATH isn't set correctly to find it?
Also looks like you need to set the various PYTHON CMake variables to have consistency — meaning the library, includes, and executable that all point to the same Python version. You can look up these variables exact names in the top-level build directory's CMakeCache.txt file.
Hope this is useful! - MLD
On Sun, Feb 10, 2019, at 7:09 AM, Rushikesh Kavar wrote:
Hello,I am trying to install GNU radio from source code.As described here. https://wiki.gnuradio.org/index.php/BuildGuide.When i ran cmake ../ these is my log.-- Build type not specified: defaulting to release.-- Build type set to Release.-- Extracting version information from git describe...-- Compiler Version: cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0Copyright (C) 2017 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.-- Compiler Flags: /usr/bin/cc:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized/usr/bin/c++:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized-- ADDING PERF COUNTERS-- Building Static Libraries: OFF-- Boost version: 1.65.1-- Found the following Boost libraries:-- date_time-- program_options-- filesystem-- system-- regex-- thread-- unit_test_framework-- chrono-- atomic-- User set python executable /usr/bin/python3-- Could NOT find PythonLibs: Found unsuitable version "2.7.15rc1", but required is exact version "3.6" (found /usr/lib/x86_64-linux-gnu/libpython2.7.so)-- Python checking for six - python 2 and 3 compatibility library - found---- Checking for module SWIG-- Disabling SWIG because version check failed.---- The build system will automatically enable all components.-- Use -DENABLE_DEFAULT=OFF to disable components by default.---- Configuring python-support support...-- Dependency PYTHONLIBS_FOUND = TRUE-- Dependency SWIG_FOUND = FALSE-- Dependency SWIG_VERSION_CHECK = FALSE-- Dependency SIX_FOUND = TRUE-- Disabling python-support support.-- Override with -DENABLE_PYTHON=ON/OFF---- Configuring testing-support support...-- Dependency Boost_FOUND = 1-- Enabling testing-support support.-- Override with -DENABLE_TESTING=ON/OFF---- Configuring VOLK support...-- Build type set to Release.-- Extracting version information from git describe...---- Python checking for python >= 2.7-- Python checking for python >= 2.7 - found---- Python checking for mako >= 0.4.2-- Python checking for mako >= 0.4.2 - not found---- Python checking for six - python 2 and 3 compatibility library-- Python checking for six - python 2 and 3 compatibility library - foundCMake Error at volk/CMakeLists.txt:88 (message):Mako templates required to build VOLK-- Configuring incomplete, errors occurred!Please guide me. I have install mako using pip install mako. still i am getting same error.regardsRushikesh_______________________________________________Discuss-gnuradio mailing listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment