discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Problem with installation - grc does not start


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Problem with installation - grc does not start
Date: Tue, 28 Sep 2010 09:39:08 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8


Thanks for your answer. I edited config.conf to:

[grc]
local_blocks_path=/home/gnuradio/gnuradio-uhd/gnuradio/grc/blocks:/home/gnuradio/gnuradio-uhd/gnuradio/gr-uhd/grc

Now I can start grc and see the uhd blocks. The next problem is, that
I can't execute any flow graphs out of grc, even if I run sudo grc I
get:

Executing: "/home/gnuradio/top_block.py"
[Errno 13] Permission denied


thats weird, what are the permissions on top_block.py?

My workaround was to execute the flowgraph from shell which works as
long as I have no uhd blocks in my graph. With uhd blocks I get:

address@hidden:~$ ./top_block.py
Traceback (most recent call last):
   File "./top_block.py", line 10, in<module>
     from gnuradio import uhd
ImportError: cannot import name uhd

What can I do to solve this problem?

When I install my gnuradio/uhd stuff into a non-standard prefix, I setup the paths in .bashrc like so:

derp_prefix=/home/jblum/usr
export PKG_CONFIG_PATH=${derp_prefix}/lib/pkgconfig:${PKG_CONFIG_PATH}
export PATH=${derp_prefix}/bin:$PATH
export PYTHONPATH=${derp_prefix}/lib64/python2.6/site-packages:$PYTHONPATH
export GRC_BLOCKS_PATH=${derp_prefix}/share/gnuradio/grc/blocks
export LD_LIBRARY_PATH=${derp_prefix}/lib

Hope that helps,
-Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]