# How do I run gr-scan?

**URL:** <https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318>\
**Category:** GNU Radio\
**Created:** [June 15, 2015, 3:46pm UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318 "2015-06-15T15:46:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [June 15, 2015, 3:46pm UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/1 "2015-06-15T15:46:23Z")

</div>

I downloaded this program that someone made hoping that it will help me  
but  
I don’t know how to run it. It’s on my computer but it doesn’t have a py  
file. What should I do?

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 15, 2015, 3:50pm UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/2 "2015-06-15T15:50:29Z")

</div>

Dear Ashraf,

Google shows that there’s different things created by different people  
that are called gr-scan; where did you download yours? Are you aware of  
how to build out-of-tree modules?

Best regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 16, 2015, 9:16am UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/3 "2015-06-16T09:16:49Z")

</div>

I guess it’s just “make” with that one, then. It has a makefile. Whether  
that works really depends on your system – for whatever reason pinkavaj  
decided not to use gr\_modtoll and CMake, it made automatic finding of  
libraries impossible.

Best regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 16, 2015, 9:23am UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/4 "2015-06-16T09:23:50Z")

</div>

I tried that and it keeps giving me an error about \<gr\_top\_block.h\> is  
not  
a file or directory. Which is making me thin that I have the folder in  
the  
wrong place or they’re forgetting to add some files to the .tar

On Mon, Jun 15, 2015 at 10:13 AM, Marcus Müller  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 16, 2015, 9:36am UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/5 "2015-06-16T09:36:41Z")

</div>

In that case, the module is not GNU Radio 3.7 compatible, since  
gr\_top\_block.h is a 3.6 thing, although pinkavaj seems to indicate he  
tried to port it to GNU Radio 3.7.  
Maybe contact the author, or try a different OOT or build it yourself.  
By the way, the module uses gr-osmosdr, which needs osmo-sdr, and that  
already comes with exactly the functionality the author says this OOT  
has – install osmo-sdr and run “osmocom\_spectrum\_sense”.

Best regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 16, 2015, 9:40am UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/6 "2015-06-16T09:40:46Z")

</div>

Ok, so there isn’t much I can do with the files now. That program title  
looks similiar to usrp\_spectrum\_sense, they probably do the the same  
thing  
then, right?  
Thank you so much for helping me This really helped.

On Mon, Jun 15, 2015 at 10:33 AM, Marcus Müller  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Ashraf\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@Ashraf\_Y](https://www.ruby-forum.com/u/Ashraf_Y)\
**Post date:** [June 16, 2015, 10:46am UTC](https://www.ruby-forum.com/t/how-do-i-run-gr-scan/242318/7 "2015-06-16T10:46:12Z")

</div>

Maybe you’d just want to describe what you’re trying to achieve as  
exactly as possible (in a new thread, to make following easier for  
people not involved in our bilateral discussion), and we, as a community  
might find a way to suggest something!

Best regards,  
Marcus
