Closed vinvin011235 closed 4 years ago
Hi, I also encountered this problem, please help
Error after command:
sudo pybombs prefix init / usr / local -a default_prx -R gnuradio-default.
The following content:
efault
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.17
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.prefix - WARNING - There already is a prefix in / usr / local '. Continue using this path Y / [N]? y PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.17 Alias
default_prx 'already exists, overwrite Y / [N]? y
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.17
PyBOMBS.prefix - INFO - Installing default packages for prefix ...
PyBOMBS.prefix - INFO -
Notebook: dell latitude e5430 System: Kali Linux 2019.4
P. s. Sorry if that. I am noob
Hi @vinvin011235, @Bogdan1999,
[ERROR] Package has no install method: python-click-plugins
It seems in Debian Testing and Kali they have started removing some python2 packages as python2 is no longer maintained, see https://pythonclock.org/
So my advice is reinstall pybombs
with pip3
in order to use python3, see https://github.com/gnuradio/pybombs/#using-python3
sudo pip uninstall pybombs
sudo apt install python3-pip
sudo pip3 install --upgrade git+https://github.com/gnuradio/pybombs.git
You will also need to install gr-gsm
from the maint-3.8
branch of my fork as the master
branch has not yet been ported to gnuradio 3.8
.
In my opinion the pybombs installation method is the hardest and most error prone so my other advice is to install gnuradio
and gr-osmosdr
from the apt repository and then build and install gr-gsm
from source. https://osmocom.org/projects/gr-gsm/wiki/Installation#Debbian-based-distributions-Debian-Testing-Ubuntu-1604-Kali-Rolling-Edition
See also #475 and #480.
Hi @vinvin011235, @Bogdan1999,
[ERROR] Package has no install method: python-click-plugins
It seems in Debian Testing and Kali they have started removing some python2 packages as python2 is no longer maintained, see https://pythonclock.org/
So my advice is reinstall
pybombs
withpip3
in order to use python3, see https://github.com/gnuradio/pybombs/#using-python3sudo pip uninstall pybombs sudo apt install python3-pip sudo pip3 install --upgrade git+https://github.com/gnuradio/pybombs.git
You will also need to install
gr-gsm
from themaint-3.8
branch of my fork as themaster
branch has not yet been ported tognuradio 3.8
.In my opinion the pybombs installation method is the hardest and most error prone so my other advice is to install
gnuradio
andgr-osmosdr
from the apt repository and then build and installgr-gsm
from source. https://osmocom.org/projects/gr-gsm/wiki/Installation#Debbian-based-distributions-Debian-Testing-Ubuntu-1604-Kali-Rolling-EditionSee also #475 and #480.
hello.. your advice is really helpful.
it would be really great if you could give the steps on installing the gr-gsm as you have mentioned.
Hi @vinvin011235, @Bogdan1999,
[ERROR] Package has no install method: python-click-plugins
It seems in Debian Testing and Kali they have started removing some python2 packages as python2 is no longer maintained, see https://pythonclock.org/
So my advice is reinstall
pybombs
withpip3
in order to use python3, see https://github.com/gnuradio/pybombs/#using-python3sudo pip uninstall pybombs sudo apt install python3-pip sudo pip3 install --upgrade git+https://github.com/gnuradio/pybombs.git
You will also need to install
gr-gsm
from themaint-3.8
branch of my fork as themaster
branch has not yet been ported tognuradio 3.8
.In my opinion the pybombs installation method is the hardest and most error prone so my other advice is to install
gnuradio
andgr-osmosdr
from the apt repository and then build and installgr-gsm
from source. https://osmocom.org/projects/gr-gsm/wiki/Installation#Debbian-based-distributions-Debian-Testing-Ubuntu-1604-Kali-Rolling-EditionSee also #475 and #480.
Thank You for the reply and sorry for my late reply! So i tried building it as you mentioned by installing gnuradio and gr-osmosdr. Then I went to the website you mentioned for Kali Rolling Edition but after installing and updating when I ran "cmake .." as mentioned it gave me an error.
Cloning into 'gr-gsm'... root@Retr0:~# cd gr-gsm root@Retr0:~/gr-gsm# mkdir build root@Retr0:~/gr-gsm# cd build root@Retr0:~/gr-gsm/build# cmake .. -- The CXX compiler identification is GNU 9.2.1 -- The C compiler identification is GNU 9.2.1 -- 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. CMake Deprecation Warning at CMakeLists.txt:45 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:48 (cmake_policy): The OLD behavior for policy CMP0043 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:51 (cmake_policy): The OLD behavior for policy CMP0045 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:54 (cmake_policy): The OLD behavior for policy CMP0046 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Extracting version information from git describe...
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.35") found components: filesystem system thread chrono date_time atomic
--
-- Checking for module SWIG
-- Found SWIG version 4.0.1.
-- Found SWIG: /usr/bin/swig4.0
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.67.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic
-- Checking for module 'volk'
-- Found volk, version 2.0
-- Found VOLK: /usr/lib/x86_64-linux-gnu/libvolk.so
CMake Warning at CMakeLists.txt:135 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake
but it set Gnuradio_FOUND to FALSE so package "Gnuradio" is considered to be NOT FOUND. Reason given by package:
Gnuradio could not be found because dependency Volk could not be found.
-- Checking for module 'cppunit'
-- Found cppunit, version 1.15.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Checking for module 'libosmocore'
-- Found libosmocore, version 0.12.0
-- Found libosmocore: /usr/lib/x86_64-linux-gnu/libosmocore.so
-- Checking for module 'libosmocodec'
-- Found libosmocodec, version 0.12.0
-- Found libosmocodec: /usr/lib/x86_64-linux-gnu/libosmocodec.so
-- Checking for module 'libosmocoding'
-- Found libosmocoding, version 0.12.0
-- Found libosmocoding: /usr/lib/x86_64-linux-gnu/libosmocoding.so
-- Checking for module 'libosmogsm'
-- Found libosmogsm, version 0.12.0
-- Found libosmogsm: /usr/lib/x86_64-linux-gnu/libosmogsm.so
CMake Error at CMakeLists.txt:150 (message):
GnuRadio Runtime required to compile gr-gsm
-- Configuring incomplete, errors occurred! See also "/root/gr-gsm/build/CMakeFiles/CMakeOutput.log". See also "/root/gr-gsm/build/CMakeFiles/CMakeError.log". root@Retr0:~/gr-gsm/build# mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ mkdir: cannot create directory ‘/root/.grc_gnuradio/’: File exists mkdir: cannot create directory ‘/root/.gnuradio/’: File exists root@Retr0:~/gr-gsm/build# make make: No targets specified and no makefile found. Stop. root@Retr0:~/gr-gsm/build# sudo make install make: No rule to make target 'install'. Stop.
CMakeError.log CMakeOutput.log
and these were the files the error referred to. Thank you again!
Hi @saintofinternet
Hey there, after tweaking a bit I got it to work. The problem mentioned before this comment was tackled after I found the similar problem encountered by someone else on gr-gsm forum. So thank you so much again for the support also, keep up the good work!
It's better to install it without pybombs and also I updated andupgraded gnuradio and gr-osmosdr.
Hi @vinvin011235 I have the same problem like u before. I have a similar error output of cmake and i have tried to install it with pybombs as well. Nothing works for me. Could u help me out or give the link to the forum where u have found your solution. thank you in advance.
So hello there! I'm only 16 and I'm working my way to improve my skills and when I heard about IMSI-catcher i tries installing it then it was shown that please install gr-gsm. Then i tried to install gr-gsm by pybombs and this error pops up.
root@Retr0:~# pybombs install gr-gsm [INFO] Prefix Python version is: 2.7.17 [INFO] PyBOMBS Version 2.3.4a0 [INFO] Install python-apt to speed up apt processing. [INFO] Phase 1: Creating install tree and installing binary packages: [ERROR] Package has no install method: python-click-plugins root@Retr0:~#
I don't know what to do. Please help.