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-master (Ubuntu 20.04.2 LTS) #258

Closed
antonott opened this issue Jul 4, 2021 · 2 comments
Closed

Error installing gnuradio-master (Ubuntu 20.04.2 LTS) #258

antonott opened this issue Jul 4, 2021 · 2 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-master in a different prefix I get the failure seen below. (I also had a failure when trying to install gnuradio-stable, 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-master -a master -R gnuradio-master
[INFO] Prefix Python version is: 3.8.10
[INFO] PyBOMBS Version 2.3.4
[INFO] Creating directory `/home/antonott/pybombs_prefixes/gnuradio-master'
[INFO] Prefix Python version is: 3.8.10
[INFO] Creating new config file /home/antonott/pybombs_prefixes/gnuradio-master/.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-master/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.22 KiB | 2.90 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 | 3.12 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.34 MiB/s, done.
Resolving deltas: 100% (2315/2315), completed with 322 local objects.
Configuring: (100%) [========================================================================]
[WARNING] Configuration failed. Re-trying with higher verbosity.
-- Build type set to RelWithDebInfo.
-- Build date set to Sun, 04 Jul 2021 19:51:59Z.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring testing-support support...
--   Dependency Boost_UNIT_TEST_FRAMEWORK_FOUND = 1
--   Enabling testing-support support.
--   Override with -DENABLE_TESTING=ON/OFF
-- 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  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/bin/c++:::-O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- User set python executable /usr/bin/python3
-- Python checking for numpy - found
-- Python checking for pygccxml - not found
CMake Error at CMakeLists.txt:332 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

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

    pybind11Config.cmake
    pybind11-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/antonott/pybombs_prefixes/gnuradio-master/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/antonott/pybombs_prefixes/gnuradio-master/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.
@argilo
Copy link
Member

argilo commented Apr 25, 2022

Fixed in #277.

1 similar comment
@argilo
Copy link
Member

argilo commented Apr 25, 2022

Fixed in #277.

@argilo argilo closed this as completed Apr 25, 2022
@argilo argilo closed this as completed Apr 25, 2022
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

2 participants