Hi USRP mailing list,

I'm having trouble installing UHD from source. I've been following the
instructions on this page

https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux

but I keep running into the same problem. I've cloned the latest version
from git, added the proper directories, and followed the instructions but
I'm getting an error when I use cmake ../

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


-- Configuring the python interpreter...

-- Python interpreter: /usr/bin/python2.7

-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>

-- Working off of feature or development branch. Updating version number.

-- Using UHD Images Directory: OFF

-- Build type not specified: defaulting to release.

-- 

-- Configuring Boost C++ Libraries...

-- Looking for optional Boost components...

-- Boost version: 1.66.0

-- Found the following Boost libraries:

--   python

-- Looking for required Boost components...

-- Boost version: 1.66.0

-- Found the following Boost libraries:

--   chrono

--   date_time

--   filesystem

--   program_options

--   regex

--   system

--   unit_test_framework

--   serialization

--   thread

--   atomic

-- Boost include directories: /opt/local/include

-- Boost library directories: /opt/local/lib

-- Boost libraries:
/opt/local/lib/libboost_chrono-mt.dylib;/opt/local/lib/libboost_date_time-mt.dylib;/opt/local/lib/libboost_filesystem-mt.dylib;/opt/local/lib/libboost_program_options-mt.dylib;/opt/local/lib/libboost_regex-mt.dylib;/opt/local/lib/libboost_system-mt.dylib;/opt/local/lib/libboost_unit_test_framework-mt.dylib;/opt/local/lib/libboost_serialization-mt.dylib;/opt/local/lib/libboost_thread-mt.dylib;/opt/local/lib/libboost_atomic-mt.dylib

-- 

-- Python checking for Python version 2.7 or greater

-- Python checking for Python version 2.7 or greater - found

-- 

-- Python checking for Mako templates 0.4.2 or greater

-- Python checking for Mako templates 0.4.2 or greater - "import mako"
failed

-- 

-- Python checking for requests 2.0 or greater

-- Python checking for requests 2.0 or greater - "import requests" failed

-- 

-- Python checking for numpy 1.7 or greater

-- Python checking for numpy 1.7 or greater - found

-- 

-- Configuring LibUHD support...

--   Dependency Boost_FOUND = 1

--   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE

--   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE

CMake Error at cmake/Modules/UHDComponent.cmake:59 (MESSAGE):

  Dependencies for required component LibUHD not met.

Call Stack (most recent call first):

  CMakeLists.txt:431 (LIBUHD_REGISTER_COMPONENT)



-- Configuring incomplete, errors occurred!

See also
"/Users/noiselab/Documents/uhd_install/uhd/host/build/CMakeFiles/CMakeOutput.log".

See also
"/Users/noiselab/Documents/uhd_install/uhd/host/build/CMakeFiles/CMakeError.log".

noiselabs-MacBook-Pro:build noiselab$

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

it looks like Mako can't be found, but when I install mako using pip it
tells me I'm on the most recent version and indeed I can find the most
recent version when I search for it. I should mention I have 3 versions of
Python installed, 2.7, 3.6 and 3.7, and when I use cmake I actually input

 cmake -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 ../

so the desired path is known.

Mako was installed on python2.7 with the following command

python2.7 -m pip install mako

-Mark

-- 
Mark Wagner
University of California San Diego
Electrical and Computer Engineering
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to