GNU Radio Mac OSX Install Problem - Please help


#1

Hi all,

I checked out the latest GNU Radio on the SVN, which I know is
development.
I’m currently trying to install it, but I’m having some problems.
I’m following the installation guide found at:
http://www.nd.edu/~mdickens/GNURadio/ with MacPorts

Here’s my problem:

I’ve passed: sed -e ‘s@libtool@glibtool@g’ etc… and on the very next
step
I get this issue.

[dhcp-78-152-246:~/gnuradio] frank% sudo sh bootstrap_mp
aclocal: aclocal: file `config/ltversion.m4’ does not exist
configure.ac:22: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:25: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:74: error: possibly undefined macro: AM_PROG_AS
configure.ac:80: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:82: error: possibly undefined macro: AC_ENABLE_SHARED
configure.ac:83: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:84: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:91: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:182: error: possibly undefined macro: AM_PATH_CPPUNIT
configure.ac:183: error: possibly undefined macro: AC_MSG_ERROR
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes
AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using
aclocal).

I’m confused and sure could use some guidance. Thanks all.

Also, does anyone know if v3.0.4’s benchmark_tx.py found in
/gnuradio/gnuradio-examples/python/digital/ has the option to get the
bits
from a file? Thanks

  • Jeffrey

#2

Jeffrey - I assume you’re trying to compile for a MacOSX box, running
10.4.X, yes?

I can tell you that the latest SVN trunk does compile cleanly on my
Intel-iMac running 10.4.10 & latest updated, XCode 2.4.1, and
MacPorts as you mention in my install guide. It also works on my PPC-
Macs, though those generally require a drop-in USB 2.0 (pc)card for
accessing the USRP since most of the default PPC-hardware isn’t
particularly optimized for USB.

Just guessing, but it looks like you have the wrong version of
autotools installed, and/or you don’t have /opt/local/bin in your
$PATH. For the former, running “port installed | grep auto” returns
for me:

autoconf @2.61_1 (active)
automake @1.10_0 (active)

For the latter, running “printenv PATH” returns for me:

/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/
X11R6/bin

Note that /opt/local/bin needs to come before /usr/bin, which
contains autoconf (2.59) and automake (1.6.3).

If you need more help on getting your OSX install running, I can do
so off-list; if we discover anything useful, I’ll report back to the
list. - MLD