I’m not sure since when, but building gnuradio-trunk from source on Ubuntu 9.10 now fails in ./configure unless you install a Fortran compiler…

Strangely, the error message is “error: cannot find usable Python headers”

Related discuss-gnuradio thread (though aimed at OS X):
http://lists.gnu.org/archive/html/discuss-gnuradio/2009-08/msg00067.html

However, it doesn’t seem to like gfortran:

checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/dist-packages
checking for Python include path... /usr/include/python2.6
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
configure: error: cannot find usable Python headers

Instead, with fort77 it seems to work fine…

[UPDATE Aug 2011] This is no longer required in Ubuntu 11.04 for GNU Radio 3.4.1git. Not sure when it went away…

Advertisements