{"id":51,"date":"2008-11-10T18:46:00","date_gmt":"2008-11-10T18:46:00","guid":{"rendered":"http:\/\/caveatquaestor.wordpress.com\/2008\/11\/10\/i-still-hate-greenstone-but-i-got-it-to-run"},"modified":"2008-11-10T18:46:00","modified_gmt":"2008-11-10T18:46:00","slug":"i-still-hate-greenstone-but-i-got-it-to-run","status":"publish","type":"post","link":"https:\/\/www.sheldon-hess.org\/coral\/2008\/11\/i-still-hate-greenstone-but-i-got-it-to-run\/","title":{"rendered":"I still hate Greenstone, but I got it to run"},"content":{"rendered":"<p>For folks in 2670, I hope this helps. For folks outside of 2670, I recommend against using Greenstone Digital Library software, but if you find that you have to, I hope this helps you install it, at least for local use. <\/p>\n<p>If I find any good tricks for using Greenstone, after it&#8217;s installed, I&#8217;ll share those, as well. I hope my classmates will do the same. :)<\/p>\n<p>Assuming the moon&#8217;s alignment with Venus was not what did it, here&#8217;s how I got Greenstone to run:<\/p>\n<p>1) I installed VMWare Fusion on my Mac. (This is unnecessary if you already have Windows XP Professional with Service Pack 2. Skip to step 3 in that case.)<\/p>\n<p>2) I installed Windows XP Professional with Service Pack 2. No, XP x64 won&#8217;t do it; I tried. <\/p>\n<p><em>(Steps 1 and 2 were necessary because, to be blunt, I refuse to put this buggy software on the native operating system of my only computer. If something goes horribly wrong in my VM, I can just blow it away, without losing important data.) Please note: I did the rest of these steps before installing anything else on my Windows VM, including Firefox or Office or anything; I can&#8217;t promise that this will work with anything other than IE 6, or in any order other than the one I give below; given how many times I went through failed installs, I&#8217;ve developed a little bit of irrational superstition about the order of operations&#8230;<\/em><\/p>\n<p>3) I downloaded and installed <a href=\"http:\/\/www.java.com\/en\/download\/\" target=\"new\">Java Virtual Machine<\/a> on my computer.<\/p>\n<p>4) I downloaded and installed <a href=\"http:\/\/java.sun.com\/javase\/downloads\/index.jsp\" target=\"new\">Java JDK<\/a>, specifically <em>JDK 6 Update 10 with Java EE<\/em>. There&#8217;s some weirdness with Java&#8217;s download manager software, but don&#8217;t worry overmuch. Just do what it tells you to do.<\/p>\n<p>5) I downloaded and installed <a href=\"http:\/\/www.activestate.com\/Products\/activeperl\/index.mhtml\" target=\"new\">ActivePerl<\/a>. I did what it told me to do and was rewarded with cute lizard icons and a properly-defined Perl PATH.<\/p>\n<p>6) I downloaded and installed <a href=\"http:\/\/www.imagemagick.org\/download\/binaries\/\" target=\"new\">ImageMagick<\/a>, specifically <em>ImageMagick-6.4.5-5-Q16-windows-dll.exe<\/em>. <strong>Choose only the default options; don&#8217;t add more.<\/strong> Seriously.<\/p>\n<p>7) I installed <a href=\"http:\/\/www.greenstone.org\/download\" target=\"new\">Greenstone<\/a>, <em>Windows Distribution (Latest)<\/em>. I went with all the defaults, including &#8220;Local&#8221; rather than &#8220;Web.&#8221; <\/p>\n<p>8) Here&#8217;s where it gets a little tricky. Perl correctly sets its own path to what Greenstone Librarian Interface expects, but Java does not, for some reason. (I guess first try running Greenstone Librarian Interface. If it works, you don&#8217;t have to do this step. It didn&#8217;t work for me, so here&#8217;s what I did to fix it.)<\/p>\n<p>Go to C:\\Program Files\\Greenstone\\gli, and right-click on gli.bat (it is an icon that looks like a window with a cog in it). Choose Edit. Scroll down to the three lines that look like this:<\/p>\n<p><font face=\"courier\">:findJava<br \/>:: &#8212;- Check Java Exists &#8212;- <br \/>set JAVAPATH=<\/font><\/p>\n<p>Now, go find java.exe. On my computer, it&#8217;s in C:\\Program Files\\Java\\jre6\\bin. Paste that path in (yours, not mine, though they are probably the same); on my machine, the above now says <\/p>\n<p><font face=\"courier\">:findJava<br \/>:: &#8212;- Check Java Exists &#8212;- <br \/>set JAVAPATH=C:\\Program Files\\Java\\jre6\\bin<\/font><\/p>\n<p>Close the file, and click &#8220;Yes&#8221; when it asks if you want to save. Now Greenstone should run just fine. Ideally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For folks in 2670, I hope this helps. For folks outside of 2670, I recommend against using Greenstone Digital Library software, but if you find that you have to, I hope this helps you install it, at least for local use. If I find any good tricks for using Greenstone,&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/www.sheldon-hess.org\/coral\/2008\/11\/i-still-hate-greenstone-but-i-got-it-to-run\/\">Continue reading<span class=\"screen-reader-text\">I still hate Greenstone, but I got it to run<\/span><\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,38],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-classes","category-technology","entry"],"_links":{"self":[{"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheldon-hess.org\/coral\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}