Gnuradio install script fails at gr-osmosdr

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 :slight_smile:

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
[email protected]
http://www.bclog.de/

On Fri, Feb 15, 2013 at 4:25 AM, Ralph A. Schmid, dk5ras
[email protected]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
[email protected]
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

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