issues installing gqrx on fedora 17

208 views
Skip to first unread message

Amogh Desai

unread,
Nov 23, 2012, 3:42:22 PM11/23/12
to gq...@googlegroups.com
HI Guys,

I have recently switched to linux (completely).

This is what I did

1. Ran
$ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio


2. Ran
$ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
$
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin
$
export PKG_CONFIG_PATH=/usr/local/lib64:${PKG_CONFIG_PATH}

3. This what their output is:
$ echo $PKG_CONFIG_PATH
/usr/local/lib64:/usr/local/lib64/pkgconfig:/usr/local/lib64/pkgconfig
$ sudo echo $LD_LIBRARY_PATH
/usr/bin:
$ echo $PYTHONPATH
:/usr/lib/python2.7/dist-packages

When I run
$ qtcreator gqrx.pro

I Qtcreator opens => I click Finish => I click the Hammer button => I get an error which says
-1: error: Package gnuradio-core not found

02:02:29: The process "/usr/bin/qmake-qt4" exited with code 2.

Error while building project gqrx (target: Desktop)

When executing build step 'qmake'


Kindly help to get this sorted.

Alexandru Csete

unread,
Nov 23, 2012, 4:41:05 PM11/23/12
to gq...@googlegroups.com
On Fri, Nov 23, 2012 at 9:42 PM, Amogh Desai <desai...@gmail.com> wrote:
> HI Guys,
>
> I have recently switched to linux (completely).
>
> This is what I did
>
> 1. Ran
>
> $ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
> ./build-gnuradio && ./build-gnuradio
>
>
> 2. Ran
> $ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
> $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin
> $ export PKG_CONFIG_PATH=/usr/local/lib64:${PKG_CONFIG_PATH}

I don't have experience with the script but the last two lines above
look wrong! I'm guessing it should be either:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

or

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig

depending on where you got them installed (the pkgconfig directory
should contain a file called gnuradio-core.pc).

Alex

Amogh Desai

unread,
Nov 24, 2012, 11:23:35 AM11/24/12
to gq...@googlegroups.com
Thanks Alex ! 

This fixed it and Its compiled successfully.  However, the Paths at times show blank and I have re-set them.  Is there a way I can set them permanently ??

Also, I have an R820T Dongle, its plugged in and shows up in $ lsusb.  I installed the below script"
$ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

This should Ideally install RTL_SDR libraries and R820T should work by default, I still get an error "
Funcube Dongle could not be found".  I am able to run rtl_test -t and it works fine, which means rtl_sdr is working but it is not linking with gqrx correctly.

Any suggestions around this ??

-Amogh

Alexandru Csete

unread,
Nov 24, 2012, 11:42:56 AM11/24/12
to gq...@googlegroups.com
On Sat, Nov 24, 2012 at 5:23 PM, Amogh Desai <desai...@gmail.com> wrote:
> Thanks Alex !
>
> This fixed it and Its compiled successfully. However, the Paths at times
> show blank and I have re-set them. Is there a way I can set them
> permanently ??

Yes, you can do that by putting the export statements into the .bashrc
file in the home directory (note the dot in front of the file name -
it means it is a hidden file so you must enable "Show hidden files" in
the file manager to see it.

>
> Also, I have an R820T Dongle, its plugged in and shows up in $ lsusb. I
> installed the below script"
>
> $ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
> ./build-gnuradio && ./build-gnuradio
>
> This should Ideally install RTL_SDR libraries and R820T should work by
> default, I still get an error "
> Funcube Dongle could not be found". I am able to run rtl_test -t and it
> works fine, which means rtl_sdr is working but it is not linking with gqrx
> correctly.
>
> Any suggestions around this ??

Yes. It appears that you got version 2.0 which only supports the
Funcube Dongle. You need to check out the source code from the git
repository in order to get RTL SDR support, i.e. in a terminal:

git clone git://github.com/csete/gqrx.git gqrx.git

You will then have the source code in gqrx.git

Alex

Amogh Desai

unread,
Nov 24, 2012, 11:53:19 AM11/24/12
to gq...@googlegroups.com
Hey Alex!

You have been very supportive.  Thanks so much !

I read about the v2.1  elsewhere on this group and cloned the master branch while you were typing the above response and it works perfectly now !!

I tuned one of the FM station to test and its working gr8.

Thanks Again !

Regards
Amogh Desai

Regards, 
Amogh Desai
www.amoghdesai.com




--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To post to this group, send email to gq...@googlegroups.com.
To unsubscribe from this group, send email to gqrx+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Alexandru Csete

unread,
Nov 24, 2012, 12:13:35 PM11/24/12
to gq...@googlegroups.com
Ok, that's good news. Enjoy!

Alex
Reply all
Reply to author
Forward
0 new messages