{"id":5920,"date":"2014-06-18T16:18:52","date_gmt":"2014-06-18T07:18:52","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=5920"},"modified":"2014-06-18T16:18:52","modified_gmt":"2014-06-18T07:18:52","slug":"mono-%e3%81%a8-f-%e3%82%92-centosdebian-%e4%b8%8a%e3%81%a7%e3%83%93%e3%83%ab%e3%83%89%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e9%80%94%e4%b8%ad","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/5920","title":{"rendered":"Mono \u3068 F# \u3092 CentOS\/Debian \u4e0a\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b\u9014\u4e2d"},"content":{"rendered":"<p>\u306a\u305c\u304b\u3001\u73fe\u72b6\u306e Raspberry Pi \u4e0a\u3067\u306f<\/p>\n<ul>\n<li>apt-get install mono \u304c\u3067\u304d\u308b\n<li>apt-get install fsharp \u304c\u3067\u304d\u306a\u3044\n<li>make fsharp \u3059\u308b\u3068\u3001\u30d3\u30eb\u30c9\u6642\u306b\u30c6\u30b9\u30c8\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b <a href=\"https:\/\/github.com\/fsharp\/fsharp\/issues\/260\">https:\/\/github.com\/fsharp\/fsharp\/issues\/260<\/a>&nbsp;<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u72b6\u614b\u3067\u3001\u3053\u306e\u30c6\u30b9\u30c8\u30a8\u30e9\u30fc\u306f Xamarin Bug&nbsp; <a title=\"https:\/\/bugzilla.xamarin.com\/show_bug.cgi?id=17654\" href=\"https:\/\/bugzilla.xamarin.com\/show_bug.cgi?id=17654\">https:\/\/bugzilla.xamarin.com\/show_bug.cgi?id=17654<\/a> \u3092\u898b\u308b\u3068\u76f4\u3063\u3066\u3044\u308b\u3089\u3057\u3044\u3002\u3053\u306e\u73fe\u8c61\u81ea\u4f53\u306f Mono 3.2.7 \u3067\u767a\u751f\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u624b\u5143\u306e Mono 3.2.8 \u306f\u5927\u4e08\u592b\u306a\u306f\u305a\u306a\u3093\u3060\u3051\u3069\u3001\u540c\u3058\u3088\u3046\u306b\u30c0\u30e1\u3002\u304a\u305d\u3089\u304f RasPi \u306b\u3042\u308b\u30ec\u30dd\u30b8\u30c8\u30ea\u304c\u4f55\u3089\u304b\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u53e4\u3044\u306e\u3067\u306f\u306a\u3044\u304b\uff1f\u3068\u601d\u306e\u3060\u304c&#8230;\u3053\u308c\u3092\u3001RasPi \u4e0a\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3068\u3048\u3089\u3044\u6642\u9593\u304c\u304b\u304b\u308b\u30026\u6642\u9593\u304b\u304b\u3063\u3066\u3082\u307e\u3060 Mono \u306e\u30d3\u30eb\u30c9\u304c\u7d42\u308f\u3089\u306a\u3044\u3002<\/p>\n<p>\u307e\u3060\u307e\u3060\u639b\u304b\u308a\u305d\u3046\u306a\u306e\u3067\u3001\u305d\u306e\u524d\u306b Mono 3.2.7 \u3068 F# 3.1 \u306e\u7d44\u307f\u3042\u308f\u305b\u304c Linux \u4e0a\u3067\u52d5\u304f\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u3066\u304a\u3053\u3046\u3002RasPi \u306e CPU \u306f\u3001ARM1176JZF-S \u306a\u306e\u3067 ARM \u306b\u306a\u308b\u3002F# \u306e\u30a2\u30bb\u30f3\u30d6\u30ea\u304c\u305d\u306e\u307e\u307e\u52d5\u3051\u3070\u3044\u3044\u306e\u3060\u304c&#8230;\u3053\u308c\u306f\u3069\u3046\u306a\u3093\u3060\u308d\u3046\uff1f\u4e2d\u8eab\u306f\u6a5f\u7a2e\u4f9d\u5b58\u3057\u3066\u3044\u306a\u3044\u611f\u3058\u306a\u3093\u3060\u304c\u3002<\/p>\n<p>\u25a0CentOS \u306b g++ \u3092\u5165\u308c\u308b<\/p>\n<pre>sudo yum install gcc-g++<\/pre>\n<p>\u6700\u65b0\u306e CentOS \u306b\u306f apt-get \u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u305d\u3046\u306a\u306e\u3067 yum \u3092\u4f7f\u3046\u3002\u624b\u5143\u306e Raspberry Pi \u306f <a title=\"http:\/\/www.raspberrypi.org\/downloads\/\" href=\"http:\/\/www.raspberrypi.org\/downloads\/\">http:\/\/www.raspberrypi.org\/downloads\/<\/a> \u304b\u3089 RASPBIAN Debian Wheezy \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u305d\u308c\u306b\u63c3\u3048\u308c\u3070\u3044\u3044\u306e\u3060\u304c&#8230;\u3044\u3084\u3001\u4e00\u65e6\u305d\u308d\u3048\u3066\u307f\u3088\u3046\u3002<\/p>\n<p>CentOS \u4e0a\u3067\u306f Mono 3.2.7 \u306f\u30d3\u30eb\u30c9\u3067\u304d\u308b\u306e\u3060\u304c\uff08\u591a\u3005\u30a8\u30e9\u30fc\u304c\u3067\u3066\u3044\u308b\u306e\u304c\u6c17\u306b\u306a\u308b\u3051\u3069\uff09\u3001\u305d\u306e\u5f8c\u3001F# \u5074\u3067 .\/autogen.sh &#8211;prefix \/usr \u3059\u308b\u3068\u3001<\/p>\n<pre>[masuda@centos fsharp]$ .\/autogen.sh --prefix \/usr<br>checking whether make sets $(MAKE)... yes<br>checking for pkg-config... \/usr\/bin\/pkg-config<br>configure: \"pkg-config: \/usr\/bin\/pkg-config\"<br>configure: \"PKG_CONFIG_LIBDIR: \"<br>configure: error: \"You need mono 3.0\"<br>[masuda@centos fsharp]$<\/pre>\n<p>\u306b\u306a\u3063\u3066\u8a70\u3080\u3002\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067 mono 3.0.x \u304c\u5fc5\u8981\u306a\u306e\u3060\u308d\u3046\u304b\uff1f<\/p>\n<p>\u25a0Debian \u3067 Mono\/F# \u3092\u30d3\u30eb\u30c9\u3059\u308b\u3002<\/p>\n<p>Debian \u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u306f F# \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u306e\u3060\u304c\u3001<a title=\"http:\/\/fsharp.org\/use\/linux\/\" href=\"http:\/\/fsharp.org\/use\/linux\/\">http:\/\/fsharp.org\/use\/linux\/<\/a> \u306b\u5f93\u3063\u3066 Mono \u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066\u3044\u304f\u3002\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u3082 apt-get \u304c\u4f7f\u3048\u308b\u306e\u3067\u305d\u306e\u307e\u307e\u30b3\u30d4\u30da\u3057\u306a\u304c\u3089\u5b9f\u884c\u3002\u9014\u4e2d\u3067\u305f\u3089\u305f\u3089\u3068 Mono \u3092\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b Raspberry Pi \u3092\u8ffd\u3044\u629c\u3044\u3066\u3001F# \u306e\u30d3\u30eb\u30c9\u307e\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u9014\u4e2d\u3002\u3042\u3063\u3055\u308a\u3001Mono 3.2.7 \u306e\u554f\u984c\u3082\u30b9\u30eb\u30fc\u3057\u3066\u3044\u3063\u305f\u306e\u3067\u3001\u304a\u305d\u3089\u304f Raspberry Pi \u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u3042\u308b Mono \u304c\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>\u25a0Respberry Pi \u3067 mono \u306e\u30d3\u30eb\u30c9\u304c\u7d9a\u304f<\/p>\n<p>\u7d0415\u6642\u9593\u307b\u3069\u304b\u3051\u3066 Raspberry Pi \u4e0a\u3067 Mono \u306e\u30d3\u30eb\u30c9\u304c\u5b8c\u4e86\u3002USB \u30e1\u30e2\u30ea\u4e0a\u3067\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30a2\u30af\u30bb\u30b9\u304c\u9045\u304f\u3066\u30d3\u30eb\u30c9\u304c\u9045\u3044\u3068\u3044\u3046\u8a71\u3082\u3042\u308b\u30028GB \u306e SD \u30e1\u30e2\u30ea\u3092\u4f7f\u3046\u3068\u5e7e\u5206\u306f\u3084\u3044\u304b\u3082\u3002<\/p>\n<p>\u7d9a\u3051\u3066 F# \u306e\u30d3\u30eb\u30c9\u306b\u5165\u308b\u306e\u3060\u304c\u3001\u65e9\u3005\u306b Mono 3.2.7 \u306e\u554f\u984c\u3092\u30af\u30ea\u30a2\u3057\u305f\u3002\u3084\u3063\u3071\u308a Raspberry Pi \u30ec\u30dd\u30b8\u30c8\u30ea\u306e Mono \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u304a\u304b\u3057\u3044\u3089\u3057\u3044\u3002OS \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u304b\u3082\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u305d\u308c\u305e\u308c\u306e\u6700\u65b0\u7248\u3067\u4f5c\u308b\u3068\u901a\u308b\u306e\u3067\u3001\u3072\u3068\u307e\u305a\u5b89\u5fc3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u305c\u304b\u3001\u73fe\u72b6\u306e Raspberry Pi \u4e0a\u3067\u306f apt-get install mono \u304c\u3067\u304d\u308b apt-get install fsharp \u304c\u3067\u304d\u306a\u3044 make fsharp \u3059\u308b\u3068\u3001\u30d3\u30eb\u30c9\u6642\u306b\u30c6\u30b9\u30c8\u30a8\u30e9\u30fc\u304c\u767a\u751f &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/5920\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[59,67],"tags":[],"class_list":["post-5920","post","type-post","status-publish","format-standard","hentry","category-f","category-raspberrypi"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=5920"}],"version-history":[{"count":0,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5920\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=5920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=5920"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=5920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}