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
[INFO] [1m[32mPrefix Python version is: 3.8.10[0m
[INFO] [1m[32mPyBOMBS Version 2.3.4[0m
[WARNING] [1m[33mThere already is a prefix in
`/opt/gnuradioInstalls/gr39'.[0m
Continue using this path Y/[N]? [INFO] [1m[32mPrefix Python version is:
3.8.10[0m
Alias `gr39' already exists, overwrite Y/[N]? [INFO] [1m[32mPrefix Python
version is: 3.8.10[0m
[INFO] [1m[32mInstalling default packages for prefix...[0m
[INFO] [1m[32m
- gnuradio[0m
[INFO] [1m[32mPhase 1: Creating install tree and installing binary
packages:[0m
[INFO] [1m[32mPhase 1 complete: All binary dependencies installed.[0m
[INFO] [1m[32mPhase 2: Recursively installing source packages to prefix:[0m
[INFO] [1m[32mInstalling package: gnuradio[0m
[WARNING] [1m[33mBuild dir already exists:
/opt/gnuradioInstalls/gr39/src/gnuradio/build[0m
[WARNING] [1m[33mConfiguration failed. Re-trying with higher verbosity.[0m
-- 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] [1m[31mConfiguration failed after running at least twice.[0m
[ERROR] [1m[31mProblem occurred while building package gnuradio:
Configuration failed[0m
[ERROR] [1m[31mError installing package gnuradio. Aborting.[0m
Install tree:
|
\- gnuradio
Configuring: [\
]
Configuring: (100%)
[====================================================================================================================================================================================]