discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GnuRadio 3.10 OOT python modules not found - destination path error


From: Jeff Long
Subject: Re: GnuRadio 3.10 OOT python modules not found - destination path error '/usr/local/local/lib64'
Date: Tue, 31 May 2022 15:51:29 -0400

This is something we just discovered with Fedora 36 (and also Ubuntu 22.04). There is a small fix in the main and maint-3.10 branches. If you built from source, pull a new copy and let us know if it works for you.

On Tue, May 31, 2022 at 2:47 PM Criss Swaim <cswaim@tpginc.net> wrote:
Upgraded to GnuRadio 3.10 from 3.9 and gnuradio-companion aborts with a
module not found trying to import my OOT python blocks.  The modules are
being placed in /usr/local/local/lib64/python3.10/site-packages - note
the local/local.  the destination should be
/usr/local/lib64/python3.10/site-packages.

The fix is after running the cmake ../ command in the build directory,
edit build/python/cmake_install.cmake and
build/python/bindings/cmake_install.cmake and change

    file(INSTALL DESTINATION
"$(CMAKE_INSTALL_PREFIX)/local/lib64/python3.10/site-packages.....
to

   file(INSTALL DESTINATION
"$(CMAKE_INSTALL_PREFIX)/lib64/python3.10/site-packages..... (remove /local)

there are 2 changes in build/python/cmake_install.cmake and 8 changes in
build/python/bindings/cmake_install.cmake

Make these changes before running the make/sudo make install.

I am unable to determine if this is a problem in the gr_modtool or in
the GR_PYTHON_DIR constant or in some setting in my custom OOT project.

My environment is Fedora 36, Gnuradio 3.10 and Python 3.10.

--
Criss Swaim
cswaim@tpginc.net
cell: 505.301.5701



reply via email to

[Prev in Thread] Current Thread [Next in Thread]