|
From: | Kyeong Su Shin |
Subject: | Re: gr-gsm make issue with osmosdr module |
Date: | Tue, 19 Nov 2019 15:53:58 +0000 |
Hello Martin,
Does your gr-osmosdr installation work? Maybe you can test that out by creating and running a simple flowgraph with a Osmocom Source connected to a QT GUI Sink.
If that fails, then you must have a broken installation of gr-osmosdr and need to correct that. Maybe Python files are installed on a PATH that is not recognized by your Python installation (that's actually a pretty common issue). If your flowgraph runs, then
somehow the Python scripts used by gr-gsm are not importing it correctly, and that must be checked.
Regards,
Kyeong Su Shin
보낸 사람: Martin Spears <address@hidden> 대신 Discuss-gnuradio <discuss-gnuradio-bounces+ksshin=address@hidden>
보낸 날짜: 2019년 11월 20일 수요일 오전 12:21 받는 사람: address@hidden <address@hidden> 제목: gr-gsm make issue with osmosdr module
I am trying to make gr-gsm I do believe I have all the nessesary support libraries:
using :
as my starting point.
cmake output
~/src/gr-gsm/build$ cmake ../
-- The CXX compiler identification is GNU 7.4.0
-- The C compiler identification is GNU 7.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.
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
-- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.8")
-- Checking for module 'fftw3f >= 3.0'
-- Found fftw3f , version 3.3.7
-- Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
-- Checking for module 'libosmocore'
-- Found libosmocore, version 1.2.0.65-d0e8
-- Found libosmocore: /usr/local/lib/libosmocore.so
-- Checking for module 'libosmocodec'
-- Found libosmocodec, version 1.2.0.65-d0e8
-- Found libosmocodec: /usr/local/lib/libosmocodec.so
-- Checking for module 'libosmocoding'
-- Found libosmocoding, version 1.2.0.65-d0e8
-- Found libosmocoding: /usr/local/lib/libosmocoding.so
-- Checking for module 'libosmogsm'
-- Found libosmogsm, version 1.2.0.65-d0e8
-- Found libosmogsm: /usr/local/lib/libosmogsm.so
-- Loading build date Tue, 19 Nov 2019 15:07:50 into constants...
-- Loading version v0.41.1-346-g2efaa49e into constants...
-- Using install prefix: /usr/local
-- Building for version: v0.41.1-346-g2efaa49e / 1.0.0git
-- No C++ unit tests... skipping
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found SWIG: /usr/bin/swig3.0
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.8")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/martin/src/gr-gsm/build
make output:
[ 73%] Generating grgsm_livemon
<<< Welcome to GNU Radio Companion Compiler 3.8.0.0 >>>
Block paths:
/home/martin/.grc_gnuradio
/home/martin/src/gr-gsm/grc
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks
>>> Loading: /home/martin/src/gr-gsm/apps/grgsm_livemon.grc
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
Traceback (most recent call last):
File "/home/martin/src/gr-gsm/python/grgsm/__init__.py", line 64, in <module>
from .device import *
File "/home/martin/src/gr-gsm/python/grgsm/misc_utils/device.py", line 24, in <module>
import osmosdr
ModuleNotFoundError: No module named 'osmosdr'
>>> Load Error: /home/martin/src/gr-gsm/apps/grgsm_livemon.grc: Flowgraph invalid
Compilation error
apps/CMakeFiles/pygen_apps.dir/build.make:84: recipe for target 'apps/grgsm_livemon' failed
make[2]: *** [apps/grgsm_livemon] Error 1
CMakeFiles/Makefile2:584: recipe for target 'apps/CMakeFiles/pygen_apps.dir/all' failed
make[1]: *** [apps/CMakeFiles/pygen_apps.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
need help on this?
|
[Prev in Thread] | Current Thread | [Next in Thread] |