discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-doa installation problem


From: Halit Bugra Tulay
Subject: Re: [Discuss-gnuradio] gr-doa installation problem
Date: Fri, 29 Dec 2017 13:34:12 -0500

Hi Michael,
Thanks for the reply.I have tried to complete steps by doing "make install" and "sudo ldconfig" before running "make test" but all test are failed again. I see the blocks in gnuradio under DoA. I am just trying to figure out why "make test" is failed. I am sending the cmake logs, I don't see anything wrong. In 'make' part there are 2 error saying latex and dvips not found. I think they are about documentation and not important.

-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found Armadillo: /usr/lib/x86_64-linux-gnu/libarmadillo.so (found suitable version "8.300.2", minimum required is "7.300")
-- Armadillo found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cppunit'
--   Found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl 
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
--   Found gnuradio-runtime, version 3.7.12git
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp.so 
GNURADIO_RUNTIME_FOUND = TRUE
--
-- Checking for module SWIG
-- Found SWIG version 2.0.12.
-- Found SWIG: /usr/bin/swig2.0 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bugratulay/gr-doa/build


On 29 December 2017 at 09:47, Michael Dickens <address@hidden> wrote:
Hi Bugra - The CMake output are just warnings; they can safely be ignored. Much more important is what components are being enable or disabled based on what dependencies CMake was able to find. Does CMake succeed in enabling the various components? Does the build succeed? Is your issue with "make test"? Did you try doing "make install" and "sudo ldconfig" before "make test" --> sometimes that helps? What error are you encountering? A little more info will help us debug your issue. Cheers! - MLD

On Thu, Dec 28, 2017, at 1:21 AM, Halit Bugra Tulay wrote:
Hello everyone,

I m having trouble installing gr-doa. According to its github page(https://github.com/EttusResearch/gr-doa), it asks for the followings :

Basic Dependencies

  • UHD >= 3.10.1.0
  • gnuradio >= 3.7.10.1
  • armadillo >= 7.300

Dependencies Needed for QA Testing

  • octave (Tested 4.0.2)
  • octave-signal (Tested 1.3.2)
  • scipy (Tested 0.15.1)
  • oct2py (Tested 3.5.9)

Dependencies Needed for Doc

  • texlive-latex-base
 
I have Ubuntu 16.04 with UHD 3.11.0 and gnuradio 3.7.12 . I have also installed armadillo 8.300.2 using the package on their page. I have installed octave,octave-signal and scipy using Synaptic package manager and also installed oct2py using pip. I think they suffice basic dependencies and test dependencies.

First I have tried to install gr-doa via pybombs by adding gr-etcetera as recipes. After installation, I have tested it by running 'make test' but all tests are failed,also I couldn't see grc files in gnuradio. After this attempt, I have tried to follow steps described on their github page. When I run cmake.. I got the following errors

CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):


  Policy CMP0045 is not set: Error on non-existent target in


  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.

  Use the cmake_policy command to set the policy and suppress this warning

get_target_property() called with non-existent target "/usr/bin/python2".


Call Stack (most recent call first):


  python/CMakeLists.txt:50 (GR_ADD_TEST)


This warning is for project developers.  Use -Wno-dev to suppress it.




CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):


  Policy CMP0026 is not set: Disallow use of the LOCATION target property.


  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy


  command to set the policy and suppress this warning.


  The LOCATION property should not be read from target "gnuradio-doa".  Use


  the target name directly with add_custom_command, or use the generator


  _expression_ $<TARGET_FILE>, as appropriate.

I avoid these errors by adding cmake_policy(SET CMP0026 OLD), cmake_policy(SET CMP0045 OLD) to the cmakelists.txt and repeated the steps from the beginning.(I removed the build file first). The result was the same with the previous one, all tests are failed. Do you have any idea about this?
I am new to gnuradio, I might have done something wrong. I really appreciate if you help me install gr-doa.




--
Halit Bugra Tulay , Graduate Research Associate
The Ohio State University
Department of Electrical&Computer Engineering

reply via email to

[Prev in Thread] Current Thread [Next in Thread]