Kali Linux 2.0 and GR-GSM

1,293 views
Skip to first unread message

lazlototh

unread,
Oct 2, 2015, 10:40:11 PM10/2/15
to gr-gsm
Hi All,

I decided to give Kali Linux a try and have been installing my favorites. When trying to install gr-gsm manually, I get the following errors:

-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   thread
CMake Warning at CMakeLists.txt:92 (find_package):
  By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gnuradio",
  but CMake did not find one.

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

    GnuradioConfig.cmake
    gnuradio-config.cmake

  Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
  "Gnuradio_DIR" to a directory containing one of the above files.  If
  "Gnuradio" provides a separate development package or SDK, be sure it has
  been installed.


-- checking for module 'volk'
--   package 'volk' not found
-- Could NOT find VOLK (missing:  VOLK_LIBRARIES VOLK_INCLUDE_DIRS)
-- checking for module 'libosmocore'
--   package 'libosmocore' not found
-- Could NOT find libosmocore (missing:  LIBOSMOCORE_LIBRARY LIBOSMOCORE_INCLUDE_DIR)
CMake Error at CMakeLists.txt:99 (message):
  GnuRadio Runtime required to compile gr-gsm


-- Configuring incomplete, errors occurred!
See also "/root/gr-gsm/build/CMakeFiles/CMakeOutput.log".

I suppose I could give pyboms a try but that would mean I'll have 2 versions of gnuradio installed. The odd thing is that I can not seem to locate GNURADIO on this version of Kali 2.0. I'm not a very experienced linux user but have learned to get around and I can't find anything except 1 configuration file. Gnuradio-companion works.





roman khassraf

unread,
Oct 4, 2015, 4:51:27 AM10/4/15
to gr-gsm

Hi Laszlo,

I never attempted to install gr-gsm on Kali, but others did and reported many problems.
Piotr tried to sort the problems out, but as far as I remember there were to many issues.

So the current status for Kali is that it is not supported.
However a lot of people would appreciate if you or anyone else can fix that.
We can try to provide you support on that to some point, however the attempt may fail due to missing or old packages in Kali's repository.

I am not sure how you installed gnuradio, does Kali's repository provide gnuradio, or did you install it manually ?



lazlototh

unread,
Oct 4, 2015, 10:20:25 PM10/4/15
to gr-gsm
Hi roman,

I finally got it installed by downloading and installing Volk, libosmocore (from the ossmocom website) and gnuradio-dev. Unfortunately, I still get errors like the following when running airprobe_rtlsdr.grc:

>>> Error: Block key "gsm_bcch_ccch_demapper" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_clock_offset_control" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_control_channels_decoder" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_control_channels_decoder" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_decryption" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_input" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_message_printer" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_receiver" not found in Platform - grc(GNU Radio Companion) None >>> Error: Block key "gsm_sdcch8_demapper" not found in Platform - grc(GNU Radio Companion) None

There must be some mismatch between gnuradio-dev and the actual gnuradio installed on Kali 2.0. 

Maybe I'll give Ubuntu a try. I'm using VMWare Fusion. 

roman khassraf

unread,
Oct 5, 2015, 8:00:44 AM10/5/15
to gr-gsm
Hi Lazlo,

looks like GRC doesn't find the compiled sources for the blocks.
Did you run sudo ldconfig after building ?

Ubuntu is definitely the easier way to get it running, you can just use pybombs for installation as described in the wiki.

br,
Roman
Reply all
Reply to author
Forward
0 new messages