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: Michael Dickens
Subject: Re: [Discuss-gnuradio] Ubuntu make error -> Unable to open file gnuradio_swig_py_runtime.py
Date: Tue, 3 Feb 2009 22:34:56 -0500

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]