# Gr-mac in MacPorts

**URL:** <https://www.ruby-forum.com/t/gr-mac-in-macports/232079>\
**Category:** GNU Radio\
**Created:** [September 17, 2014, 5:09am UTC](https://www.ruby-forum.com/t/gr-mac-in-macports/232079 "2014-09-17T05:09:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 17, 2014, 5:09am UTC](https://www.ruby-forum.com/t/gr-mac-in-macports/232079/1 "2014-09-17T05:09:47Z")

</div>

After hearing from a few OSX users this afternoon at GRCon14 that they  
were having issues getting gr-mac to build or function, I decided to get  
it into MacPorts. Thus, after a little work and a couple patches, it is  
now in and seemingly functional as of r125409 \<  
[Changeset 125409 – MacPorts](https://trac.macports.org/changeset/125409) \> and will be live as of  
about 11:30 PM/US/Eastern. To get this module, you’ll want to do:  
{{{  
sudo port selfupdate  
}}}  
and then you can install it via:  
{{{  
sudo port install gr-mac  
}}}  
Please follow the install instructions provided at the end of the  
install:  
{{{  
±------------------------  
| Before gr-mac will work correctly, you will need to execute  
|  
| /opt/local/bin/grcc /opt/local/share/examples/mac/gmsk\_radio.grc  
|  
| and  
|  
| /opt/local/bin/grcc /opt/local/share/examples/mac/ofdm\_radio.grc  
|  
| as the user for which you want to use gr-mac.  
±------------------------  
}}}

Have fun! - MLD

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 17, 2014, 7:23am UTC](https://www.ruby-forum.com/t/gr-mac-in-macports/232079/2 "2014-09-17T07:23:56Z")

</div>

Thanks for adding this support Michael!

-John

On Tue, Sep 16, 2014 at 8:08 PM, Michael D.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 17, 2014, 1:02pm UTC](https://www.ruby-forum.com/t/gr-mac-in-macports/232079/3 "2014-09-17T13:02:33Z")

</div>

Michael,

Thanks for the rapid response!

Did a sync and tried installing it, and got the following  
error while it was working off the dependencies:

[eds-mac:edwardc] edwardc% sudo port  
MacPorts 2.2.1  
Entering interactive mode… (“help” for help, “quit” to quit)  
[edwardc] \> install gr-mac  
—\> Computing dependencies for libidn  
—\> Fetching archive for libidn  
.  
.  
.  
—\> Installing icu @53.1\_1  
—\> Cleaning icu  
—\> Deactivating icu @51.2\_1  
—\> Cleaning icu  
—\> Activating icu @53.1\_1  
—\> Cleaning icu  
Error: Unable to open port: can’t read “configure.cxx\_stdlib”: no such  
variable  
Error: Unable to execute port: upgrade gnuradio failed

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 17, 2014, 3:40pm UTC](https://www.ruby-forum.com/t/gr-mac-in-macports/232079/4 "2014-09-17T15:40:03Z")

</div>

Ed and I talked off-list, but for those interested this type of error  
generally means that the installed version of MacPorts is too old and  
needs updating. In this specific case, “configure.cxx\_stdlib” was added  
in the 2.3 release. Thus, if the dports tree was updated but ‘port’ was  
not, then this error would be produced. - MLD
