discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with gnuradio-companion


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Problem with gnuradio-companion
Date: Wed, 3 Aug 2016 20:51:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Hi Mike,

/usr/lib contains files that probably were installed by Ubuntu itself,
i.e. not built from source.

Please make sure you're not having packages installed that conflict with
the things you want to build from source!

Best regards,
Marcus
On 08/03/2016 08:46 PM, Mike Willis wrote:
> Oops - hit send before finishing.
>
> So, eventually I discovered that there were some files in
> /usr/lib/python2.7/dist-packages/gnuradio - not sure how they got
> there but they were dated the same date I upgraded 14.04 to 16.04. I
> moved them all to another place and that eliminated the error. But
> these are not in the path so should not have been found - unless
> python has a default path, but that would be stupid as it would cause
> all sorts of issues, like this one.
>
> But still, all my blocks are missing. How do I recompile my own block
> so gnuradio running in a prefix that is not /usr/local can find it?
> Presumably in a switch to cmake but there is nothing about this I can
> find in the pybombs documentation.
>
> Mike
>
>
>
> On Wed, Aug 3, 2016 at 7:34 PM, Mike Willis <address@hidden> wrote:
>> The file is there so its not that. Nor was the suggestion by Cinaed
>> Simson successful. Gnuradio runs OK, but not gnuradio-companion. Hmm.
>>
>> address@hidden:~/gnuradio/lib/python2.7/dist-packages/gnuradio/grc$ ls -l
>> total 52
>> -rw-r--r-- 1 mike mike 2374 Aug  1 12:22 checks.py
>> -rw-r--r-- 1 mike mike 2420 Aug  1 13:43 checks.pyc
>> -rw-r--r-- 1 mike mike 2420 Aug  1 13:43 checks.pyo
>> drwxrwxr-x 4 mike mike 4096 Aug  1 13:59 core
>> drwxrwxr-x 2 mike mike 4096 Aug  1 13:59 gui
>> -rw-r--r-- 1 mike mike    0 Aug  1 12:22 __init__.py
>> -rw-r--r-- 1 mike mike  135 Aug  1 13:43 __init__.pyc
>> -rw-r--r-- 1 mike mike  135 Aug  1 13:43 __init__.pyo
>> -rw-r--r-- 1 mike mike  834 Aug  1 12:22 __main__.py
>> -rw-r--r-- 1 mike mike 1742 Aug  1 12:22 main.py
>> -rw-r--r-- 1 mike mike  184 Aug  1 13:43 __main__.pyc
>> -rw-r--r-- 1 mike mike 1331 Aug  1 13:43 main.pyc
>> -rw-r--r-- 1 mike mike  184 Aug  1 13:43 __main__.pyo
>> -rw-r--r-- 1 mike mike 1331 Aug  1 13:43 main.pyo
>>
>> The paths are set up in setup_env.sh
>>
>> # WARNING: This file is auto-generated by pybombs, any manual changes
>> to it may be overwritten!
>> export PATH="/home/mike/gnuradio/bin:$PATH"
>> export 
>> PYTHONPATH="/home/mike/gnuradio/python:/home/mike/gnuradio/lib/python2.6/site-packages:/home/mike/gnuradio/lib64/python2.6/site-packages:/home/mike/gnuradio/lib/python2.6/dist-packages:/home/mike/gnuradio/lib64/python2.6/dist-packages:/home/mike/gnuradio/lib/python2.7/site-packages:/home/mike/gnuradio/lib64/python2.7/site-packages:/home/mike/gnuradio/lib/python2.7/dist-packages:/home/mike/gnuradio/lib64/python2.7/dist-packages:$PYTHONPATH"
>> export 
>> LD_LIBRARY_PATH="/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:$LD_LIBRARY_PATH"
>> export 
>> LIBRARY_PATH="/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:$LIBRARY_PATH"
>> export 
>> PKG_CONFIG_PATH="/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:$PKG_CONFIG_PATH"
>> export PYBOMBS_PREFIX="/home/mike/gnuradio"
>> # If we're in a Python virtualenv, activate that
>> if [ -r /home/mike/gnuradio/bin/activate ]; then
>>     source /home/mike/gnuradio/bin/activate
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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