# UHD build apparently failed - build-gnuradio script

**URL:** <https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895>\
**Category:** GNU Radio\
**Created:** [August 6, 2015, 12:47am UTC](https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895 "2015-08-06T00:47:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [August 6, 2015, 12:47am UTC](https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895/1 "2015-08-06T00:47:20Z")

</div>

Hi,  
i try to install gnuradio with script  
([http://www.sbrac.org/files/build-gnuradio](http://www.sbrac.org/files/build-gnuradio)) on Debian 8.4 64bit.  
I change in script version and he download pretty much of files, when he  
come to UHD, he breaks:

Skipping git fetch, since ‘uhd’ and ‘gnuradio’ are new enough  
Starting function uhd\_build at: Wed Aug 5 17:38:44 CDT 2015  
Building UHD…  
=============\> THIS WILL TAKE SOME TIME \<=============  
UHD build apparently failed  
Exiting UHD build

from files he get:  
airspy build-gnuradio gr-iqbal hackrf touch19347  
bladeRF gnuradio gr-osmosdr rtl-sdr uhd

i try with manual install UHD via apt-get, but seems that he don`t  
recognize it…

Can i get some help please?

thank you.

---

<div class="post-metadata">

**Author:** ![y0d4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/eb8c5e/32.png) [@y0d4](https://www.ruby-forum.com/u/y0d4)\
**Post date:** [August 6, 2015, 1:59am UTC](https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895/2 "2015-08-06T01:59:27Z")

</div>

On 08/05/2015 06:47 PM, Yoda Master wrote:

> Exiting UHD build  
> Can i get some help please?
> 
> thank you.

Run it with the -v flag to get more information about why it failed.

But since the script isn’t advertised to work with Debian 8.4, I’m not  
likely to be much help debugging it.

---

<div class="post-metadata">

**Author:** ![y0d4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/eb8c5e/32.png) [@y0d4](https://www.ruby-forum.com/u/y0d4)\
**Post date:** [August 7, 2015, 5:21pm UTC](https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895/3 "2015-08-07T17:21:57Z")

</div>

Hello Marcus,  
first sorry, i miss version, it`s 8.1, but i think that don`t change  
anything.  
With verbose i catch where he failed, but stuck on this:

```
    Done building/installing UHD
    Done function uhd_build at: Fri Aug 7 10:12:54 CDT 2015
    Starting function firmware at: Fri Aug 7 10:12:54 CDT 2015
    Could not find images downloader: uhd_images_downloader.py in

```

any of /usr/local/share /usr/local/lib /usr/local/lib64

i have it:  
$ locate uhd\_images\_downloader.py  
/home/y0d4/Downloads/uhd/host/utils/uhd\_images\_downloader.py.in  
/usr/lib/uhd/utils/uhd\_images\_downloader.py  
/usr/local/share/uhd\_images\_downloader.py

but script don`t see it…  
in script i see:  
dirlist="/usr/local/share /usr/local/lib /usr/local/lib64"  
prog=uhd\_images\_downloader.py

can i force him path of this python script?

thank you.

---

<div class="post-metadata">

**Author:** ![y0d4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/eb8c5e/32.png) [@y0d4](https://www.ruby-forum.com/u/y0d4)\
**Post date:** [August 7, 2015, 5:36pm UTC](https://www.ruby-forum.com/t/uhd-build-apparently-failed-build-gnuradio-script/242895/4 "2015-08-07T17:36:00Z")

</div>

Given that you have an instance in /usr/lib/uhd/utils, that means you  
have an install from your distros package manager, and that needs to  
be removed before you do a source-based installed.

Also, the usual location from a source install is:  
/usr/local/lib/uhd/utils/uhd\_images\_downloader.py

It would be useful to see the log output from when the UHD build section  
was doing a “make install”, to see where it put  
uhd\_images\_downloader.py, because  
/usr/local/share/uhd\_images\_downloader.py is not the usual location.
