Wednesday, September 7, 2016

Re: [Discuss-gnuradio] GnuRadio won't recognizing Apache thrift

Hi again , 

when i run the cmake ../ 
 i got the following output.

Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = 1
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Loading build date Wed, 07 Sep 2016 13:46:43 into constants...
-- Loading version 3.7.10 into constants...
CMake Warning at gnuradio-runtime/lib/controlport/CMakeLists.txt:43 (FIND_PACKAGE):
  By not providing "FindThrift.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Thrift", but
  CMake did not find one.

  Could not find a package configuration file provided by "Thrift" with any
  of the following names:

    ThriftConfig.cmake
    thrift-config.cmake

  Add the installation prefix of "Thrift" to CMAKE_PREFIX_PATH or set
  "Thrift_DIR" to a directory containing one of the above files.  If "Thrift"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake/Modules/GrMiscUtils.cmake:77 (include)
  gnuradio-runtime/lib/CMakeLists.txt:74 (GR_INCLUDE_SUBDIRECTORY)

i used : export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/local/include/
als used  ./bootstrap.sh && ./configure --prefix=/usr/local/ PY_PREFIX=/usr/local/lib/python2.7/site-packages  Thrift_DIR=/usr/local/include 
and the problem still happening. any one come across something like this ?

On 5 September 2016 at 13:40, Ihab Zine <ihab.zine13@gmail.com> wrote:
HI all , 

after installing apche thrift,  while Cmaking gnuradio  got the following output:

Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = 1
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Loading build date Mon, 05 Sep 2016 12:05:20 into constants...
-- Loading version 3.7.10 into constants...
-- Checking for module 'thrift'
--   Found thrift, version 0.9.2
-- Could not find appropriate version of Thrift:  < 0.9.2
-- TRY_SHM_VMCIRCBUF set to ON.

do i need to install thrift version < 0.9.2 or there is something messing?

Ihab 

No comments:

Post a Comment