Install GNU Radio 3.6.4 on MacOSX with package conflicting warnings

Hi, Michael,

I try to install GNU Radio 3.6.4 on MacOSX 10.8.2 with MacPorts 2.1.3 by
the following commands:
$ sudo port install gnuradio +full configure.compiler=llvm-gcc-4.2

During the installation, I have to “port -f activate qwt” to proceed to
install GNU Radio 3.6.4. This seems to be fine and I can run
gnuradio_companion without problems. And then I try to install rtl-sdr
by
$ sudo port install rtl-sdr

I got this message, which indicates conflicting between qwt and qwt52:
============================== MESSAGE START
→ Found 2 broken file(s), matching files to ports
—> Found 2 broken port(s), determining rebuild order
—> Rebuilding in order
qwt52 @5.2.3 +qt4
py27-pyqwt @5.2.0
—> Computing dependencies for qwt52
Error: Couldn’t activate qwt52 5.2.3_0+qt4: Can’t install qwt52 because
conflicting ports are installed: qwt
Error rebuilding qwt52
while executing
“error “Error rebuilding $portname””
(procedure “revupgrade_scanandrebuild” line 382)
invoked from within
“revupgrade_scanandrebuild broken_port_counts $opts”
(procedure “macports::revupgrade” line 5)
invoked from within
“macports::revupgrade $opts”
(procedure “action_revupgrade” line 2)
invoked from within
“action_revupgrade $action $portlist $opts”
(procedure “action_target” line 94)
invoked from within
“$action_proc $action $portlist [array get global_options]”
(procedure “process_cmd” line 95)
invoked from within
“process_cmd $remaining_args”
invoked from within
"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 4785)

============================== MESSAGE END

What should I do to have gnuradio, gr_filter_design, and rtl-sdr built
by MacPorts at the same time? Thanks.


Albert Chun-Chieh H.(黃俊傑)
Blog: Random Notes, http://alberthuang314.blogspot.com/

Hi Albert - GNU Radio (et.al.) will work with QWT 5.1 or later,
including 5.2 or 6.0 (in theory; configuration using 6.0 didn’t work the
last time I tried, but I could coerce binaries to work after linking
with 5.2 and then changing DYLD loading to 6.0). I know of no specific
port requirements for QWT (5.1; I might be wrong), and qwt52 is (IMO)
more stable / better option. I have all of these installed and passing
check/test using qwt52, so it can be done.

Probably the best way to do this is to uninstall all of the SDR ports
(gnuradio, rtl-sdr, others), then also uninstall qwt and py27-pyqwt.
Now, install qwt52 (defaults are probably OK: “sudo port install qwt52”)
and then py27-pyqwt (“sudo port install py27-pyqwt”). Now install
gnuradio (+variants), rtl-sdr, and others.

If you want to discuss in more detail, email me off list. - MLD