On Tue, Dec 6, 2011 at 5:35 PM, Justin Ford
<address@hidden> wrote:
Is there a solution for building gnuradio on 64-bit Linux using the stable v3.4.2 release?
I'm seeing errors similar to the following thread when building gnuradio from the v3.4.2 source tarball on RHEL 5.7 x86_64:
http://lists.gnu.org/archive/html/discuss-gnuradio/2011-09/msg00002.html.
I followed the procedure for cmake (http://gnuradio.org/redmine/projects/gnuradio/wiki/CMakeWork) and encountered new errors:
$ cmake -DPYTHON_EXECUTABLE=/usr/bin/python26
-DBOOST_INCLUDEDIR=/usr/include/boost141 -DBOOST_LIBRARYDIR=/usr/lib64/boost141
-DSWIG_EXECUTABLE=/usr/share/swig/2.0.4/bin/swig ../
<snip>
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/gr/source/git/gnuradio/build
$ make
I'm confused how you are using cmake with the 3.4.2 tarball. That wasn't introduced until 3.5. And that swig-doc stuff was just put in yesterday.
Just checking to make sure there's no confusion about something here.
Tom
<snip>
[ 47%] Generating general_swig_doc.i
Error in xml in file /home/gr/source/git/gnuradio/build/gnuradio-core/src/lib/swig/general_swig_doc_swig_docs/xml/gr__simple__framer__sync_8h.xml
Traceback (most recent call last):
File "/home/gr/source/git/gnuradio/docs/doxygen/swig_doc.py", line 253, in <module>
make_swig_interface_file(di, swigdocfilename, custom_output=custom_output)
File "/home/gr/source/git/gnuradio/docs/doxygen/swig_doc.py", line 196, in make_swig_interface_file
blocks = di.in_category(Block)
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 140, in in_category
self.confirm_no_error()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 206, in confirm_no_error
self.check_parsed()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 203, in check_parsed
self._parse()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/doxyindex.py", line 51, in _parse
self._members += converted.members()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 174, in members
self.confirm_no_error()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 206, in confirm_no_error
self.check_parsed()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line 203, in check_parsed
self._parse()
File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/doxyindex.py", line 163, in _parse
self.set_descriptions(self._retrieved_data.compounddef)
AttributeError: 'NoneType' object has no attribute 'compounddef'
make[2]: *** [gnuradio-core/src/lib/swig/general_swig_doc.i] Error 1
make[1]: *** [gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_filter.dir/all] Error 2
make: *** [all] Error 2
If it's hopeless to build from the stable release, what's the best path to a working gnuradio installation at the moment?
Thanks!Justin
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio