{"id":15130,"date":"2015-09-19T16:23:00","date_gmt":"2015-09-19T23:23:00","guid":{"rendered":"http:\/\/www.kith.org\/journals\/jed\/2015\/09\/19\/15130.html"},"modified":"2019-11-10T11:15:36","modified_gmt":"2019-11-10T19:15:36","slug":"more-software-installation","status":"publish","type":"post","link":"https:\/\/www.kith.org\/jed\/2015\/09\/19\/more-software-installation\/","title":{"rendered":"More software installation"},"content":{"rendered":"\r\n<p>Thought it might be fun to try to install and set up <a href=\"http:\/\/pocketmine-mp.readthedocs.org\/en\/latest\/installation.html#installing-on-linux-macos\">PocketMine-MP<\/a>, a Minecraft server that would allow multiple mobile-device Minecraft instances to connect over the Internet.<\/p>\r\n<p>But downloading it and running the install command resulted in an error message indicating that my compiler was missing.<\/p>\r\n<p>So I ran the command to accept the license agreement for the Xcode command-line tools, and then went back to trying to install the server.<\/p>\r\n<p>But this time, running the server's install command resulted in a wget error message.<\/p>\r\n<p>Turns out my version of wget is old.<\/p>\r\n<p>But downloading wget and running its install command results in a pkg-config error message.<\/p>\r\n<p>Turns out I don't have pkg-config installed, or maybe I have it installed in the wrong place.<\/p>\r\n<p>But downloading pkg-config and running its install command results in a <code>Permission denied<\/code> error message. Even though I ran it as superuser. Presumably because the file it's trying to open (.deps\/localcharset.Tpo) doesn't exist.<\/p>\r\n<p>Turns out (for complicated reasons) I wasn't actually running <code>make install<\/code> as superuser. Did that.<\/p>\r\n<p>Installing pkg-config succeeded.<\/p>\r\n<p>Tried to install wget again.<\/p>\r\n<p><code>No package 'gnutls' found<\/code><\/p>\r\n<p>Found advice to run <code>sudo apt-get install libgnutls-dev<\/code>.<\/p>\r\n<p>That popped up a dialog telling me that I didn't have X11 installed and offering to show me an article about how to install it.<\/p>\r\n<p>So instead I downloaded gnutls. But it was in a .tar.xz file, which tar on OS X doesn't seem to recognize.<\/p>\r\n<p>So I ran <code>unxz<\/code> on it, which gave me a .tar file. So then I extracted the files from the tar file and ran the install command.<\/p>\r\n<p>It gave me an error message saying that Libnettle wasn't found.<\/p>\r\n<p>And at this point I decided I have better things to do than try to install this software.<\/p>\r\n<p>About halfway through that sequence, I started to get a certain sense of deja vu; it was just like <a href=\"https:\/\/www.kith.org\/jed\/2014\/10\/04\/how-to-install-unix-like-softw\/\">last time I tried to install Unix-like software<\/a>. And all the other times.<\/p>\r\n<p>I think I may have successfully installed only about two or three command-line tools ever. Every other time, I get about four or five levels of recursion deep, searching for how to fix cryptic error messages and discovering I need to install yet another tool, and then I just give up.<\/p>\r\n<p>Frustrating and disappointing.<\/p>\r\n<p>(And yes, I've seen the <a href=\"https:\/\/xkcd.com\/1579\/\">most recent relevant xkcd<\/a>.)<\/p>\r\n<p>(PS: And yes, in the past I've tried Homebrew and such. Those approaches also always end the same way.)<\/p>\r\n\n","protected":false},"excerpt":{"rendered":"<p>Thought it might be fun to try to install and set up PocketMine-MP, a Minecraft server that would allow multiple&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24],"tags":[],"class_list":["post-15130","post","type-post","status-publish","format-standard","hentry","category-software"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/posts\/15130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/comments?post=15130"}],"version-history":[{"count":1,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/posts\/15130\/revisions"}],"predecessor-version":[{"id":18195,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/posts\/15130\/revisions\/18195"}],"wp:attachment":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/media?parent=15130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/categories?post=15130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/tags?post=15130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}