Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Downloaded Gqrx to go with my GNU Radio and it's a .tar file. I've extracted it into a folder called "SDR" in my home folder, I've cd'ed into it and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911

    Need VERY SIMPLE instructions on installing a tarball.


    Downloaded Gqrx to go with my GNU Radio and it's a .tar file. I've extracted it into a folder called "SDR" in my home folder, I've cd'ed into it and opened README.md and scrolled down to this:

    Gqrx comes with a simple qmake build setup. It can be compiled from within Qt Creator or in a terminal:

    <pre>
    $ git clone https://github.com/csete/gqrx.git gqrx.git
    $ cd gqrx.git
    $ mkdir build
    $ cd build
    $ qmake ..
    $ make
    </pre>

    Now I have no foggy clue as where to go from here. I know, ./configure, make, makeinstall, simple for ya'll, hard as hell for me.
    I need someone to walk me through this with baby steps. I've never compiled from source before I really don't want to bork my system. Where do I go from here or do I need to take a couple steps back and start down a different path to get to where I want to go. Thanks in advance.

  2. #2
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    Here's an example of what I'm running into:

    darrell@linuxmonster1:~/Firmware$ cd SDR
    darrell@linuxmonster1:~/Firmware/SDR$ ls
    gqrx-2.2.0 gqrx-2.2.0-src.tar.gz
    darrell@linuxmonster1:~/Firmware/SDR$ cd gqrx-2.2.0
    darrell@linuxmonster1:~/Firmware/SDR/gqrx-2.2.0$ ./configure --prefix=/usr/local/
    bash: ./configure: No such file or directory
    darrell@linuxmonster1:~/Firmware/SDR/gqrx-2.2.0$ more README
    README: No such file or directory
    darrell@linuxmonster1:~/Firmware/SDR/gqrx-2.2.0$ more INSTALL
    INSTALL: No such file or directory
    darrell@linuxmonster1:~/Firmware/SDR/gqrx-2.2.0$ sudo ./configure
    [sudo] password for darrell:
    sudo: ./configure: command not found
    darrell@linuxmonster1:~/Firmware/SDR/gqrx-2.2.0$

    I'm in the SDR folder and in gqrs.2.2.0 but when I try to do a ./configure I get errors. Why can't they just have a .deb package I can install???????

  3. #3
    Just Joined!
    Join Date
    Oct 2012
    Posts
    13
    hi,

    if you're running ubuntu you may try to use their ppa.

    Code:
    gqrx.dk/download 
    and 
    launchpad.net/~gqrx/+archive/releases
    as for compiling it from source, make sure you have all the dependencies as noted[1] on their github page and do the steps shown there, for example:

    [1]
    Code:
    github.com/csete/gqrx#installation-from-source
    Code:
    mkdir /opt/build/
    cd /opt/build/
    git clone https://github.com/csete/gqrx.git gqrx.git
    cd gqrx.git
    mkdir build
    cd build
    qmake ..
    make
    if 'qmake' is not present on your system, then according to 'apt-file' you need to install 'qt4-qmake'

    Code:
    # apt-file search qmake | grep -E '/qmake$'
    qt3-dev-tools: /usr/share/qt3/bin/qmake
    qt4-qmake: /usr/share/qt4/bin/qmake
    hope it helps

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    I'm running Point Linux 2.2 which is Debian Stable with MATE DE. I'll look over your post and see if I can get things going. Thanks.

  6. #5
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    Ok, I"m trying to follow along in the README.md as best as I can and I get down to here and get this:

    darrell@linuxmonster1:~/Firmware/SDR...2.2.0/gqrx.git/build$ qmake ..
    sh: 1: pkg-config: not found
    sh: 1: pkg-config: not found
    Project MESSAGE: No prefix given. Using /usr/local
    sh: 1: pkg-config: not found
    Project ERROR: Package gnuradio-audio not found
    darrell@linuxmonster1:~/Firmware/SDR...2.2.0/gqrx.git/build$

    so does it look like I need to install qmake then? I checked in Synaptic and I do have qmake installed.

  7. #6
    Just Joined!
    Join Date
    Oct 2012
    Posts
    13
    It does look like you need to install 'pkg-config'.

    try:
    Code:
    # apt-get install pkg-config
    also gnuradio-audio is not found on the system. you have to have the dependencies installed on your system in order to build it from source.

  8. #7
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    Ok, installed pkg-config and gnuradio-audio IS installed, I went into Synaptic and even re-installed it. Not sure why it's not being seen.

  9. #8
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    Ok, now I've gotten to this:

    darrell@linuxmonster1:~/gqrx.git/build$ qmake ..
    Project MESSAGE: No prefix given. Using /usr/local
    Package fftw3f was not found in the pkg-config search path.
    Perhaps you should add the directory containing `fftw3f.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'fftw3f', required by 'gnuradio-core', not found
    Package fftw3f was not found in the pkg-config search path.
    Perhaps you should add the directory containing `fftw3f.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'fftw3f', required by 'gnuradio-core', not found
    Project ERROR: Package gnuradio-analog not found

    Looks like I need ffw3f and gnuradio-analog added. Also when I do the qmake .. do I need to also add /usr/local to it since it's saying no pathway is given?

    Ok, just looked in Synaptic and there's no fftw3f or gnuradio-analog to be found.

  10. #9
    Linux Engineer TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    911
    I installed CuteSDR and Quisk from Synaptic and they open up and look like they'll work when I get the dongle and antenna. I still have GNU Radio installed as well but I wonder if it's even worth it to try and get Gqrx installed since I have two SDR programs installed that will probably work.
    So, how would I uninstall what I have installed or should I even bother?

  11. #10
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Quote Originally Posted by TNFrank View Post
    So, how would I uninstall what I have installed or should I even bother?
    the problem is you became the package manager ... for future try this
    You might find make uninstall works ...

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •