Wednesday, September 15, 2021

Pybombs to install GR3.9

[INFO] Prefix Python version is: 3.8.10
[INFO] PyBOMBS Version 2.3.4
[WARNING] There already is a prefix in `/opt/gnuradioInstalls/gr39'.
Continue using this path Y/[N]? [INFO] Prefix Python version is: 3.8.10
Alias `gr39' already exists, overwrite Y/[N]? [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:
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: gnuradio
[WARNING] Build dir already exists: /opt/gnuradioInstalls/gr39/src/gnuradio/build
[WARNING] Configuration failed. Re-trying with higher verbosity.
-- Build type set to RelWithDebInfo.
-- Build date set to Wed, 15 Sep 2021 18:57:32Z.
--
-- 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/python2
CMake Error at cmake/Modules/GrPython.cmake:27 (find_package):
find_package called with invalid argument "."
Call Stack (most recent call first):
CMakeLists.txt:317 (include)


CMake Error at cmake/Modules/GrPython.cmake:150 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
CMakeLists.txt:317 (include)


-- Python checking for numpy - not found
-- Python checking for pygccxml - not found
CMake Error at CMakeLists.txt:331 (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 "/opt/gnuradioInstalls/gr39/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/opt/gnuradioInstalls/gr39/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.
Install tree:
|
\- gnuradio
Configuring: [\ ] Configuring: (100%) [====================================================================================================================================================================================]

Hey All,

I have already installed GR3.8 in a separate prefix, which appears to be working.  I would also like to mess around with GR3.9.  I'm trying to use pybombs to install gnuradio 3.9 using the gnuradio3.9 recipe.  I am running in Ubuntu 20.04 and have not installed python2.

When I run the command
pybombs prefix init {new prefix install directory} -R gnuradio39 -a gr39

I get the output contained in the attached output.txt file.  It appears that pybombs knows to use python3, but there is a line in the output that says 
"-- User set python executable /usr/bin/python2"

I am not sure how I am invoking the use of python2.  I have pip3 installed pybind11, but that was for python3, not python2.  Any thoughts on how to proceed with installation of 3.9 would be greatly appreciated.

Thank you for your time!

Cody Smith


No comments:

Post a Comment