discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP 1 RA Help!


From: Mike Jameson
Subject: Re: [Discuss-gnuradio] USRP 1 RA Help!
Date: Sun, 27 Jan 2013 15:35:23 +0000

Hi,

I'd reinstall gnuradio by following the following instructions at:

http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script

The command you need to run is:
wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

Cheers,

Mike
M0MIK


On 27 January 2013 14:56, Frankie Rawlins <address@hidden> wrote:
Hi Mike,

Pip installed successfully and Pyethem.  However, when I try to run simple_ra I still get the following:
It would appear to be a problem with the installation of gnuradio but I did run the script (I named the script 'script')
using chmod u+x script.sh


Successfully installed pyephem
Cleaning up...
address@hidden:~$ simple_ra

Traceback (most recent call last):
  File "/home/alpha/bin/simple_ra_receiver.py", line 10, in <module>
    from gnuradio import blks2
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/__init__.py", line 37, in <module>
    exec "from gnuradio.blks2impl.%s import *" % (f,)
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py", line 23, in <module>
    from gnuradio import gr, optfir
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 27, in <module>
    from gnuradio_core import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
    from gnuradio_core_runtime import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 26, in <module>
    _gnuradio_core_runtime = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 22, in swig_import_helper
    _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol: volk_64u_byteswap_u


address@hidden:~$ cd simple_ra
address@hidden:~/simple_ra$ cd trunk
address@hidden:~/simple_ra/trunk$ simple_ra

Traceback (most recent call last):
  File "/home/alpha/bin/simple_ra_receiver.py", line 10, in <module>
    from gnuradio import blks2
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/__init__.py", line 37, in <module>
    exec "from gnuradio.blks2impl.%s import *" % (f,)
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py", line 23, in <module>
    from gnuradio import gr, optfir
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 27, in <module>
    from gnuradio_core import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
    from gnuradio_core_runtime import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 26, in <module>
    _gnuradio_core_runtime = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 22, in swig_import_helper
    _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol: volk_64u_byteswap_u
address@hidden:~/simple_ra/trunk$ ./simple_ra

Traceback (most recent call last):
  File "/home/alpha/bin/simple_ra_receiver.py", line 10, in <module>
    from gnuradio import blks2
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/__init__.py", line 37, in <module>
    exec "from gnuradio.blks2impl.%s import *" % (f,)
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py", line 23, in <module>
    from gnuradio import gr, optfir
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 27, in <module>
    from gnuradio_core import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
    from gnuradio_core_runtime import *
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 26, in <module>
    _gnuradio_core_runtime = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 22, in swig_import_helper
    _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol: volk_64u_byteswap_u
address@hidden:~/simple_ra/trunk$



From: address@hidden
Date: Sun, 27 Jan 2013 14:33:12 +0000

Subject: Re: [Discuss-gnuradio] USRP 1 RA Help!
To: address@hidden
CC: address@hidden


Hi,

Just run these commands taken from: http://www.pip-installer.org/en/latest/installing.html
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py

Mike
M0MIK


On 27 January 2013 14:29, Frankie Rawlins <address@hidden> wrote:
Hi Mike.
I'm now getting:


address@hidden:~$ cd simple_ra
address@hidden:~/simple_ra$ cd trunk
address@hidden:~/simple_ra/trunk$ sudo pip install pyephem
[sudo] password for alpha:
sudo: pip: command not found
address@hidden:~/simple_ra/trunk$



From: address@hidden
Date: Sun, 27 Jan 2013 14:18:13 +0000
Subject: Re: [Discuss-gnuradio] USRP 1 RA Help!

To: address@hidden
CC: address@hidden

Hi Frank,

Great, it's now installed :)

Now run:


sudo pip install pyephem
simple_ra



Mike
M0MIK



On 27 January 2013 13:54, Frankie Rawlins <address@hidden> wrote:
Hi Mike,

Thank you for replying.  However, when i tried that I get the following:


address@hidden:~$ cd simple_ra
address@hidden:~/simple_ra$ cd trunk

address@hidden:~/simple_ra/trunk$ make
make: `simple_ra_recorder' is up to date.
address@hidden:~/simple_ra/trunk$ sudo make install
[sudo] password for alpha:
mkdir /home/alpha/bin
mkdir: cannot create directory `/home/alpha/bin': File exists
make: [install] Error 1 (ignored)

cp -p simple_ra_recorder simple_ra simple_ra_fcd /home/alpha/bin
cp -p simple_ra_receiver.py simple_ra_receiver.grc /home/alpha/bin
cp -p simple_ra_receiver_fcd.py simple_ra_receiver_fcd.grc /home/alpha/bin
cp -p simple_ra_utils.py /home/alpha/bin
cp -p uhd_params_block.py /home/alpha/bin
cp -p process_simple_tpdat /home/alpha/bin
cp -p process_simple_specdat /home/alpha/bin
address@hidden:~/simple_ra/trunk$



From: address@hidden
Date: Sun, 27 Jan 2013 12:25:00 +0000
Subject: Re: [Discuss-gnuradio] USRP RA Help!
To: address@hidden
CC: address@hidden

Hi,

I've just tried to make and install it and it works for me.

Just type 'make' to make and 'sudo make install' to install.

See my bash shell output below.

Cheers,

Mike
M0MIK

