{"id":169,"date":"2011-01-28T22:54:38","date_gmt":"2011-01-28T20:54:38","guid":{"rendered":"http:\/\/www.evilgenius.de\/?p=169"},"modified":"2018-07-02T18:28:01","modified_gmt":"2018-07-02T16:28:01","slug":"building-osmocom-under-mac-os-x","status":"publish","type":"post","link":"https:\/\/www.evilgenius.de\/?p=169","title":{"rendered":"Building Osmocom under Mac OS X"},"content":{"rendered":"<p>I ran into some trouble when I tried to build <a href=\"http:\/\/bb.osmocom.org\/trac\/\">osmocom<\/a> under Mac OS X. This is how I made it work. Thanks to the guys at #osmocom.<\/p>\n<p>First: Make sure the complete build environment comes from within one source. For example from <a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>. You will need following packages:<\/p>\n<ul>\n<li>arm-elf-binutils<\/li>\n<li>arm-elf-gcc<\/li>\n<li>automake<\/li>\n<li>autoconf<\/li>\n<\/ul>\n<p>Second: Make sure your <code>$PATH<\/code> variable includes the executable of your build environment. For MacPorts this is usually <code>\/opt\/local\/bin<\/code>. The path for MacPorts executables should be before the path of the native Mac OS X executables to make sure MacPorts executables are used:<br \/>\n<code>mort:osmocon martin$ echo $PATH<br \/>\n\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/bin:\/opt\/local\/bin:\/opt\/local\/sbin:\/usr\/bin:\/bin:\/usr\/sbin:\/sbin:\/usr\/local\/bin:\/usr\/X11\/bin<br \/>\n<\/code><\/p>\n<p>Thats it. You now should be ready to compile your osmocom.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into some trouble when I tried to build osmocom under Mac OS X. This is how I made it work. Thanks to the guys at #osmocom. First: Make sure the complete build environment comes from within one source. For example from MacPorts. You will need following packages: arm-elf-binutils arm-elf-gcc automake autoconf Second: Make &hellip; <a href=\"https:\/\/www.evilgenius.de\/?p=169\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Building Osmocom under Mac OS X<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":5,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evilgenius.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}