discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GNU Radio via MacPorts Updated


From: Ed Criscuolo
Subject: Re: [Discuss-gnuradio] GNU Radio via MacPorts Updated
Date: Fri, 1 Oct 2010 14:55:32 -0400
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Michael,

  Some time back, I was trying to get a 32-bit version of GnuRadio,
including grc, to build and install on OSX 10.6.  That project went
on hold for a while, but is now starting to wake back up, so I gave
it another try, using your 3.3.0 macport.  Here's the
results:

OS is 10.6.4, on a 1-year old 17" MackBook Pro
2.8GHz Intel Core 2 Duo with 4GB of ram.
It came with 10.6 installed, and has Xcode installed.

First I upgraded ports with "sudo port selfupdate" .

Next, I removed all installed packages with
"sudo port -f uninstall installed"
and
"sudo port clean --work --archive all"

Next, I edited /opt/local/etc/macports/macports.conf to add
the line   "build_arch      i386"  to make the default
arch 32-bit instead of 64-bit.

Next, I did "sudo port install gnuradio".  This ground away
for a while and failed on Boost.  What I found was that the
Boost port seems to be broken when trying to build  32-bit
only.  Manually installing Boost by doing
"sudo port clean boost"  and
"sudo port install boost +universal"
got both 32-bit and 64-bit versions successfully built.

I then repeated "sudo install gnuradio" and came to the next
similar problem, this time with gcc44.  Again, cleaning, building
with +universal and then re-trying to install gnuradio
got past it.

Eventually, after a largish number of these, I was down to
only gnuradio-qtgui not installed.  A quick test of
gnuradio-companion brought up it's gui, and I was able
to construct and save a simple graph.

After more fighting with broken ports, I finally got
gnuradio-qtgui to install.  But then when I tried to
run gnuradio-companion, it failed, claiming it could not
find some files.

I (perhaps foolishly) uninstalled gnuradio-companion and
tried to reinstall it.  The build now fails!  The error from
the build log is:

.
.
.
:info:configure Component gr-wxgui will be included from a pre-installed library and includes.
:info:configure checking for PyQt4 for Qt4... no
:info:configure Not building component gr-qtgui.
:info:configure Not building component gr-sounder.
:info:configure Not building component gr-utils.
:info:configure Not building component gnuradio-examples.
:info:configure checking for xdg-mime... false
:info:configure checking for Python >= 2.5... yes
:info:configure checking for Python Cheetah templates >= 2.0.0... yes
:info:configure checking for Python lxml wrappers >= 1.3.6... no
:info:configure checking for Python gtk wrappers >= 2.10.0... no
:info:configure configure: error: Component grc has errors; stopping.
.
.
.

Checking my installed ports shows

  py26-gtk @2.17.0_1 (active)
  py26-wxpython @2.8.10.1_0+gtk (active)
  wxWidgets-python @2.8.10.1_1+gtk (active)



After two days, I'm stuck.  Any ideas?

@(^.^)@  Ed





Michael Dickens wrote:
I've updated the GNU Radio install via MacPorts to 3.3.0.
For those OSX users out there who are using GNU Radio and MacPorts, could you give this 
a shot & see if it works for you?  If you do install them for testing purposes 
& want to use a non-MacPorts GIT install for your actual work, make sure to 
deactivate / uninstall those from MacPorts -- usually there is no conflict between 
multiple GNU Radio installs, but it's just safer this way.
>
If you have thoughts or comments on the MacPorts install of GNU Radio on OSX, 
I'd love to hear from you. - MLD




reply via email to

[Prev in Thread] Current Thread [Next in Thread]