discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Ubuntu make error -> Unable to open file gnuradio


From: Fabian Uehlin
Subject: Re: [Discuss-gnuradio] Ubuntu make error -> Unable to open file gnuradio_swig_py_runtime.py
Date: Wed, 4 Feb 2009 16:09:37 +0100

Thank you for your help.
I installed Ubuntu 8.10 the way described on the GNURadio website and it works. No idea why the last installation didn't work. The only difference was, that I built it your way (but this should't be the problem).

Anyway, thank you very much. I see spectrums, oscillators, etc.

Regards -Fabian-

Am 04.02.2009 um 04:34 schrieb Michael Dickens:

Hi Fabian - I just created a fresh VM using Ubuntu 8.10 and followed the instructions on gnuradio.org for this distro. I get the gcc warnings, but otherwise everything works through "make check". Hence I'm guessing you have some stale files in your checkout (ones which distclean does not know about, and aren't being overwritten properly on make). My advice now would be to create a fresh checkout of the trunk, then, from that directory do you usual routine. Mine is the somewhat modified "neurotic vpath" build (it's what "make distcheck" does FAPP):

sh bootstrap
mkdir build
chmod -R a-w .
chmod a+rwx build
cd build
../configure
make
make check
sudo make install

Now, when there's a big update you can do:

cd build
sudo make uninstall
cd ..
rm -rf build
chmod -R a+w .
svn up

and start anew, as guaranteed as possible to not end up with stale files. The above works well for me when I use it (which I don't always remember to). All built files are in a separate directory from the source code, and any command trying to write into the source code directories will fail hence making some issues easier to track down (this is how I found out that SWIG 1.3.37 had a bug in where it was writing output files).

Good luck! - MLD






reply via email to

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