Hi,

I'm running debian unstable on a AMD64 platform and am running into a
problem which starts right at the top of the build process for a newly
checkout gnuradio version from git.

Below is output from running cmake:

[snip]
-- Performing Test HAVE_WARN_ALL
-- Performing Test HAVE_WARN_ALL - Success
-- Performing Test HAVE_WARN_NO_UNINITIALIZED
-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
-- Found PythonLibs: 
optimized;/usr/lib/python3.2/config/libpython3.2.so;debug;/usr/lib/python3.2/config/libpython3.2.so
 (found version "2.7.3rc2")
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.4")
[snip]

So it found that /usr/bin/python is version 2.7.3rc2, but it decides
to use version 3.2 to link against. This makes the build process
rather sad later on! (Lots of link failures)

To get around this I changed in CMakeLists.txt

   find_package(PythonLibs)

to be

   find_package(PythonLibs 2.7.3)

But obviously that'll only work for people running 2.7.3! (I've not
played with cmake before now, so there might be a simple way to fix
it) 

I'm running cmake version 2.8.7.

However the build process goes further this time, but now breaks with:

[ 49%] Built target _runtime_swig_doc_tag
[ 49%] Generating doxygen xml for runtime_swig_doc docs
[ 49%] Generating runtime_swig_doc.i
[ 49%] Generating doxygen xml for general_swig_doc docs
[ 49%] Generating general_swig_doc.i
[ 49%] Generating doxygen xml for gengen_swig_doc docs
[ 49%] Generating gengen_swig_doc.i
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing error with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i. 
giving up.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing error with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i. 
giving up.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing error with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i. 
giving up.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing problem with file
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i,
retrying.
XML parsing problem with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i, 
retrying.
XML parsing error with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i. 
giving up.
XML parsing error with file 
/home/matt/gnuradio/20120426/gnuradio-core/src/lib/swig/gengen_swig_doc.i. 
giving up.
Traceback (most recent call last):
  File "/home/matt/gnuradio/docs/doxygen/swig_doc.py", line 294, in <module>
    make_swig_interface_file(di, swigdocfilename, custom_output=custom_output)
  File "/home/matt/gnuradio/docs/doxygen/swig_doc.py", line 222, in 
make_swig_interface_file
    make_func = di.get_member(make_name(block.name()), DoxyFunction)
  File "/home/matt/gnuradio/docs/doxygen/doxyxml/base.py", line 157, in 
get_member
    raise member()
doxyxml.base.Duplicate
make[2]: *** [gnuradio-core/src/lib/swig/gengen_swig_doc.i] Error 1
make[1]: *** 
[gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_filter.dir/all] Error 2
make: *** [all] Error 2



Which I don't know where to start to fix! However I can tell you that
the file its looking for, /home/...../swig/gengen_swig_doc.i doesn't
exist, but I don't know what should have created it.


Thanks,

Matt

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to