Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing gnuradio-stable (Ubuntu 20.04.2 LTS) #257

Open
antonott opened this issue Jul 4, 2021 · 0 comments
Open

Error installing gnuradio-stable (Ubuntu 20.04.2 LTS) #257

antonott opened this issue Jul 4, 2021 · 0 comments

Comments

@antonott
Copy link

antonott commented Jul 4, 2021

I am running Ubuntu 20.04.2 LTS with PyBOMBS 2.3.4. I installed gnuradio-default in one prefix and it went fine, but when trying to install gnuradio-stable in a different prefix I get the failure seen below. (I also had a failure when trying to install gnuradio-master, see here.)

For details, see CMakeOutput.log and CMakeError.log.

A fix or some advice would be very much appreciated.

~$ pybombs prefix init ~/pybombs_prefixes/gnuradio-stable -a stable -R gnuradio-stable
[INFO] Prefix Python version is: 3.8.10
[INFO] PyBOMBS Version 2.3.4
[INFO] Creating directory `/home/antonott/pybombs_prefixes/gnuradio-stable'
[INFO] Prefix Python version is: 3.8.10
[INFO] Creating new config file /home/antonott/pybombs_prefixes/gnuradio-stable/.pybombs/config.yml
[INFO] Prefix Python version is: 3.8.10
[INFO] Installing default packages for prefix...
[INFO]
  - gnuradio
[INFO] Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gnuradio
   |
   +- uhd
   |
   \- libvolk
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: libvolk
Cloning into 'libvolk'...
Submodule 'cpu_features' (https://github.com/google/cpu_features.git) registered for path 'cpu_features'
submodule 'cpu_features' cannot add alternate: path '/home/antonott/.pybombs/gitcache/modules/cpu_features/' does not exist
Cloning into '/home/antonott/pybombs_prefixes/gnuradio-stable/src/libvolk/cpu_features'...
remote: Enumerating objects: 1296, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 1296 (delta 132), reused 162 (delta 95), pack-reused 1063
Receiving objects: 100% (1296/1296), 415.38 KiB | 3.38 MiB/s, done.
Resolving deltas: 100% (845/845), done.
Submodule path 'cpu_features': checked out 'a8397ba4591237c17d18e4acc091f5f3ebe7391e'
Configuring: (100%) [========================================================================]
Building:    (100%) [========================================================================]
Installing:  (100%) [========================================================================]
[INFO] Installation successful.
[INFO] Installing package: uhd
Cloning into 'uhd'...
remote: Enumerating objects: 1351, done.
remote: Counting objects: 100% (1292/1292), done.
remote: Compressing objects: 100% (440/440), done.
remote: Total 1351 (delta 833), reused 1289 (delta 833), pack-reused 59
Receiving objects: 100% (1351/1351), 1.27 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (845/845), completed with 130 local objects.
Configuring: (100%) [========================================================================]
Building:    (100%) [========================================================================]
Installing:  (100%) [========================================================================]
[INFO] Installation successful.
[INFO] Installing package: gnuradio
Cloning into 'gnuradio'...
remote: Enumerating objects: 2892, done.
remote: Counting objects: 100% (1164/1164), done.
remote: Total 2892 (delta 1164), reused 1164 (delta 1164), pack-reused 1728
Receiving objects: 100% (2892/2892), 1.28 MiB | 4.31 MiB/s, done.
Resolving deltas: 100% (2315/2315), completed with 322 local objects.
Submodule 'volk' (https://github.com/gnuradio/volk.git) registered for path 'volk'
submodule 'volk' cannot add alternate: path '/home/antonott/.pybombs/gitcache/modules/volk/' does not exist
Cloning into '/home/antonott/pybombs_prefixes/gnuradio-stable/src/gnuradio/volk'...
remote: Enumerating objects: 9821, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 9821 (delta 108), reused 198 (delta 99), pack-reused 9601
Receiving objects: 100% (9821/9821), 2.81 MiB | 4.01 MiB/s, done.
Resolving deltas: 100% (6697/6697), done.
Submodule path 'volk': checked out '17277ed3130e9b2592da06c681657e63b5590c56'
Configuring: (100%) [========================================================================]
[WARNING] Configuration failed. Re-trying with higher verbosity.
-- Build type set to RelWithDebInfo.
-- Extracting version information from git describe...
-- Compiler Version: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Compiler Flags: /usr/bin/cc:::-O2 -g -DNDEBUG  -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/bin/c++:::-O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- Building Static Libraries: OFF
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
--
-- Checking for module SWIG
-- Found SWIG version 4.0.1.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring python-support support...
--   Dependency PYTHONLIBS_FOUND = FALSE
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled python-support but configuration checked failed
Call Stack (most recent call first):
  CMakeLists.txt:366 (GR_REGISTER_COMPONENT)


-- Configuring incomplete, errors occurred!
See also "/home/antonott/pybombs_prefixes/gnuradio-stable/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/antonott/pybombs_prefixes/gnuradio-stable/src/gnuradio/build/CMakeFiles/CMakeError.log".
[ERROR] Configuration failed after running at least twice.
[ERROR] Problem occurred while building package gnuradio:
Configuration failed
[ERROR] Error installing package gnuradio. Aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant