# OSX, Xcode 5.1, Boost, UHD, GNU Radio, and MacPorts

**URL:** <https://www.ruby-forum.com/t/osx-xcode-5-1-boost-uhd-gnu-radio-and-macports/239747>\
**Category:** GNU Radio\
**Created:** [March 12, 2014, 9:33pm UTC](https://www.ruby-forum.com/t/osx-xcode-5-1-boost-uhd-gnu-radio-and-macports/239747 "2014-03-12T21:33:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [March 12, 2014, 9:33pm UTC](https://www.ruby-forum.com/t/osx-xcode-5-1-boost-uhd-gnu-radio-and-macports/239747/1 "2014-03-12T21:33:15Z")

</div>

Xcode 5.1 is for both OSX 10.8 and 10.9 only, so this “note” applies to  
both of those OSX versions.

The new Xcode 5.1 breaks Boost compilation, which in turn breaks UHD and  
GNU Radio compilation (in similar ways). Boost upstream already issued  
a patch to fix this issue, and it is already incorporated in MacPorts.  
So, before you try to install or upgrade UHD or any of the GNU Radio  
ports within MacPorts, you’ll want to do the following, minimally:

{{{  
sudo port sync  
sudo port upgrade boost  
}}}

or, if you want to be thorough:

{{{  
sudo port selfupdate  
sudo port upgrade outdated  
}}}

Once Boost has been updated (to, currently, 1.55.0 revision 2), UHD and  
all the GNU Radio ports should build cleanly as with Xcode 5.0 or  
earlier. - MLD
