No luck. Here is the complete listing of what happened. When I got the first error, I thought that, maybe, I needed to prefix with sudo
That seemed to work, but, in the end, I get the same thing. No pluto in gnuradio-companion
edtroy@ubuntu:~/prefix/default$ source setup_env.sh
edtroy@ubuntu:~/prefix/default$ pybombs remove gr-iio
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.remove - INFO - Removing package gr-iio.
Uninstalling: (100%) [========================================================]
Scanning dependencies of target uninstall
CMake Error: Cannot open file for write: /home/edtroy/prefix/default/src/gr-iio/build/CMakeFiles/uninstall.dir/depend.make.tmp
CMake Error: : System Error: Permission denied
CMakeFiles/uninstall.dir/build.make:74: recipe for target 'CMakeFiles/uninstall.dir/depend' failed
make[3]: *** [CMakeFiles/uninstall.dir/depend] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/uninstall.dir/all' failed
make[2]: *** [CMakeFiles/uninstall.dir/all] Error 2
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/uninstall.dir/rule' failed
make[1]: *** [CMakeFiles/uninstall.dir/rule] Error 2
Makefile:162: recipe for target 'uninstall' failed
make: *** [uninstall] Error 2
PyBOMBS.Packager.source - ERROR - Uninstall failed. See output above for error messages.
PyBOMBS.Packager.source - WARNING - Uninstall failed: Uninstall failed..
PyBOMBS.remove - WARNING - Could not uninstall gr-iio from prefix.
edtroy@ubuntu:~/prefix/default$ sudo pybombs remove gr-iio
[sudo] password for edtroy:
Sorry, try again.
[sudo] password for edtroy:
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.remove - ERROR - Package gr-iio is not installed. Aborting.
edtroy@ubuntu:~/prefix/default$ pybombs remove gr-iio
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.remove - ERROR - Package gr-iio is not installed. Aborting.
edtroy@ubuntu:~/prefix/default$ yes | pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.recipes - WARNING - Cache dir /home/edtroy/.pybombs/recipes/gr-recipes for remote recipe location gr-recipes already exists! Deleting.
Cloning: (100%) [=========================================================]
edtroy@ubuntu:~/prefix/default$ sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr
edtroy@ubuntu:~/prefix/default$ pybombs install gr-iio
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-iio
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gr-iio
PyBOMBS.Fetcher - INFO - Already fetched: gr-iio
PyBOMBS.Packager.source - WARNING - Build dir already exists: /home/edtroy/prefix/default/src/gr-iio/build
Configuring: (100%) [=========================================================]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity.
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
-- date_time
-- chrono
-- atomic
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/home/edtroy/prefix/default/include
* LIBS=/home/edtroy/prefix/default/lib/libgnuradio-runtime.so;/home/edtroy/prefix/default/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/liblog4cpp.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: ANALOG
* INCLUDES=/home/edtroy/prefix/default/include
* LIBS=/home/edtroy/prefix/default/lib/libgnuradio-analog.so;/home/edtroy/prefix/default/lib/libgnuradio-runtime.so;/home/edtroy/prefix/default/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/liblog4cpp.so;/home/edtroy/prefix/default/lib/libvolk.so
GNURADIO_ANALOG_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
* INCLUDES=/home/edtroy/prefix/default/include
* LIBS=/home/edtroy/prefix/default/lib/libgnuradio-blocks.so;/home/edtroy/prefix/default/lib/libgnuradio-runtime.so;/home/edtroy/prefix/default/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/liblog4cpp.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
* INCLUDES=/home/edtroy/prefix/default/include
* LIBS=/home/edtroy/prefix/default/lib/libgnuradio-runtime.so;/home/edtroy/prefix/default/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/liblog4cpp.so
GNURADIO_PMT_FOUND = TRUE
Checking for GNU Radio Module: VOLK
* INCLUDES=/home/edtroy/prefix/default/include
* LIBS=/home/edtroy/prefix/default/lib/libvolk.so
GNURADIO_VOLK_FOUND = TRUE
CMake Error: Could not open file for write in copy operation /home/edtroy/prefix/default/src/gr-iio/build/cmake_uninstall.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:160 (configure_file):
configure_file Problem configuring file
CMake Error: Could not open file for write in copy operation /home/edtroy/prefix/default/src/gr-iio/build/gnuradio-iio.pc.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:172 (configure_file):
configure_file Problem configuring file
--
-- Checking for module SWIG
-- Found SWIG version 3.0.10.
CMake Error at /home/edtroy/prefix/default/lib/cmake/gnuradio/GrPython.cmake:235 (file):
file failed to open for writing (Permission denied):
/home/edtroy/prefix/default/src/gr-iio/build/python_compile_helper.py
Call Stack (most recent call first):
/home/edtroy/prefix/default/lib/cmake/gnuradio/GrSwig.cmake:25 (include)
swig/CMakeLists.txt:36 (include)
CMake Error at /home/edtroy/prefix/default/lib/cmake/gnuradio/GrSwig.cmake:242 (file):
file failed to open for writing (Permission denied):
/home/edtroy/prefix/default/src/gr-iio/build/get_swig_deps.py
Call Stack (most recent call first):
swig/CMakeLists.txt:36 (include)
On 11/21/2017 1:46 PM, Brashendeavours        wrote:
      
      Lets blow away the gr-iio you have in there and start from scratch.
