{"id":1161,"date":"2008-08-05T18:07:31","date_gmt":"2008-08-05T08:07:31","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=1161"},"modified":"2008-08-05T18:07:31","modified_gmt":"2008-08-05T08:07:31","slug":"good-adventures-with-opensolaris","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2008\/08\/05\/good-adventures-with-opensolaris\/","title":{"rendered":"Good adventures with OpenSolaris"},"content":{"rendered":"<p>First of all, thanks to everyone who commented on my previous OpenSolaris entry (which wasn&#8217;t really positive at all).<\/p>\n<p>I recently tried again &#8211; this time starting with an ISO of build 93. I&#8217;d recommend completely ignoring the 2008.05 release and going straight for the build 93 image.<\/p>\n<p>Installed easily in VirtualBox, adding the VirtualBox extensions was easy. Select &#8220;Devices -&gt; Install Guest Additions&#8221; in the VirtualBox menu, then when logged into the OpenSolaris install, do the following:<\/p>\n<p>su<\/p>\n<p>pkgadd -d \/media\/VBOXADDITIONS_1.6.0_30421\/VBoxSolarisAdditions.pkg<\/p>\n<p>(you then say yes, i really do want to install it. rather obvious. I had to do this step again after the &#8220;pkg image-update&#8221; below though). Just logging out and then back in again gets you all the awesomeness you&#8217;d expect from running other guests (such as that system released by a large corporation in Redmond).<\/p>\n<p>The &#8220;pkg image-update&#8221; went as expected, and I&#8217;m now running build 94.<\/p>\n<p>I installed SunStudio Express (compilers) pretty easily &#8211; &#8220;pkg install sunstudio&#8221;. Unfortunately, this is all in \/opt\/SunStudioExpress and not in $PATH, which would have been much more useful. I guess there&#8217;s still a bit to go before usability nirvana. Also, no .desktop entries, so have to explicitly run \/opt\/SunStudioExpress\/bin\/sunstudio to get the NetBeans gui. Presumably if i add \/opt\/SunStudioExpress\/bin to PATH, building random software packages will be nicer.<\/p>\n<p>So, I then want bzr so i can pull source repositories. Monty Taylor informs me that the magic packages you want are: SUNWgcc, gcc-dv and SUNWtoo. Then you can build bzr as downloaded from the website. Installed these easily.<\/p>\n<p>However, now trying to get the bzr source:<br \/>\n$ firefox<br \/>\nld.so.1: firefox-bin: fatal: \/usr\/lib\/firefox\/libxul.so: corrupt or truncated file<\/p>\n<p>and then symbol kPStaticModules: referenced symbol not found.<\/p>\n<p>So maybe I shouldn&#8217;t have upgraded to build 94&#8230;..<\/p>\n<p>But certainly in much better shape than the may release, but be warned, it&#8217;s still a work-in-progress and some things may sporadically not work from time to time (e.g. like firefox and now).<\/p>\n<p>Hopefully, some time soon I&#8217;ll get a MySQL build (well&#8230; really I want MySQL Cluster, and later drizzle) going and will really be able to hammer these things with dtrace.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all, thanks to everyone who commented on my previous OpenSolaris entry (which wasn&#8217;t really positive at all). I recently tried again &#8211; this time starting with an ISO of build 93. I&#8217;d recommend completely ignoring the 2008.05 release &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2008\/08\/05\/good-adventures-with-opensolaris\/\">Continue reading <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_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[14,40],"tags":[632],"class_list":["post-1161","post","type-post","status-publish","format-standard","hentry","category-mysql","category-sun","tag-opensolaris"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-iJ","jetpack-related-posts":[{"id":1320,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/12\/18\/virtualbox-210-and-opensolaris-200811\/","url_meta":{"origin":1161,"position":0},"title":"VirtualBox 2.1.0 (and OpenSolaris 2008.11)","author":"Stewart Smith","date":"2008-12-18","format":false,"excerpt":"Upgraded VirtualBox and booted up my OpenSolaris VM. VirtualBox 2.1.0 finally fixes the bug where if 127.0.0.1 was in resolv.conf on the host - no DNS for you in the guest (unless in the guest you were running a DNS server). Haven't tried it yet... but OpenGL Accelleration makes at\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1163,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/08\/06\/firefox-on-opensolaris-fixed\/","url_meta":{"origin":1161,"position":1},"title":"Firefox on OpenSolaris fixed (and installed bzr)","author":"Stewart Smith","date":"2008-08-06","format":false,"excerpt":"Thanks to Glynn for pointing me to the right thread on opensolaris.org (in a comment on my Good adventures with OpenSolaris post). The package verification thingy (pkg verify -v -f SUNWfirefox) did actually throw an error (indicating some sort of problem). So that's pretty neat. The fact that it got\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1296,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/12\/11\/opensolaris-200811-first-impressions\/","url_meta":{"origin":1161,"position":2},"title":"OpenSolaris 2008.11 first impressions","author":"Stewart Smith","date":"2008-12-11","format":false,"excerpt":"Using the wonderful bittorrent, I got the CD image in next to no time (in contrast to the Solaris Express image I'm currently downloading via HTTP that's taking forever). Boot time in VirtualBox (off the ISO image) was rather quick, usual questions on keyboard layout and desired language (it'd be\u2026","rel":"","context":"In &quot;sun&quot;","block_context":{"text":"sun","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/sun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1146,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/07\/16\/adventures-with-opensolaris\/","url_meta":{"origin":1161,"position":3},"title":"Adventures with OpenSolaris","author":"Stewart Smith","date":"2008-07-16","format":false,"excerpt":"So... some colleagues have been experimenting with DTrace a bit, and I've been (for a while now) wanting to experiment with it. The challenge now, instead of in the past, is that I'm setting up a Solaris based system - not getting one premade. I chose OpenSolaris as I'd previously\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2008\/07\/screenshot-300x198.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1587,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/04\/08\/using-dtrace-to-find-out-why-solaris-is-so-slow-and-if-its-actually-solaris\/","url_meta":{"origin":1161,"position":4},"title":"Using Dtrace to find out if the hardware or Solaris is slow (but really just working around the problem)","author":"Stewart Smith","date":"2009-04-08","format":false,"excerpt":"A little while ago, I was the brave soul tasked with making sure Drizzle was working properly and passing all tests on Solaris and OpenSolaris. Brian recently blogged about some of the advantages of also running on Solaris and the SunStudio compilers - more warnings from the compiler is a\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1598,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/03\/26\/drizzle-tests-all-pass-on-solarissparc\/","url_meta":{"origin":1161,"position":5},"title":"Drizzle tests all pass on Solaris\/Sparc","author":"Stewart Smith","date":"2009-03-26","format":false,"excerpt":"Stopping All Servers All 221 tests were successful. The servers were restarted 14 times Spent 1424.921 of 1521 seconds executing testcases (All tests have passed on OpenSolaris on x86 for a while now).","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=1161"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1161\/revisions"}],"predecessor-version":[{"id":1162,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1161\/revisions\/1162"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=1161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=1161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=1161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}