A few issues with installation Error installing uhd and gnuradio

1,966 views
Skip to first unread message

questio...@gmail.com

unread,
Feb 1, 2018, 3:41:13 AM2/1/18
to gr-gsm
/*I am currently running kali linux ubuntu 3.7.11-6 amd64.

Been searching for hours but came up empty so I apologize if this has been resolved. 

I was following the installation process from there, https://github.com/ptrkrysik/gr-gsm/wiki/Installation and ran across the following errors:*/


# pybombs prefix init /usr/local -a default_prx -R gnuradio-default

configure: error: "Error: libcrypto required."
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package apache-thrift:
Configuration failed
PyBOMBS.PackageManager - WARNING - Optional package apache-thrift failed to install. Will prete$
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: uhd
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
fatal: unable to access 'https://github.com/EttusResearch/uhd.git/': Could not resolve host: gi$
error: Could not fetch uhd
PyBOMBS.Fetcher - ERROR - Unexpected error while fetching git+https://github.com/EttusResearch/$
PyBOMBS.Fetcher - ERROR - Command '['git', 'remote', 'update', 'uhd']' returned non-zero exit s$
PyBOMBS.Packager.source - ERROR - Problem occurred while building package uhd:
Unable to fetch recipe uhd
PyBOMBS.install_manager - ERROR - Error installing package uhd. Aborting.

//This next code seems fine:

#  pybombs config default_prefix default_prx

PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.config - INFO - Using config file: /root/.pybombs/config.yml
default_prefix: default_prx
  - Default Prefix

//Here got another error:

# pybombs install gr-gsm

~
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package apache-thrift:
Configuration failed
PyBOMBS.PackageManager - WARNING - Optional package apache-thrift failed to install. Will prete$
~

//Few hundred lines later,

PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio:
Unable to fetch recipe gnuradio
PyBOMBS.install_manager - ERROR - Error installing package gnuradio. Aborting.


//Was trying to install this version:

# gnuradio-companion --version
GNU Radio Companion 3.7.11

//Also ran:

# pybombs recipes update

PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.recipes - INFO - Updating recipe location `gr-etcetera'...
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
Updating: (100%) [============================================================================]
Updating: (100%) [============================================================================]
PyBOMBS.recipes - INFO - Updating recipe location `gr-recipes'...
Updating: (100%) [============================================================================]
Updating: (100%) [============================================================================]

//Seemed to be ok.

# apt-get install libssl-dev

/*Returned that it is already the newest version (1.1.0g-2)

I have also uninstalled and reinstalled the VM all together from before my initial attempt.

Apologies for the long post but from what I gathered researching possible fixes I'm trying to be a detailed as possible. Please let me know if you need anymore information or if I missed anything. Thank you for taking the time to read this and providing any help.*/


questio...@gmail.com

unread,
Feb 1, 2018, 4:27:31 AM2/1/18
to gr-gsm
Forgot to mention I am doing this as root (hence the no sudo)

Vasil Velichkov

unread,
Feb 1, 2018, 11:17:44 AM2/1/18
to gr-gsm


On Thursday, February 1, 2018 at 10:41:13 AM UTC+2, questio...@gmail.com wrote:
# pybombs prefix init /usr/local -a default_prx -R gnuradio-default

configure: error: "Error: libcrypto required."
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package apache-thrift:
Configuration failed

That's normal, ignore it. The version pybombs is trying to install can't be compiled with newer version of openssl.
 
PyBOMBS.PackageManager - WARNING - Optional package apache-thrift failed to install. Will prete$
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: uhd
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
fatal: unable to access 'https://github.com/EttusResearch/uhd.git/': Could not resolve host: gi$
error: Could not fetch uhd

There were internet connection problem or github was down at that time.

Try to (re)fetch uhd

  pybombs fetch uhd

or

  pybombs refetch uhd

If it still fails try to manually clone it

cd /usr/local/src/
Message has been deleted
Message has been deleted

questio...@gmail.com

unread,
Feb 2, 2018, 6:12:28 AM2/2/18
to gr-gsm
I was still getting an error where gr-gsm was not being installed so I ran this command:

apt-get install gr-gsm

It seemed to install properly but when I ran this next command I got the following:

# grgsm_livemon

Traceback (most recent call last):
  File "/usr/bin/grgsm_livemon", line 45, in <module>
    from gnuradio import qtgui
  File "/usr/lib/python2.7/dist-packages/gnuradio/qtgui/__init__.py", line 37, in <module>
    from range import Range, RangeWidget
  File "/usr/lib/python2.7/dist-packages/gnuradio/qtgui/range.py", line 67, in <module>
    class RangeWidget(QtWidgets.QWidget):
AttributeError: 'module' object has no attribute 'QWidget'

I'm at a bit of a loss.

Vasil Velichkov

unread,
Feb 5, 2018, 2:05:39 PM2/5/18
to gr-gsm
Reply all
Reply to author
Forward
0 new messages