OP25 ubuntu 22.04 - install op25 - Errors while trying to install - target "Python::NumPy" which is not built

Status
Not open for further replies.

BorisG

Member
Joined
Oct 25, 2010
Messages
133
cmake version 3.10.3
Python 3.10.4
ubuntu-22.04

error after use ./install:

Code:
linux@linux-VirtualBox:~/op25$ sudo ./install.sh

Updating packages list

Hit:1 http://il.archive.ubuntu.com/ubuntu jammy InRelease

Hit:2 http://il.archive.ubuntu.com/ubuntu jammy-updates InRelease

Hit:3 http://il.archive.ubuntu.com/ubuntu jammy-backports InRelease

Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]

Fetched 110 kB in 1s (153 kB/s)   

Reading package lists... Done

Installing for GNURadio 3.7

Reading package lists... Done

E: You must put some 'deb-src' URIs in your sources.list

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

E: Unable to locate package python-numpy

E: Unable to locate package python-waitress

E: Unable to locate package python-requests

====== fixing libairspy0 udev rule

====== please reboot before running op25

-- The CXX compiler identification is GNU 11.2.0

-- The C compiler identification is GNU 11.2.0

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Check for working C compiler: /usr/bin/cc

-- Check for working C compiler: /usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

CMake Deprecation Warning at CMakeLists.txt:11 (cmake_policy):

  The OLD behavior for policy CMP0026 will be removed from a future version

  of CMake.



  The cmake-policies(7) manual explains that the OLD behaviors of all

  policies are deprecated and that a policy should be set to OLD only under

  specific short-term circumstances.  Projects should be ported to the NEW

  behavior and not rely on setting a policy to OLD.





-- Build type not specified: defaulting to Release.

-- Boost 1.35 found.

-- Found Boost components:

   filesystem;system

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")

-- Checking for module 'cppunit'

--   Found cppunit, version 1.15.1

-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl 

-- Checking for module 'gnuradio-runtime'

--   Found gnuradio-runtime, version 3.10.1

-- Found GNURADIO_RUNTIME: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so 

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Looking for pthread_create

-- Looking for pthread_create - found

-- Found Threads: TRUE 

-- Checking for module 'gmp'

--   Found gmp, version 6.2.1

-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so 

-- Using GMP.

-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so 

-- Found Volk: Volk::volk 

-- User set python executable /usr/bin/python3

-- Found PythonInterp: /usr/bin/python3 (found version "3.10.4")

-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.4")

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPython.cmake:101 (target_link_libraries):

  Cannot specify link libraries for target "Python::NumPy" which is not built

  by this project.

Call Stack (most recent call first):

  /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:37 (include)

  CMakeLists.txt:127 (find_package)





-- Configuring incomplete, errors occurred!

See also "/home/linux/op25/build/CMakeFiles/CMakeOutput.log".

make: *** No targets specified and no makefile found.  Stop.

make: *** No rule to make target 'install'.  Stop.

linux@linux-VirtualBox:~/op25$
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
OP25 support for ubuntu 22.04 (predicated on support for gnuradio 3.9 and/or gnuradio 3.10) is pending.

Most of the code has already been checked in but there are a few unresolved problems that I hope to correct within 1-3 days- will advise.

Max
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,409
Location
Talbot Co, MD
Not sure if you're looking to install Osmocom or Boatbod op25, but certainly the latter does not support ubuntu 22.04 or gnuradio-3.10 (which is the version included in 22.04). You may be better off dropping back to 20.04.
 

BorisG

Member
Joined
Oct 25, 2010
Messages
133
Which version of Ubuntu is recommended for running op25 without such issues?
 

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Location
Culpeper, VA
Boatbod, are there plans to support Ubuntu 22.04 as I am trying to build on a machine that has other purposes?
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,409
Location
Talbot Co, MD
Someone on github has a repo forked from boatbod that works on 22.04. Offhand I don't remember the name, but it can't be that hard to find.
 
Status
Not open for further replies.
Top