{"id":115,"date":"2021-03-08T12:33:07","date_gmt":"2021-03-08T03:33:07","guid":{"rendered":"https:\/\/sirius10.dip.jp\/blog\/wordpress\/?p=115"},"modified":"2021-03-31T11:19:13","modified_gmt":"2021-03-31T02:19:13","slug":"wine-%e3%81%a8-mono","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/03\/08\/115\/","title":{"rendered":"wine \u3068 mono"},"content":{"rendered":"\n<p>\u3000\u4e00\u90e8\u306e Windows \u30bd\u30d5\u30c8\u304c\u52d5\u304b\u305b\u308b\u69d8\u306b\u306a\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u3066\u3001wine \u3068 mono \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fbmono \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p class=\"console\">$ sudo apt-get install -y mono-complete<\/p>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e exe \u306f\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30fbwine \u3092\u52d5\u304b\u3057\u3066\u307f\u3088\u3046\u3002<\/p>\n\n\n\n<p>\u3000\u76ee\u6a19\u306f L-ZONE \u3092\u52d5\u304b\u3059\u3053\u3068\u3002<br>\u3000qemu, debootstrap \u305d\u306e\u4ed6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils qemu-system<\/p>\n\n\n\n<p>\u3000\u4ee5\u4e0b\u306f\u5165\u529b\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306e\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo mkdir \/x86\/<br>$ sudo debootstrap &#8211;foreign &#8211;arch i386 stretch \/x86<br>$ http:\/\/ftp.us.debian.org\/debian<br>$ sudo mount -t sysfs sys \/x86\/sys\/<br>$ sudo mount -t proc proc \/x86\/proc\/<br>$ sudo mount &#8211;bind \/dev \/x86\/dev\/<br>$ sudo mount &#8211;bind \/dev\/pts \/x86\/dev\/pts\/<br>$ sudo mount &#8211;bind \/dev\/shm \/x86\/dev\/shm\/<br>$ sudo cp \/usr\/bin\/qemu-i386-static \/x86\/usr\/bin\/<br>$ sudo chroot \/x86\/ \/debootstrap\/debootstrap &#8211;second-stage<br>$ sudo chroot \/x86\/ \/bin\/su -l root<br># apt -y install locales<br># vi \/etc\/locale.gen (ja_JP.UTF-8\u306e\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u89e3\u9664)<br># locale-gen<br># update-locale LANG=ja_JP.UTF-8<br># echo &#8220;export LANGUAGE=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br># echo &#8220;export LC_ALL=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br># echo &#8220;export TZ=JST-9&#8221; &gt;&gt; .bashrc<br># echo &#8220;export DISPLAY=:0&#8221; &gt;&gt; .bashrc<br># source ~\/.bashrc<br># apt update<br># adduser -uid 1000 pi<br># apt install leafpad<br># exit<br>$ sudo chroot \/x86\/ \/bin\/su -l pi<br>$ echo &#8220;export LANGUAGE=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export LC_ALL=ja_JP.UTF-8&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export TZ=JST-9&#8221; &gt;&gt; .bashrc<br>$ echo &#8220;export DISPLAY=:0&#8221; &gt;&gt; .bashrc<br>$ source ~\/.bashrc<br>$ exit<br>$ sudo chroot \/x86\/ \/bin\/su -l root<br># apt install wine<br># exit<br>$ sudo chroot \/x86\/ \/bin\/su -l pi<br>$ winecfg<\/p>\n\n\n\n<p>\u3084\u3063\u3071\u308a Bus error \u304c\u3067\u307e\u3059\u3002<br>\u3053\u308c\u306f\u3001Raspbian buster \u306e qemu \u304c\u30d0\u30b0\u6301\u3061\u306e\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u3044\u308b\u305b\u3044\u306e\u3088\u3046\u3067\u3059\u3002<br>\u3082\u3063\u3068\u6311\u6226\u306f\u3057\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u3053\u3053\u307e\u3067\u3002<br>\u5931\u6557\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u4e00\u90e8\u306e Windows \u30bd\u30d5\u30c8\u304c\u52d5\u304b\u305b\u308b\u69d8\u306b\u306a\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u3066\u3001wine \u3068 mono \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 \u30fbmono \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ sudo apt-get install -y mono-complete [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-wine"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":2,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/115\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}