Try:$ cd ~/prefix/default$ source setup_env.sh$ pybombs remove gr-iio$ yes | pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git$ sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr$ pybombs install gr-iio
Please try these instructions and if any give you an error, post that.
gnuradio-companion gives me:
Blake
On Tue, Nov 21, 2017 at 1:18 PM, Ed Troy <etroy@aeroconsult.com> wrote:
My setup is under ~/prefix/default
Actually, I had tried that earlier and it did not work. When I do it, after pybombs install gr-iio, I get
PyBOMBS - INFO - PyBOMBS Version 2.3.2
ByBOMB.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
PyBOMBS.install_manager - INFO - No packages to install.
After starting gnuradio-companion, if I search for pluto, it does not find anything
Something is wrong, but I don't know what.
Regards,
Ed
On 11/21/2017 12:51 PM, Brashendeavours wrote:
Ed,
You installed using PyBombs? Perfect, that's what the instructions call for! :)
When using PyBombs and installing new modules, you want to ensure you are under the proper prefix. This is usually ~/gnuradio/default or ~/prefex/default (as per https://www.gnuradio.org/blog/pybombs-the-what-the-how- )and-the-why/ 
Additionally, make sure to run the script that ensures both PyBombs and gnuradio components are installed in the correct locations.$ cd ~/prefix/default (or ~/gnuradio/default)
$ source ./setup_env.sh
So get a grip on this, then run:$ sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr $ pybombs install gr-iio
Let me know if it's a win.
Cheers,Blake
Hi Blake,
I saw that, and some other things, but I am wondering if that will work in my case since I installed Gnuradio-companion using PYBOMBS. I believe that results in a totally different directory structure, but I am not sure.
Regards,
Ed
On 11/21/2017 12:21 PM, Brashendeavours wrote:
Hello Ed,
Located on the post you mentioned, at: https://www.rtl-sdr.com/adalm-pluto-sdr-unboxing-and- initial-testing/ 
Is a link to a reddit post explaining what you ask: https://www.reddit.com/r/RTLSDR/comments/6tnjba/ getting_started_with_ adalmpluto_and_gnu_radio/ 
Steps 2 and 3 of that post explain how to install the newest version of the gr-iio module (that includes Pluto support).
Cheers,Blake
I am trying to get my PlutoSDR to work with Gnuradio-companion in Ubuntu 17.04. It took a while, but I have Gnuradio-companion up and running and if I go into the Industrial IO, I see various sinks and sources for FMCOMMS, but nothing for PlutoSDR. I have seen several posts where the PlutoSDR source is clearly in Gnuradio-companion. How do you get it into the software? One page that clearly shows the source is https://www.rtl-sdr.com/adalm-pluto-sdr-unboxing-and- initial-testing/. 
I am running GNU Radio Companion 3.7.12git-269-g8aa965c6
Below is a screen shot of what I am trying to get from the above-mentioned web site.
<dedbgcaj.png>
Thanks,
Ed
-- RF, Microwave, Antenna, and Analog Design, Development,Simulation, and Research Consulting http://aeroconsult.com Aerospace Consulting LLC P.O. Box 536 Buckingham, Pa. 18912 (215) 345-7184 (215) 345-1309 FAX
-- RF, Microwave, Antenna, and Analog Design, Development,Simulation, and Research Consulting http://aeroconsult.com Aerospace Consulting LLC P.O. Box 536 Buckingham, Pa. 18912 (215) 345-7184 (215) 345-1309 FAX

No comments:
Post a Comment