{"id":104,"date":"2015-01-25T12:52:00","date_gmt":"2015-01-25T11:52:00","guid":{"rendered":"http:\/\/www.ncodenicer.com\/?p=104"},"modified":"2026-05-10T21:59:40","modified_gmt":"2026-05-10T19:59:40","slug":"compiling-latest-versions-of-monodevelop-on-freebsd","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=104","title":{"rendered":"Compiling latest versions of monodevelop on FreeBSD"},"content":{"rendered":"\n<p>Clone their repository from git (tarballs created by them fail way too often)<\/p>\n\n\n\n<p><code>git clone <a href=\"https:\/\/github.com\/mono\/monodevelop.git\">https:\/\/github.com\/mono\/monodevelop.git<\/a><\/code><\/p>\n\n\n\n<p>Optionally checkout version you want to run (list tags by running <code>git tag -l<\/code> in that newly created monodevelop dir, and checkout one you want using command similar to <code>git checkout tags\/monodevelop-5.7.1.47<\/code>).<br>After that you need to edit file <code>monodevelop\/scripts\/configure.sh<\/code> because those guys didn&#8217;t hear that there are other shells but bash in use these days &#8211; add line <code>#!\/usr\/bin\/env bash<\/code> on top of that file. After that execute:<\/p>\n\n\n\n<p><code>cd monodevelop<br>.\/configure<br>gmake<\/code><\/p>\n\n\n\n<p>If everything went well this will succeed (unfortunately unlikely), otherwise you received great explanatory message saying &#8220;Command &#8216;mono \/home\/rivan\/sw\/monodevelop\/main\/\/external\/nuget-binary\/NuGet.exe restore -SolutionDirectory \/home\/rivan\/sw\/monodevelop\/main\/&#8217; exited with code: 1&#8221; &#8211; as is evident from message text this is caused by <code>nuget<\/code> being unable to find all server certificates it needs in certificate store. To fix this run <code>mozroots --import --sync<\/code> (or <code>mozroots --import --machine --sync<\/code> to import to machine&#8217;s store). After this you can restart <code>gmake<\/code> again &#8211; it should work this time.<\/p>\n\n\n\n<p>If you don&#8217;t want to install newly compiled monodevelop you need to edit makefile in main subdir (<code>monodevelop\/main<\/code>) &#8211; find lines mentioning &#8220;<code>exec -a<\/code>&#8221; (one more bash extension) and remove &#8220;<code>-a<\/code>&#8221; and first parameter that comes after it. After that you will be able to run monodevelop without installing it by running <code>gmake run<\/code> from master directory (monodevelop).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clone their repository from git (tarballs created by them fail way too often) git clone https:\/\/github.com\/mono\/monodevelop.git Optionally checkout version you want to run (list tags by running git tag -l in that newly created monodevelop dir, and checkout one you want using command similar to git checkout tags\/monodevelop-5.7.1.47).After that you need to edit file monodevelop\/scripts\/configure.sh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,47,51],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd","tag-mono","tag-monodevelop"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}