Forum: GNU Radio gnuradio install script fails at gr-osmosdr

Posted by Ralph A. Schmid, dk5ras (Guest)
on 2013-02-15 10:25
(Received via mailing list)
Hi,

Not exactly the topic of _this_ mailing list, but maybe I am not the 
only
one stumbling over this.

When using the gnuradio install script on Kubuntu 12.04 LTS 32bit the
gr-osmosdr build fails. Also does a manual build of this software. At 
the
end of the mail I add the last words of the build :)

Gnuradio (latest master) works just fine on the system, the only 
difference
to the recommended install is that I have libboost 1.46 instead of 1.48 
at
the moment, but it happens with both versions. I found no additional
instructions or prerequisites at osmocom.org.

I am not sure if I really do need this package, but it looks ugly when 
the
script fails in such a silly way.

With best regards

Ralph.


Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
[ 59%] Built target _osmosdr_swig_doc_tag
[ 59%] Built target _osmosdr_swig_swig_tag
Scanning dependencies of target pygen_swig_e9459
[ 62%] Generating doxygen xml for osmosdr_swig_doc docs
[ 62%] Built target osmosdr_grc_xml_blocks
[ 66%] Generating osmosdr_swig_doc.i
[ 70%] Generating osmosdr_swig.tag
[ 74%] Swig source
/usr/local/include/gnuradio/swig/gr_basic_block.i:27: Error: Nothing 
known
about namespace 'pmt'
make[2]: *** [swig/osmosdr_swigPYTHON_wrap.cxx] Error 1
make[1]: *** [swig/CMakeFiles/pygen_swig_e9459.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library libgnuradio-osmosdr.so
[ 74%] Built target gnuradio-osmosdr
make: *** [all] Error 2

--

Ralph A. Schmid
Mondstr. 10
90762 Frth
+49-171-3631223
ralph@schmid.xxx
http://www.bclog.de/
Posted by Tom Rondeau (Guest)
on 2013-02-15 18:04
(Received via mailing list)
On Fri, Feb 15, 2013 at 4:25 AM, Ralph A. Schmid, dk5ras
<ralph@schmid.xxx>wrote:

> to the recommended install is that I have libboost 1.46 instead of 1.48 at
>
> [ 70%] Generating osmosdr_swig.tag
> --
>
> Ralph A. Schmid
> Mondstr. 10
> 90762 Frth
> +49-171-3631223
> ralph@schmid.xxx
> http://www.bclog.de/



Ralph,

It looks like this package isn't finding the GRUEL install correctly.
First, though, make sure that you have
/usr/local/include/gruel/swig/pmt_swig.i on your system. That's where 
the
pmt namespace is defined for swig.

Tom
Posted by Ralph A. Schmid (Guest)
on 2013-02-15 19:39
(Received via mailing list)
Hi,

The file was in fact missing, after a repeated "cmake.. make" of
gnuradio it appeared, gruel was told as built, and this error came up:

[ 55%] Built target pygen_python_bdbbd
Building CXX object 
lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
Building CXX object 
lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
Building CXX object lib/CMakeFiles/gnuradio-
osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
[ 59%] Building CXX object lib/CMakeFiles/gnuradio-
osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
Building CXX object 
lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
[ 59%] Built target _osmosdr_swig_swig_tag
[ 59%] Built target _osmosdr_swig_doc_tag
Scanning dependencies of target pygen_swig_e9459
[ 62%] Generating doxygen xml for osmosdr_swig_doc docs
[ 62%] Built target osmosdr_grc_xml_blocks
[ 66%] Generating osmosdr_swig_doc.i
[ 70%] Generating osmosdr_swig.tag
[ 74%] Swig source
/usr/local/include/gnuradio/swig/gr_basic_block.i:27: Error: Nothing 
known
about namespace 'pmt'
make[2]: *** [swig/osmosdr_swigPYTHON_wrap.cxx] Error 1
make[1]: *** [swig/CMakeFiles/pygen_swig_e9459.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library libgnuradio-osmosdr.so
[ 74%] Built target gnuradio-osmosdr
make: *** [all] Error 2



Ralph,


It looks like this package isn't finding the GRUEL install correctly.
First, though, make sure that you have
/usr/local/include/gruel/swig/pmt_swig.i on your system. That's
where the pmt namespace is defined for swig.


Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.