[Top][All Lists]

[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 12:54:13 -0500

On Feb 3, 2009, at 12:33 PM, Fabian Uehlin wrote:
if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 - outdir -DOMNITHREAD_POSIX=1 -I/usr/include -
Unable to open file -DOMNITHREAD_POSIX=1/ gnuradio_swig_py_runtime.py: No such file or directory
make[5]: *** [gnuradio_swig_py_runtime.cc] Error 1
make[5]: Leaving directory `/home/openbts/Desktop/gnuradio/gnuradio- core/src/lib/swig'

What's the problem? I have upgraded to swig version 1.3.38, the other packages are the normal Ubuntu versions of it.

$(builddir) isn't being set (properly? not at all?) by autotools ... the SWIG arguments (including "-outdir $(builddir)") are in the top- level Makefile.common:66 , so if you look in gnuradio-core/src/lib/ swig/Makefile , you should find the line "builddir = ." if autotools are working.

If you go back to SWIG 1.3.36 (or whatever the OS provides by default), does compiling work?

If not, try editing Makefile.common and changing that particular $ (builddir) to "." (without the quotes, just the period). - MLD

reply via email to

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