# Problems to create a new OOT module using gr\_modtool in a pybombs instalation of Gnuradio

**URL:** <https://www.ruby-forum.com/t/problems-to-create-a-new-oot-module-using-gr-modtool-in-a-pybombs-instalation-of-gnuradio/234618>\
**Category:** GNU Radio\
**Created:** [March 17, 2015, 9:49pm UTC](https://www.ruby-forum.com/t/problems-to-create-a-new-oot-module-using-gr-modtool-in-a-pybombs-instalation-of-gnuradio/234618 "2015-03-17T21:49:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [March 17, 2015, 9:49pm UTC](https://www.ruby-forum.com/t/problems-to-create-a-new-oot-module-using-gr-modtool-in-a-pybombs-instalation-of-gnuradio/234618/1 "2015-03-17T21:49:28Z")

</div>

Hello,

I tried to create a module in the Gnuradio v3.7.6.1 installed by pybombs  
using gr\_modtool. But the module didn’t appear in the gnuradio module  
list.  
I verified if something it was wrong during the creation of the block,  
but it wasn’t.

So after a long time, I noticed that the .xml files of the new module it  
was created in a different folder.  
In my case I install gnuradio in the folder: //usr/local/src, where I  
put the pybombs files and install, and the .xml files usually are  
located in: //usr/local/src/target/share/gnuradio/grc/blocks. But the  
new module .xml files was created in:  
//usr/local/share/gnuradio/grc/blocks.

Because of that, my new module didn’t appear in the gnuradio module  
list.  
So, I copy the .xml files to the correctly folder and n more problems  
with that.

But, I would like if there are another solution to that.  
Do you have any idea ?

Thanks,

---

<div class="post-metadata">

**Author:** ![Luiz\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f07891/32.png) [@Luiz\_S](https://www.ruby-forum.com/u/Luiz_S)\
**Post date:** [March 17, 2015, 10:04pm UTC](https://www.ruby-forum.com/t/problems-to-create-a-new-oot-module-using-gr-modtool-in-a-pybombs-instalation-of-gnuradio/234618/2 "2015-03-17T22:04:48Z")

</div>

On Tue, Mar 17, 2015 at 4:27 PM, Luiz S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> the pybombs files and install, and the .xml files usually are located in:  
> Thanks,

You’ve set two different prefixes for GNU Radio and your OOT project, so  
they were installed into different locations. That’s fine, but you’ll  
need  
to setup your system to handle it. For the GRC problem, you can take a  
look  
here:

[http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Installing-the-XML-Block-Definition](http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Installing-the-XML-Block-Definition)

That gives you different ways to tell GRC where to find blocks. You  
might  
find yourself needing to add to your PATH, PYTHONPATH, and  
LD\_LIBRARY\_PATH  
env. variables (you can find this in the environmental setup script  
generated from pybombs’ ‘env’ command).

Tom