address@hidden:~/play/gr_projects$ svn checkout https://www.cgran.org/svn/projects/simple_ra simple_ra
A    simple_ra/trunk
A    simple_ra/trunk/simple_ra_recorder.c
A    simple_ra/trunk/simple_ra_receiver_fcd.py
A    simple_ra/trunk/simple_ra_utils.py
A    simple_ra/trunk/stime.c
A    simple_ra/trunk/process_simple_tpdat
A    simple_ra/trunk/uhd_params_block.py
A    simple_ra/trunk/simple_ra_receiver_fcd.grc
A    simple_ra/trunk/simple_ra_receiver.py
A    simple_ra/trunk/simple_ra_fcd
A    simple_ra/trunk/COPYING
A    simple_ra/trunk/simple_ra_receiver.grc
A    simple_ra/trunk/process_simple_specdat
A    simple_ra/trunk/simple_ra
A    simple_ra/trunk/Makefile
Checked out revision 1073.   
address@hidden:~/play/gr_projects$ cd simple_ra/
address@hidden:~/play/gr_projects/simple_ra$ ls -l
total 4
drwxrwxr-x 3 m m 4096 Jan 27 12:18 trunk
address@hidden:~/play/gr_projects/simple_ra$ cd trunk/
address@hidden:~/play/gr_projects/simple_ra/trunk$ ls -l
total 196
-rw-rw-r-- 1 m m  1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m   826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m  2657 Jan 27 12:18 process_simple_specdat
-rwxrwxr-x 1 m m  3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m  4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m  1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc
-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rw-rw-r-- 1 m m  6135 Jan 27 12:18 simple_ra_recorder.c
-rwxrwxr-x 1 m m  3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m  7586 Jan 27 12:18 stime.c
-rwxrwxr-x 1 m m  2973 Jan 27 12:18 uhd_params_block.py
address@hidden:~/play/gr_projects/simple_ra/trunk$ gedit Makefile
address@hidden:~/play/gr_projects/simple_ra/trunk$ make
ccache gcc    -c -o simple_ra_recorder.o simple_ra_recorder.c
ccache gcc    -c -o stime.o stime.c
cc -O -o simple_ra_recorder simple_ra_recorder.o stime.o -lm
address@hidden:~/play/gr_projects/simple_ra/trunk$ ls -l
total 248
-rw-rw-r-- 1 m m  1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m   826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m  2657 Jan 27 12:18 process_simple_specdat
-rwxrwxr-x 1 m m  3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m  4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m  1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc
-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rwxrwxr-x 1 m m 23322 Jan 27 12:18 simple_ra_recorder
-rw-rw-r-- 1 m m  6135 Jan 27 12:18 simple_ra_recorder.c
-rw-rw-r-- 2 m m  9592 Jan 27 12:18 simple_ra_recorder.o
-rwxrwxr-x 1 m m  3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m  7586 Jan 27 12:18 stime.c
-rw-rw-r-- 2 m m 12704 Jan 27 12:18 stime.o
-rwxrwxr-x 1 m m  2973 Jan 27 12:18 uhd_params_block.py
address@hidden:~/play/gr_projects/simple_ra/trunk$ sudo make install
mkdir /home/m/bin
mkdir: cannot create directory `/home/m/bin': File exists
make: [install] Error 1 (ignored)
cp -p simple_ra_recorder simple_ra simple_ra_fcd /home/m/bin
cp -p simple_ra_receiver.py simple_ra_receiver.grc /home/m/bin
cp -p simple_ra_receiver_fcd.py simple_ra_receiver_fcd.grc /home/m/bin
cp -p simple_ra_utils.py /home/m/bin
cp -p uhd_params_block.py /home/m/bin
cp -p process_simple_tpdat /home/m/bin
cp -p process_simple_specdat /home/m/bin
address@hidden:~/play/gr_projects/simple_ra/trunk$



On 27 January 2013 11:05, Frankie Rawlins <address@hidden> wrote:
Hope someone can help.  I am losing the will to live! I am running UBUNTU 12.10 and just want to run simple_ra.

I have run the script for UHD and GNUradio.  All appeared to go well

I have typed
svn co https://www.cgran.org/svn/projects/simple_ra also a second time when I get a message
'Checked out revision 1072'.  So, guess that also is OK.

However, the instructions for simple_ra says type 'make install'.  This is where it goes to rats!  I get this message:



address@hidden:~$ cd simple_ra
address@hidden:~/simple_ra$ make install
make: *** No rule to make target `install'. Stop.

Because there are simple_ra files in a directory named simple_ra/trunk/simple_ra

I tried this:

address@hidden:~/simple_ra/trunk$ make simple_ra
then got this message:
Nothing to be done for `simple_ra'.

However, if I ignore that and type 'simple_ra' after my normal prompt
address@hidden I get the following:

Traceback (most recent call last): File "/home/alpha/bin/simple_ra_receiver.py", line 10, in <module>
from gnuradio import blks2
File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/__init__.py", line 37, in <module>
exec "from gnuradio.blks2impl.%s import *" % (f,)
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py", line 23, in <module>
from gnuradio import gr, optfir
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 27, in <module>
from gnuradio_core import *
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
from gnuradio_core_runtime import *
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 26, in <module>
_gnuradio_core_runtime = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 22, in swig_import_helper
_mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol: volk_64u_byteswap_u
address@hidden:~/simple_ra/trunk$

Thanks if some one can help,

Frank




_______________________________________________
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]