<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sir:<br>
    <br>
    If you look in the place where you built gr-osmosdr, you will find a
    file called install_manifest.txt which contains where it put all the
    files.  The rtlsdr_source_c.xml and osmosdr_source_c.xml (which are
    files that describe the sources, both of which produce streams of
    complex numbers, which is what the naming convention means) are how
    the gnuradio companion knows how to use those sources.<br>
    <br>
    Do a "sudo make uninstall" where you built gr-osmosdr, and then
    start over with gr-osmosdr.  But this time, instead of just running
    "cmake" with no options, use the command:<br>
    <br>
    <blockquote>
      <pre>cmake .. -DCMAKE_INSTALL_PREFIX=/usr
</pre>
    </blockquote>
    You "define" (that's what "-D" means) the value
    "CMAKE_INSTALL_PREFIX" to be /usr.  If you don't define it to be
    something, it will use the default value of "/usr/local"<br>
    <br>
    I have a Web page with partial instructions (it's not intended to be
    a Linux introduction, although I will do my best to answer specific
    questions if you have any) and some other stuff on it: 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <a href="http://www.ka8kpn.org/sdr-dongle.html">http://www.ka8kpn.org/sdr-dongle.html</a><br>
    <br>
    Oh, and while I'm thinking about it, I really detest mailing lists
    whose default action on a reply is to write directly to the person
    to whom you are responding rather than to the list.  To me, it is
    optimizing the atypical case and it makes far more sense to optimize
    for what everyone nearly always wants to do.  That is, it may be
    technically correct, but it is definitely the wrong thing to do. 
    However, I know I've lost that battle, so I'll not mention it again.<br>
    <br>
    On 01/12/2013 03:24 PM, <a class="moz-txt-link-abbreviated" href="mailto:tokens@myranch.com">tokens@myranch.com</a> wrote:
    <blockquote cite="mid:C9ED2A0F09E340A4AF513C480D94D1AA@AlPC"
      type="cite">Hi Jonathan,
      <br>
      <br>
      Please excuse my ignorant comments and questions but I am very
      much a Linux novice.
      <br>
      <br>
      I see that there are directories for gr-osmosdr, rtl-sdr, and uhd
      under home directory. Under usr/local/share/gnuradio/grc/blocks/ I
      find osmosdr_source_c.xml and rtlsdr_source_c.xml. Directories for
      gnuradio are under usr/etc and usr/include. I guess this is what
      you mean by some bits of gr-osmosdr and rtlsdr end up in
      usr/local. How do I force cmake to install the software into /usr.
      <br>
      <br>
      Thank you very much.
      <br>
      <br>
      Regards,
      <br>
      Al
      <br>
      <br>
      -----Original Message----- From: Jonathan Guthrie
      <br>
      Sent: Saturday, January 12, 2013 2:18 PM
      <br>
      To: <a class="moz-txt-link-abbreviated" href="mailto:tokens@myranch.com">tokens@myranch.com</a>
      <br>
      Subject: Re: rtl-sdr and gr-osmosdr
      <br>
      <br>
      On 01/12/2013 09:03 AM, <a class="moz-txt-link-abbreviated" href="mailto:tokens@myranch.com">tokens@myranch.com</a> wrote:
      <br>
      <blockquote type="cite">I have installed these using the
        procedures shown in the wiki. I didn’t see any errors during the
        installation. The packages are on the computer but they are not
        listed amongst the sources on GNU Radio Companion.
        <br>
        If I type in the terminal rtl_test –t I get:
        <br>
        Found 1 device(s):
        <br>
         0: ezcap USB 2.0 DVB-T/DAB/FM dongle
        <br>
        <br>
        Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
        <br>
        usb_open error -3
        <br>
        Failed to open rtlsdr device #0
        <br>
        <br>
        Any suggestions?
        <br>
        <br>
      </blockquote>
      <br>
      I installed GNURadio as packaged by my distribution, and I did the
      <br>
      "cmake; make; sudo make install" that I found, and I got the
      symptoms
      <br>
      you described.  The problem I had is that packaged software
      normally
      <br>
      gets installed into /usr and the "cmake, etc" procedure installs
      it's
      <br>
      software into /usr/local.  That meant that grc was looking in the
      wrong
      <br>
      place to find the gr-osmosdr bits.
      <br>
      <br>
      Telling cmake to install the software into /usr fixed my problem. 
      Could
      <br>
      it possibly fix yours?
      <br>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>