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 package uhd after running, pybombs prefix init ~/gr38 -R gnuradio-default #613

Open
capsulecorplab opened this issue Apr 19, 2022 · 2 comments

Comments

@capsulecorplab
Copy link

After running pybombs auto-config and pybombs recipes add-defaults, pybombs prefix init ~/gr38 -R gnuradio-default encounters an error installing package uhd

[INFO] Prefix Python version is: 3.8.7
[INFO] PyBOMBS Version 2.3.5
[INFO] Creating directory `/home/captainpike/gr38'
[INFO] Prefix Python version is: 3.8.7
[INFO] Creating new config file /home/captainpike/gr38/.pybombs/config.yml
[INFO] Prefix Python version is: 3.8.7
[INFO] Installing default packages for prefix...
[INFO] 
  - gnuradio
[INFO] Install python-apt to speed up apt processing.
[INFO] Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gnuradio
   |
   +- libvolk
   |
   \- uhd
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: uhd
[INFO] Install python-apt to speed up apt processing.
Cloning into 'uhd'...
remote: Enumerating objects: 1286, done.
remote: Counting objects: 100% (693/693), done.
remote: Total 1286 (delta 693), reused 693 (delta 693), pack-reused 593
Receiving objects: 100% (1286/1286), 1.07 MiB | 2.91 MiB/s, done.
Resolving deltas: 100% (898/898), completed with 210 local objects.
[INFO] Install python-apt to speed up apt processing.
Configuring: (100%) [=======================================================================================================================]
[WARNING] Configuration failed. Re-trying with higher verbosity.
-- 
-- Configuring the Python interpreter...
-- Manually determining build Python version...
-- Python interpreter: /home/captainpike/.pyenv/versions/3.8.7/bin/python3.8 Version: 3.8.7
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Manually determining runtime Python version...
-- Python runtime interpreter: /home/captainpike/.pyenv/versions/3.8.7/bin/python3.8 Version: 3.8.7
-- Override with: -DRUNTIME_PYTHON_EXECUTABLE=<path-to-python>
-- Finding Python Libraries...
-- Python Libraries: /home/captainpike/.pyenv/versions/3.8.7/lib/libpython3.8.a
-- Python include directories: /home/captainpike/.pyenv/versions/3.8.7/include/python3.8
-- Operating on release branch (UHD-3.15.LTS).
-- Using UHD Images Directory: /home/captainpike/gr38/share/uhd/images
-- 
-- Configuring Boost C++ Libraries...
-- 
-- Checking for Boost version 1.58 or greater
--   Looking for required Boost components...
--   Enabling Boost Error Code Header Only
--     Disabling boost::asio use of std::string_view
--   Boost version: 1.71.0
--   Boost include directories: /usr/include
--   Boost library directories: /usr/lib/x86_64-linux-gnu
--   Boost libraries: Boost::chrono;Boost::date_time;Boost::filesystem;Boost::program_options;Boost::regex;Boost::unit_test_framework;Boost::serialization;Boost::thread;Boost::system
-- Looking for Boost version 1.58 or greater - found
-- 
-- Python checking for Python version 2.7 or greater
-- Python checking for Python version 2.7 or greater - found
-- 
-- Python checking for Mako templates 0.4.2 or greater
-- Python checking for Mako templates 0.4.2 or greater - "import mako" failed
-- 
-- Python checking for requests 2.0 or greater
-- Python checking for requests 2.0 or greater - found
-- 
-- Python checking for numpy 1.7 or greater
-- Python checking for numpy 1.7 or greater - found
-- 
-- Configuring LibUHD support...
--   Dependency Boost_FOUND = TRUE
--   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
--   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
CMake Error at cmake/Modules/UHDComponent.cmake:59 (message):
  Dependencies for required component LibUHD not met.
Call Stack (most recent call first):
  CMakeLists.txt:363 (LIBUHD_REGISTER_COMPONENT)


-- Configuring incomplete, errors occurred!
See also "/home/captainpike/gr38/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
See also "/home/captainpike/gr38/src/uhd/host/build/CMakeFiles/CMakeError.log".
[ERROR] Configuration failed after running at least twice.
[ERROR] Problem occurred while building package uhd:
Configuration failed
[ERROR] Error installing package uhd. Aborting.
@velichkov
Copy link
Contributor

Hi @capsulecorplab,

-- Python interpreter: /home/captainpike/.pyenv/versions/3.8.7/bin/python3.8 Version: 3.8.7

It looks you are using pyenv but I don't think pybombs has support for it. Try disabling it and use the python that comes from your distribution.

@capsulecorplab
Copy link
Author

Hi @capsulecorplab,

-- Python interpreter: /home/captainpike/.pyenv/versions/3.8.7/bin/python3.8 Version: 3.8.7

It looks you are using pyenv but I don't think pybombs has support for it. Try disabling it and use the python that comes from your distribution.

Hi @velichkov ! I reinstalled pybombs from source in a virtual environment, using the apt installed python3.8-venv, and reran the aforementioned steps. Getting a slightly different error now #614

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