Dial_tone fails on Ubuntu 10.10

I installed Ubuntu 10.10 on my XP machine (Dell latitude D630) and
followed all the instructions at

http://gnuradio.org/redmine/wiki/gnuradio/UbuntuInstall.

Everything works fine till and including the “sudo make install” without
any errors. I tried running the dial_tone.py as instructed and I get the
following error.

What could be wrong here?

Best regards,
-Vijay


The error is reproduced below :

[email protected]:/usr/local/share/gnuradio/examples/audio$ python
dial_tone.py
Traceback (most recent call last):
File “dial_tone.py”, line 23, in
from gnuradio import gr
File “/usr/local/lib/python2.6/dist-packages/gnuradio/gr/init.py”,
line 43, in
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 24, in
_gnuradio_swig_py_runtime = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 20, in swig_import_helper
_mod = imp.load_module(’_gnuradio_swig_py_runtime’, fp, pathname,
description)
ImportError: libgnuradio-core-3.3.2git.so.0: cannot open shared object
file: No such file or directory
[email protected]:/usr/local/share/gnuradio/examples/audio$

perhaps?
http://gnuradio.org/redmine/wiki/1/UbuntuInstall#Broken-libtool-on-Debian-and-Ubuntu

Yes, this will fix it.

On 3/8/2011 9:40 PM, Josh B. wrote:

What could be wrong here?
File “dial_tone.py”, line 23, in
[email protected]:/usr/local/share/gnuradio/examples/audio$


~Jeffrey L., K1VZX

Many thanks! It worked for me.

Best regards,
-Vijay

— On Tue, 3/8/11, Jeffrey L. [email protected] wrote:

From: Jeffrey L. [email protected]
Subject: Re: [Discuss-gnuradio] dial_tone fails on Ubuntu 10.10
To: [email protected]
Date: Tuesday, March 8, 2011, 10:14 PM

Yes, this will fix it.

On 3/8/2011 9:40 PM, Josh B. wrote:

What could be wrong here?
File “dial_tone.py”, line 23, in
[email protected]:/usr/local/share/gnuradio/examples/audio$


~Jeffrey L., K1VZX

I initially tried to do everything on Cygwin. I spent more than 4 days
(12+hours per day) trying to get this running without much success due
all the issues about differing versions of compilers, other errors on
the board and so on. Only for experts like Don W., would Cygwin be a
feasible option.

Then finally this afternoon i tried Ubuntu (after a suggestion from the
folks at Ettus). It took me only 4 hours to get running (including
installing Ubuntu on my Windows machine which is easily done using
Wubi). I am very happy with what I am seeing and am much excited to
start using my USRP.

Considering what a hassle Cygwin has been, I think it would be a
disservice to future users to even have it listed there (unless maybe it
is clearly indicated in large red font that it could be a futile
endeavor) on the gnuradio page. There was a feeble mention of possible
issues on the webpage, which I think is a gross understatement just
going by my experience.

Best regards,
-Vijay

On 03/08/2011 11:00 PM, Vijay P. wrote:

start using my USRP.

My expectation is that eventually, there will be “conventional”
installers for Gnu Radio + UHD for
Windows, Linux, and MacOS environments, and that those installers will
be kept fairly up-to-date
with the development sources. But we’re not there yet.

I used my own “build-gnuradio” script to do a GIT-based install of Gnu
Radio + UHD on a
Ubuntu 10.0 VM last week, and it went flawlessly–I didn’t run into
the problem you had with
it being unable to find the libraries. But my script does a refresh
of ldconfig after doing the
“make install”, so perhaps that’s why I didn’t run into the problem
you ran into.

On Mar 8, 2011, at 11:12 PM, Marcus D. Leech wrote:

My expectation is that eventually, there will be “conventional” installers for
Gnu Radio + UHD for Windows, Linux, and MacOS environments, and that those
installers will be kept fairly up-to-date with the development sources. But we’re
not there yet.

I did this once upon a time for Mac OS X (10.5, universal) and GRC (when
it was still called that) using MacPorts to provide all of the
dependencies – it is -very- thorough in keeping itself separate from
the OS, and so it uses internal versions of already-installed
dependencies (e.g., libiconv, expat). Even when removing as much cruft
as I could, and compressing the resulting archive, the end-result file
was some, IIRC, 900 MB. Looking at ‘du’ for just what GNU Radio
installed shows maybe 100 MB before compression – so a LOT of “extra”
space just for background stuff. GRC did work as expected though … :wink:
I never made this install available, since it’s just so [email protected]#$ big.

I also tried to create a version, using special MacPorts scripts, that
would use the OS-installed dependencies as much as possible.
Implementing this concept was much more difficult than expected, and I
gave up a few days. Seems like there has to be a way to do this “fewer
dependency” version …

Anyway, just know that these conventional installers will take work,
primarily because of the dependencies issue. - MLD

2011/3/9 Michael D. [email protected]:

I also tried to create a version, using special MacPorts scripts, that would use
the OS-installed dependencies as much as possible. Implementing this concept was
much more difficult than expected, and I gave up a few days. Seems like there has
to be a way to do this “fewer dependency” version …

Perhaps for osx, we could try the “homebrew” way.
It’s some ruby scripts to automate the installation of softs from
source, using the installed dependencies of snow leopard.

http://mxcl.github.com/homebrew/

I forgot to mention that the issues that I had with Cygwin were related
to the WBX board - it had some unresolvable issues. It is very likely
that the suggestions that Don provided would work for the other boards.

Best regards,
-Vijay

— On Tue, 3/8/11, Marcus D. Leech [email protected] wrote:

From: Marcus D. Leech [email protected]
Subject: Re: [Discuss-gnuradio] Cywgin vs Ubuntu
To: [email protected]
Date: Tuesday, March 8, 2011, 11:12 PM

On 03/08/2011 11:00 PM, Vijay P. wrote:

    I initially tried to do everything on Cygwin. I spent

more than 4 days (12+hours per day) trying to get this running without
much success due all the issues about differing versions of compilers,
other errors on the board and so on. Only for experts like Don W.,
would Cygwin be a feasible option.

Then finally this afternoon i tried Ubuntu (after a suggestion from the
folks at Ettus). It took me only 4 hours to get running (including
installing Ubuntu on my Windows machine which is easily done using
Wubi). I am very happy with what I am seeing and am much excited to
start using my USRP.

Considering what a hassle Cygwin has been, I think it would be a
disservice to future users to even have it listed there (unless maybe
it is clearly indicated in large red font that it could be a futile
endeavor) on the gnuradio page. There was a feeble mention of possible
issues on the webpage, which I think is a gross understatement just
going by my experience.

Best regards,

-Vijay

My expectation is that eventually, there will be “conventional”
installers for Gnu Radio + UHD for

Windows, Linux, and MacOS environments, and that those installers
will be kept fairly up-to-date

with the development sources. But we’re not there yet.

I used my own “build-gnuradio” script to do a GIT-based install of Gnu
Radio + UHD on a

Ubuntu 10.0 VM last week, and it went flawlessly–I didn’t run into
the problem you had with

it being unable to find the libraries. But my script does a refresh
of ldconfig after doing the

“make install”, so perhaps that’s why I didn’t run into the problem
you ran into.


Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

-----Inline Attachment Follows-----