Hi Günther,
is Cheetah installed?
Quick check: start your Python interpreter, run "import Cheetah" (watch
the uppercase C).
Best regards,
Marcus
On 17.05.2016 21:17, Günther Reimann wrote:
Hi Dimitri,
--
######################################################
-- # Gnuradio disabled components--
######################################################
-- * Python support
is missing.
Thanks a lot!
Python-2.7.11 is already installed, but it also needs swig for python
support, so I installed swig-3.0.8 with dependency pcre-8.38. As
result in cmake:
-- Configuring Python support support...
-- Dependency PYTHONLIBS_FOUND = TRUE
-- Dependency SWIG_FOUND = TRUE
-- Dependency SWIG_VERSION_CHECK = TRUE
-- Enabling Python support support.
Proceeded more, in make but now make stops with Error 2 at 78% (see below)
Any ideas?
————
cmake ../
-- Build type not specified: defaulting to release.
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/usr/local/Cellar/gnuradio/3.7.9.1/include
*
LIBS=/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-runtime.dylib;/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-pmt.dylib
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
* INCLUDES=/usr/local/Cellar/gnuradio/3.7.9.1/include
*
LIBS=/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-blocks.dylib;/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-runtime.dylib;/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-pmt.dylib
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
* INCLUDES=/usr/local/Cellar/gnuradio/3.7.9.1/include
*
LIBS=/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-runtime.dylib;/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-pmt.dylib
GNURADIO_PMT_FOUND = TRUE
-- Checking for module 'gnuradio-iqbalance'
-- No package 'gnuradio-iqbalance' found
-- Could NOT find GNURADIO_IQBALANCE (missing:
GNURADIO_IQBALANCE_LIBRARIES GNURADIO_IQBALANCE_INCLUDE_DIRS)
-- Found gnuradio-uhd: /usr/local/Cellar/gnuradio/3.7.9.1/include,
/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-uhd.dylib
-- Found gnuradio-fcd: /usr/local/Cellar/gnuradio/3.7.9.1/include,
/usr/local/Cellar/gnuradio/3.7.9.1/lib/libgnuradio-fcd.dylib
-- Checking for module 'gnuradio-fcdproplus'
-- No package 'gnuradio-fcdproplus' found
-- gnuradio-fcdproplus not found.
-- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES
GNURADIO_FCDPP_INCLUDE_DIRS)
-- Checking for module 'libosmosdr'
-- No package 'libosmosdr' found
-- libosmosdr not found.
-- Checking for module 'libmirisdr'
-- No package 'libmirisdr' found
-- libmirisdr not found.
-- Checking for module 'libhackrf'
-- No package 'libhackrf' found
-- Could NOT find LIBHACKRF (missing: LIBHACKRF_LIBRARIES
LIBHACKRF_INCLUDE_DIRS)
-- Checking for module 'libairspy'
-- No package 'libairspy' found
-- Could NOT find LIBAIRSPY (missing: LIBAIRSPY_LIBRARIES
LIBAIRSPY_INCLUDE_DIRS)
-- Checking for module 'libbladeRF'
-- No package 'libbladeRF' found
-- libbladeRF not found.
CMake Warning at CMakeLists.txt:173 (find_package):
Could not find a package configuration file provided by "SoapySDR"
with any
of the following names:
SoapySDRConfig.cmake
soapysdr-config.cmake
Add the installation prefix of "SoapySDR" to CMAKE_PREFIX_PATH or set
"SoapySDR_DIR" to a directory containing one of the above files. If
"SoapySDR" provides a separate development package or SDK, be sure
it has
been installed.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
--
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Found SWIG: /usr/local/bin/swig
-- Minimum SWIG version required is 1.3.31
--
-- 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 = TRUE
-- Dependency SWIG_VERSION_CHECK = TRUE
-- Enabling Python support support.
-- Override with -DENABLE_PYTHON=ON/OFF
--
-- Configuring high resolution timing...
-- High resolution timing supported through mach_absolute_time.
--
-- Configuring Osmocom IQ Imbalance Correction support...
-- Dependency GNURADIO_IQBALANCE_FOUND = FALSE
-- Disabling Osmocom IQ Imbalance Correction support.
-- Override with -DENABLE_IQBALANCE=ON/OFF
--
-- Configuring sysmocom OsmoSDR support...
-- Dependency LIBOSMOSDR_FOUND = FALSE
-- Disabling sysmocom OsmoSDR support.
-- Override with -DENABLE_OSMOSDR=ON/OFF
--
-- Configuring FUNcube Dongle support...
-- Dependency GNURADIO_FCD_FOUND = TRUE
-- Enabling FUNcube Dongle support.
-- Override with -DENABLE_FCD=ON/OFF
--
-- Configuring FUNcube Dongle Pro+ support...
-- Dependency GNURADIO_FCDPP_FOUND = FALSE
-- Disabling FUNcube Dongle Pro+ support.
-- Override with -DENABLE_FCDPP=ON/OFF
--
-- Configuring IQ File Source & Sink support...
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE
-- Enabling IQ File Source & Sink support.
-- Override with -DENABLE_FILE=ON/OFF
--
-- Configuring Osmocom RTLSDR support...
-- Dependency LIBRTLSDR_FOUND = TRUE
-- Enabling Osmocom RTLSDR support.
-- Override with -DENABLE_RTL=ON/OFF
--
-- Configuring RTLSDR TCP Client support...
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE
-- Enabling RTLSDR TCP Client support.
-- Override with -DENABLE_RTL_TCP=ON/OFF
--
-- Configuring Ettus USRP Devices support...
-- Dependency UHD_FOUND = TRUE
-- Dependency GNURADIO_UHD_FOUND = TRUE
-- Enabling Ettus USRP Devices support.
-- Override with -DENABLE_UHD=ON/OFF
--
-- Configuring Osmocom MiriSDR support...
-- Dependency LIBMIRISDR_FOUND = FALSE
-- Disabling Osmocom MiriSDR support.
-- Override with -DENABLE_MIRI=ON/OFF
--
-- Configuring HackRF & rad1o Badge support...
-- Dependency LIBHACKRF_FOUND = FALSE
-- Disabling HackRF & rad1o Badge support.
-- Override with -DENABLE_HACKRF=ON/OFF
--
-- Configuring nuand bladeRF support...
-- Dependency LIBBLADERF_FOUND = FALSE
-- Disabling nuand bladeRF support.
-- Override with -DENABLE_BLADERF=ON/OFF
--
-- Configuring RFSPACE Receivers support...
-- Enabling RFSPACE Receivers support.
-- Override with -DENABLE_RFSPACE=ON/OFF
--
-- Configuring AIRSPY Receiver support...
-- Dependency LIBAIRSPY_FOUND = FALSE
-- Disabling AIRSPY Receiver support.
-- Override with -DENABLE_AIRSPY=ON/OFF
--
-- Configuring SoapySDR support support...
-- Dependency SoapySDR_FOUND = 0
-- Disabling SoapySDR support support.
-- Override with -DENABLE_SOAPY=ON/OFF
--
-- Configuring Red Pitaya SDR support...
-- Enabling Red Pitaya SDR support.
-- Override with -DENABLE_REDPITAYA=ON/OFF
-- Found PythonInterp: /usr/local/bin/python2 (found suitable version
"2.7.11", minimum required is "2")
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Failed
--
-- ######################################################
-- # Gnuradio enabled components
-- ######################################################
-- * Python support
-- * FUNcube Dongle
-- * IQ File Source & Sink
-- * Osmocom RTLSDR
-- * RTLSDR TCP Client
-- * Ettus USRP Devices
-- * RFSPACE Receivers
-- * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * Osmocom IQ Imbalance Correction
-- * sysmocom OsmoSDR
-- * FUNcube Dongle Pro+
-- * Osmocom MiriSDR
-- * HackRF & rad1o Badge
-- * nuand bladeRF
-- * AIRSPY Receiver
-- * SoapySDR support
--
-- Building for version: v0.1.4-72-g164a09fc / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run
"cmake
--help-policy CMP0042" for policy details. Use the cmake_policy
command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
gnuradio-osmosdr
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to:
/Users/greimann/Downloads/gr-osmosdr/build
———
make
[ 47%] Built target gnuradio-osmosdr
Scanning dependencies of target osmosdr_swig_swig_doc
[ 47%] Built target osmosdr_swig_swig_doc
Scanning dependencies of target _osmosdr_swig_swig_tag
[ 50%] Building CXX object
swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/_osmosdr_swig_swig_tag.cpp.o
[ 52%] Linking CXX executable _osmosdr_swig_swig_tag
[ 52%] Built target _osmosdr_swig_swig_tag
[ 55%] Generating osmosdr_swig.tag
Scanning dependencies of target osmosdr_swig_swig_2d0df
[ 57%] Building CXX object
swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/osmosdr_swig_swig_2d0df.cpp.o
[ 60%] Linking CXX executable osmosdr_swig_swig_2d0df
Swig source
[ 60%] Built target osmosdr_swig_swig_2d0df
Scanning dependencies of target pygen_swig_28495
[ 63%] Generating osmosdr_swig.pyc
[ 65%] Generating osmosdr_swig.pyo
[ 65%] Built target pygen_swig_28495
Scanning dependencies of target _osmosdr_swig
[ 68%] Building CXX object
swig/CMakeFiles/_osmosdr_swig.dir/osmosdr_swigPYTHON_wrap.cxx.o
[ 71%] Linking CXX shared module _osmosdr_swig.so
[ 71%] Built target _osmosdr_swig
Scanning dependencies of target pygen_python_938b6
[ 73%] Generating __init__.pyc
[ 76%] Generating __init__.pyo
[ 76%] Built target pygen_python_938b6
Scanning dependencies of target osmosdr_grc_xml_blocks
[ 78%] Generating rtlsdr_source.xml
Traceback (most recent call last):
File
"/Users/greimann/Downloads/gr-osmosdr/grc/gen_osmosdr_blocks.py", line
485, in <module>
params = ''.join([parse_tmpl(PARAMS_TMPL, n=n, sourk=sourk) for n
in range(max_num_channels)])
File
"/Users/greimann/Downloads/gr-osmosdr/grc/gen_osmosdr_blocks.py", line
456, in parse_tmpl
from Cheetah import Template
ImportError: No module named Cheetah
make[2]: *** [grc/rtlsdr_source.xml] Error 1
make[1]: *** [grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/all] Error 2
make: *** [all] Error 2