<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10593121</id><updated>2011-07-29T12:14:27.892+10:00</updated><category term='Solaris'/><category term='OpenSolaris'/><category term='Packaging'/><category term='Installation'/><title type='text'>binarycrusader</title><subtitle type='html'>Saving the world's bits using Solaris, one at a time.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10593121.post-5249694381671275225</id><published>2007-03-01T20:25:00.000+11:00</published><updated>2007-03-01T20:29:31.275+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSolaris'/><category scheme='http://www.blogger.com/atom/ns#' term='Solaris'/><title type='text'>Looking for Solaris USB Tips?</title><content type='html'>If you're looking for information about USB Device support on Solaris, then I  have good news for you! The &lt;a href="http://www.sun.com/io_technologies/usb/USB-Faq.html"&gt;Solaris Ready USB FAQ&lt;/a&gt; posted on SUN's website probably has the answers you are looking for. Recently, I had a problem getting my external USB / Sata Hard Drive Enclosure working and found the &lt;a href="http://www.sun.com/io_technologies/usb/USB-Faq.html#Storage"&gt;USB Storage section&lt;/a&gt; of the FAQ invaluable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-5249694381671275225?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sun.com/io_technologies/usb/USB-Faq.html' title='Looking for Solaris USB Tips?'/><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/5249694381671275225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=5249694381671275225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/5249694381671275225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/5249694381671275225'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2007/03/looking-for-solaris-usb-tips.html' title='Looking for Solaris USB Tips?'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-2975022434335963490</id><published>2007-02-24T21:30:00.000+11:00</published><updated>2007-02-24T22:14:17.167+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSolaris'/><category scheme='http://www.blogger.com/atom/ns#' term='Solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='Installation'/><category scheme='http://www.blogger.com/atom/ns#' term='Packaging'/><title type='text'>An alternative to packages</title><content type='html'>I have a set of software I want to provide for the Solaris 10+ community (more on that in the coming weeks). However, the existing solutions for distributing software for Solaris (and other UNIX like systems in general) are sadly lacking. It might seem backwards to some, however, I feel that before I begin the porting and distribution effort for this new software I need a good way to distribute it that makes it as painless as possible for all parties involved. Ease of maintenance, as a developer, is especially important to me.&lt;br /&gt;&lt;br /&gt;With that in mind, I am researching different options for easily distributing software to Solaris users. Note, I said &lt;span style="font-style: italic;"&gt;users&lt;/span&gt; and not &lt;span style="font-style: italic;"&gt;administrators&lt;/span&gt;, although this can just as easily apply to them as well. Users want to run their software with as little pain as possible, and developers need a way to distribute the software that &lt;span style="font-style: italic;"&gt;users&lt;/span&gt; want to run with as little pain as possible. That requires a distribution system that meets certain &lt;a href="http://www.0install.net/goals.html"&gt;goals&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Anyone can install software&lt;/li&gt;&lt;li&gt;Anyone can distribute software&lt;/li&gt;&lt;li&gt;It doesn't matter whether the software is installed or not&lt;/li&gt;&lt;li&gt;Shared downloads&lt;/li&gt;&lt;li&gt;Good security&lt;/li&gt;&lt;/ul&gt;All of these goals are important. In the past, other projects such as &lt;a href="http://www.blastwave.org/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;blastwave&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.sunfreeware.com/"&gt;SUN Freeware&lt;/a&gt;, &lt;a href="http://www.openpkg.net/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;OpenPKG&lt;/span&gt;&lt;/a&gt; and others have provided solutions that work great for administrators, but aren't so great if you're not the system administrator. Thankfully, we don't have to sacrifice the goal of allowing users to run the software they want or any of the other ones listed above. Not only that, we already have a solution that achieves every one of those goals: &lt;a href="http://www.0install.net/"&gt;The Zero Install System&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The project leader, Dr. Thomas Leonard, &lt;a href="http://sourceforge.net/mailarchive/forum.php?forum=zero-install-devel"&gt;has been very helpful&lt;/a&gt; in assisting me with these efforts and welcomed contributions. The past week or so, I have been looking into what changes are necessary to allow Solaris to be a fully supported and operational platform for the Zero Install System. Since Zero Install is written in python, it is already fairly portable by nature.&lt;br /&gt;&lt;br /&gt;I have been working through the test suite included with Zero Install making whatever changes are necessary for it to pass all applicable tests and I am just about finished. I have not had to make many changes due to the excellent work performed by the Zero Install team and its contributors. So far, all of the changes I've done are found in the unpack library.&lt;br /&gt;&lt;br /&gt;While the Zero Install System is not yet fully functional, you can be certain that I will be doing whatever is needed for that to happen. I will post an announcement here once I am certain that it is fully functional, and have a sample software package available for testing. Meanwhile, I suggest reading the following material related to Zero Install and installation / packaging systems:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.0install.net/faq.html"&gt;The Zero Install System FAQ&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://osnews.com/story.php/16956/Decentralised-Installation-Systems"&gt;Decentralised Installation Systems&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://specialreports.linux.com/article.pl?sid=07/02/15/0724206&amp;tid=138&amp;amp;tid=47"&gt;Zero Install: An executable critique of native package systems&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-2975022434335963490?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.0install.net/' title='An alternative to packages'/><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/2975022434335963490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=2975022434335963490' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/2975022434335963490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/2975022434335963490'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2007/02/alternative-to-packages.html' title='An alternative to packages'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-115028326894932438</id><published>2006-06-14T19:54:00.000+10:00</published><updated>2006-06-15T09:46:13.916+10:00</updated><title type='text'>Happy First Birthday OpenSolaris</title><content type='html'>It is hard to believe that a year has already passed. So much has happened in the OpenSolaris community since the project was first officially launched. The most important of these things to me have been: charter establishment, release of binaries for libm, sccs, and make, release of the solaris packaging software and code, the establishment of the desktop and laptop communities, the release of a ndis wrapper and configuration tool, and the selection of a distributed source code management system.&lt;br /&gt;&lt;br /&gt;Looking back, I was able to submit several small patches that were later integrated into the OpenSolaris project. While these patches were trivial in nature, each bit was an expression of my appreciation for the contribution that SUN has made to the community. In addition, it was a joy to work with people such as Dan Mick and others at SUN that helped integrate my changes. The community and people inside of SUN have provided a veritable cornucopia of useful resources. Some of the resources and people that helped me over the last year include:&lt;br /&gt;&lt;br /&gt;* Dan Mick's &lt;a href="http://blogs.sun.com/roller/page/dmick"&gt;blog&lt;/a&gt; postings, such as a &lt;a href="http://blogs.sun.com/roller/page/dmick?entry=diagnosing_kernel_hangs_panics_with"&gt;posting&lt;/a&gt; about diagnosing kernel troubles. Dan also provided extensive personal assistance that helped get me through several technical hurdles, and the code integration process.&lt;br /&gt;&lt;br /&gt;* Bryan Cantrill's &lt;a href="http://blogs.sun.com/bmc/"&gt;blog&lt;/a&gt; with heaps of postings about DTrace.&lt;br /&gt;&lt;br /&gt;* Ben Rockwood's &lt;a href="http://cuddletech.com/"&gt;blog&lt;/a&gt; with several introductions to Solaris methodology, as well as an important resource for Solaris &lt;a href="http://enlightenment.org/"&gt;enlightenment&lt;/a&gt; addicts.&lt;br /&gt;&lt;br /&gt;* Alan Hargreave's &lt;a href="http://blogs.sun.com/roller/page/tpenta/"&gt;blog&lt;/a&gt;. Chock full of reflections on Solaris/OpenSolaris, life, technical information, and most important of all: &lt;a href="http://blogs.sun.com/roller/page/tpenta?catname=%2FBrewing"&gt;brewing&lt;/a&gt; information.&lt;br /&gt;&lt;br /&gt;* Jim Grisanzio's &lt;a href="http://blogs.sun.com/roller/page/jimgris/"&gt;blog&lt;/a&gt;, for a great perspective on the community, and for being a righteous defender of all that is just.&lt;br /&gt;&lt;br /&gt;* &lt;a href="http://www.gnome.org/~gman/blog/"&gt;Glynn Foster&lt;/a&gt; (aka Gman), whose tireless assistance with JDS was quite helpful.&lt;br /&gt;&lt;br /&gt;* &lt;a href="http://www.blastwave.org/dclarke/blog/index.php"&gt;Dennis Clarke&lt;/a&gt;, who has provided a significant amount of resources through &lt;a href="http://blastwave.org/"&gt;blastwave.org&lt;/a&gt;, to ensure that community members have access to a high quality resource for software. Not only has Dennis provided this service free to the community for years, but he has also provided resources for developers to build and provide that software to the community.&lt;br /&gt;&lt;br /&gt;Those are just a few examples of great resources and people that are part of the OpenSolaris community.&lt;br /&gt;&lt;br /&gt;In the near future, I hope to pick back up some of my patches that I had to previously abandon due to a sudden career change and past schedule demands for University. I've been writing code since I was a child, and programming for almost eighteen years. Yet, after all of these years, I still enjoy doing so. My contributions to the OpenSolaris project have been a labor of love, and I look forward to contributing more over the years to come.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-115028326894932438?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.opensolaris.org/' title='Happy First Birthday OpenSolaris'/><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/115028326894932438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=115028326894932438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/115028326894932438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/115028326894932438'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2006/06/happy-first-birthday-opensolaris.html' title='Happy First Birthday OpenSolaris'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-112320985632534400</id><published>2005-08-05T12:32:00.000+10:00</published><updated>2005-10-03T06:37:54.166+10:00</updated><title type='text'>vim for the blastwave impaired</title><content type='html'>For those of you that wanted vim packaged for x86 without using blastwave. There is hope:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://icculus.org/%7Eeviltypeguy/pkg/vim/"&gt;http://icculus.org/~eviltypeguy/pkg/vim/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can grab the pkg along with everything build-system or source-related that I used from there. The simple instructions if you want to rebuild it your own way:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Download the vim-6.3.tar.bz2 and all the other files at the URL listed above, extract the vim tarball to a build directory of your choice.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Place the "copyright", "pkginfo", and "vimtopkg" files in the newly extracted directory.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Edit pkginfo with your editor to match your personal info.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Do a configure with something like what is below from the top level directory adding or disabling features as you please, replacing the --prefix with one of your own choosing.:&lt;br /&gt;&lt;blockquote&gt;./configure --prefix=/opt/BCvim --with-features=huge --with-compiledby='my @ email address' --enable-perlinterp=no --enable-pythoninterp --enable-tclinterp --enable-cscope --enable-workshop --enable-multibyte --enable-xim --enable-fontset --with-x --enable-gnome-check&lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perform the make from the top level directory:&lt;br /&gt;&lt;blockquote&gt;make&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Run vimtopkg from the top level directory:&lt;br /&gt;&lt;blockquote&gt;ksh ./vimtopkg&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Tell it you want to use the pkginfo file.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Be amazed as a complete package is written out for you ready to enjoy via pkgadd&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a href="http://www.bolthole.com/"&gt;Phil&lt;/a&gt; for the original gnutopkg script that I based the vimtopkg ksh script on. I also have a more &lt;a href="http://icculus.org/%7Eeviltypeguy/pkg/gnutopkg"&gt;generic one&lt;/a&gt; suitable for packaging just about any autofoo* based program.&lt;br /&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris" rel="tag"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-112320985632534400?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/112320985632534400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=112320985632534400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/112320985632534400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/112320985632534400'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/08/vim-for-blastwave-impaired.html' title='vim for the blastwave impaired'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-112058480980773782</id><published>2005-07-06T03:23:00.000+10:00</published><updated>2005-10-08T09:42:35.230+10:00</updated><title type='text'>Whodunit? Finding what package a file belongs to</title><content type='html'>Those of you who are refugees from the RedHat Linux world, may be used to a rather simple way of finding out what package claims responsibility for a particular file. Well, you'll be relieved to know it's just as easy to find out under Solaris as it is when running RPM based Linux distributions. Here's a simple example of how I found out what package references /usr/bin/nautilus:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/usr/sbin/pkgchk -l -p /usr/bin/nautilus&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Here is the resulting output:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Pathname: /usr/bin/nautilus&lt;br /&gt;Type: regular file&lt;br /&gt;Expected mode: 0755&lt;br /&gt;Expected owner: root&lt;br /&gt;Expected group: other&lt;br /&gt;Expected file size (bytes): 677516&lt;br /&gt;Expected sum(1) of contents: 25862&lt;br /&gt;Expected last modification: Dec 16 11:52:16 2004&lt;br /&gt;Referenced by the following packages:&lt;br /&gt;      SUNWgnome-file-mgr&lt;br /&gt;Current status: installed&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris" rel="tag"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-112058480980773782?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/112058480980773782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=112058480980773782' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/112058480980773782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/112058480980773782'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/07/whodunit-finding-what-package-file.html' title='Whodunit? Finding what package a file belongs to'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111949074799703497</id><published>2005-06-23T11:36:00.000+10:00</published><updated>2005-10-08T09:41:08.830+10:00</updated><title type='text'>UTF-8 Locales: Disabling the Language Box</title><content type='html'>Thanks to Laurent Blume who recently posted the *real* solution (not the cheap hack I posted a few months back) as to how to disable the incredibly annoying language selection boxes that JDS and Motif feature by default under Solaris 10 and UTF-8 locales. The &lt;a href="http://groups.yahoo.com/group/solarisx86/message/26020"&gt;solution&lt;/a&gt; is simple and kudos to Laurent for finding it!&lt;br /&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris" rel="tag"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111949074799703497?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://groups.yahoo.com/group/solarisx86/message/26020' title='UTF-8 Locales: Disabling the Language Box'/><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111949074799703497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111949074799703497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111949074799703497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111949074799703497'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/06/utf-8-locales-disabling-language-box.html' title='UTF-8 Locales: Disabling the Language Box'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111897819134167884</id><published>2005-06-17T13:15:00.000+10:00</published><updated>2007-02-13T18:15:39.423+11:00</updated><title type='text'>Solaris Development Tip</title><content type='html'>Beware /usr/ucb.&lt;br /&gt;&lt;br /&gt;By default this is in your path, and if you want to use the SUN Studio compilers to compile anything and everything, you need to either put /usr/ucb after /opt/SUNWpro/bin in your path, or take it out completely (highly recommended).&lt;br /&gt;&lt;br /&gt;The reason for this? As far as I can tell /usr/ucb/cc implies -Xs, since /usr/ucb/cc is designed to act as an interface to the BSD Compatibility Package C compiler. So, if you go along your merry way and try to compile source code that uses C99 extensions, such as the following:&lt;br /&gt;&lt;br /&gt;#define a(...) foo&lt;br /&gt;&lt;br /&gt;You may encounter bizarre errors such as:&lt;br /&gt;"test.c", line 1: bad formal: .&lt;br /&gt;"test.c", line 1: bad formal: .&lt;br /&gt;"test.c", line 1: bad formal: .&lt;br /&gt;&lt;br /&gt;What clued me into what was wrong was the following warning when I tried to enable c99 extensions:&lt;br /&gt;/usr/ucb/cc -xc99=all -o test test.c&lt;br /&gt;cc: Option -Xs requires -xc99=none&lt;br /&gt;&lt;br /&gt;Obviously, I'm not passing -Xs myself, so /usr/ucb/cc must be implying it automatically. I encountered this while trying to compile the latest version of metacity (the default GNOME window manager). While I realise many Solaris old-timers may already know about this, I thought I would pass it along as I'm fairly new to Solaris development myself.&lt;br /&gt;&lt;br /&gt;I've been told and have read comments by a few different friendly SUN engineers that there is no good reason to have /usr/ucb in my path. I plan to follow their advice.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris" rel="tag"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111897819134167884?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111897819134167884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111897819134167884' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111897819134167884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111897819134167884'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/06/solaris-development-tip.html' title='Solaris Development Tip'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111889087101478839</id><published>2005-06-16T12:56:00.000+10:00</published><updated>2005-10-08T09:41:29.043+10:00</updated><title type='text'>Solaris Express Community Release Tip</title><content type='html'>If you're having problems booting the &lt;a href="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=7&amp;PartDetailId=Sol-Express_b16-x86-SP-G-B&amp;amp;TransactionId=try"&gt;Solaris Express Community Release&lt;/a&gt; (necessary to Build &lt;a href="http://www.opensolaris.org/"&gt;OpenSolaris&lt;/a&gt;), try unplugging any USB devices you have connected to the system (especially if it's a Logitech Optical USB Mouse). There's a bug right now that prevents some systems with certain USB Mice from being able to properly boot the Solaris Express Community Release. I have been told that a fix will be put out for this soon.&lt;br /&gt;&lt;br /&gt;Additionally, when you have any problems booting the Solaris Express Community Release, you should read Dan Mick's &lt;a href="http://blogs.sun.com/roller/comments/dmick/Weblog/diagnosing_kernel_hangs_panics_with"&gt;blog entry&lt;/a&gt; about debugging the boot process so that you can provide more information to those who can fix it.&lt;br /&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris" rel="tag"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111889087101478839?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111889087101478839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111889087101478839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111889087101478839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111889087101478839'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/06/solaris-express-community-release-tip.html' title='Solaris Express Community Release Tip'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111877645102120430</id><published>2005-06-15T05:11:00.000+10:00</published><updated>2005-06-15T05:15:00.646+10:00</updated><title type='text'>OpenSolaris is here!</title><content type='html'>What are you still doing here? Get it now!&lt;br /&gt;&lt;br /&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/Solaris"&gt;Solaris&lt;/a&gt; &lt;a href="http://www.technorati.com/tag/OpenSolaris"&gt;OpenSolaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111877645102120430?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.opensolaris.org/' title='OpenSolaris is here!'/><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111877645102120430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111877645102120430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111877645102120430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111877645102120430'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/06/opensolaris-is-here.html' title='OpenSolaris is here!'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111522237569205273</id><published>2005-05-05T01:54:00.000+10:00</published><updated>2005-10-08T09:41:53.746+10:00</updated><title type='text'>Groups vs. Roles</title><content type='html'>Like me, you may be a bit fuzzy on the high level differences between groups and roles, after all they do have a lot of similarities. Rohan Pinto &lt;a href="http://blogs.sun.com/roller/comments/rohanpinto/home/in_the_beginning_there_were"&gt;de-mystifies them for us rather nicely&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Technorati Tag &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111522237569205273?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111522237569205273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111522237569205273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111522237569205273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111522237569205273'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/05/groups-vs-roles.html' title='Groups vs. Roles'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111431886081726893</id><published>2005-04-24T14:31:00.000+10:00</published><updated>2005-10-08T09:40:54.713+10:00</updated><title type='text'>Solaris 10: Yet another development tip</title><content type='html'>A little note about something to be careful of when compiling and developing applications within a non singlebyte locale (a Unicode or locale other than "C"). You should always check the man pages of the utilities you're using in your build process or anywhere else first before using them. Some of the utilities that are in /usr/bin or /bin only properly handle singlebyte locales and won't work properly in others.&lt;br /&gt;&lt;br /&gt;For example, the "tr" utility in /bin/tr or /usr/bin/tr will fail with a not-so-helpful message about "bad string" when in reality you've given it perfectly valid input. This is a result of it not supporting singlebyte locales. Instead, you will have to use  /usr/xpg4/bin/tr or /usr/xpg6/bin/tr which support multi-byte locales.&lt;br /&gt;&lt;br /&gt;Technorati Tag &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111431886081726893?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111431886081726893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111431886081726893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111431886081726893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111431886081726893'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/04/solaris-10-yet-another-development-tip.html' title='Solaris 10: Yet another development tip'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111388525311041677</id><published>2005-04-19T14:25:00.000+10:00</published><updated>2005-10-08T09:42:15.966+10:00</updated><title type='text'>Solaris 10: A Few Development Tips and Solutions</title><content type='html'>Like me, after setting up Solaris 10 and getting your development environment going with the gcc that comes "in the box" (or "in the iso" as is the most likely case), you may have run into bizarre errors when running "configure" for programs you tried to compile and install. "configure" spouts things like system unable to compile programs, no proper compiler installed and so forth. You may also have encountered errors about missing symbols that look like they come from libstdc++. Well, be mystified no more. Four easy steps to a more blissful development environment:&lt;br /&gt;&lt;br /&gt;1) Remove /usr/ucb from your path. You probably won't miss it, and unless you have the SUN studio tools installed, it's best if it's not in your path anyway (due to /usr/ucb/cc I believe).&lt;br /&gt;&lt;br /&gt;2) Apply the fix found &lt;a href="http://forum.sun.com/thread.jspa?threadID=22817"&gt;here&lt;/a&gt; for SUN's possible oversight.&lt;br /&gt;&lt;br /&gt;3) Add /usr/sfw/bin to your $PATH (preferably *first* in my opinion)&lt;br /&gt;&lt;br /&gt;4) Add /usr/ccs/bin to the *end* of your $PATH&lt;br /&gt;&lt;br /&gt;Have fun!&lt;br /&gt;&lt;br /&gt;Technorati Tag &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111388525311041677?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111388525311041677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111388525311041677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111388525311041677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111388525311041677'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/04/solaris-10-few-development-tips-and.html' title='Solaris 10: A Few Development Tips and Solutions'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111297066773050886</id><published>2005-04-09T00:25:00.000+10:00</published><updated>2005-10-04T09:20:51.133+10:00</updated><title type='text'>Need a quick way to kill the X server?</title><content type='html'>Recently I had an X11 program misbehave and esentially make my JDS desktop unresponsive to my input. Since I don't have another system nearby where I can login in via SSH and kill Xorg manually, I've just been hitting the reset button because for some odd reason Control + Alt + BackSpace doesn't kill the server by default with Solaris 10 (on some systems possibly?).&lt;br /&gt;&lt;br /&gt;Well, I happened to post about this on the &lt;a href="http://groups.yahoo.com/group/solarisx86/"&gt;Solaris x86 Yahoo Group Mailing List&lt;/a&gt; and Adrian Saul along with Casper Dik of SUN were kind enough to post &lt;a href="http://groups.yahoo.com/group/solarisx86/message/23397"&gt;the solution&lt;/a&gt;, and &lt;a href="http://groups.yahoo.com/group/solarisx86/message/23398"&gt;why it was needed&lt;/a&gt;. The solution is simple, add the below to the bottom of your /etc/X11/xorg.conf:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Section "ServerFlags"&lt;br /&gt;  Option "HandleSpecialKeys" "Always"&lt;br /&gt;EndSection&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Solved the problem rather nicely, fear misbehaving X11 programs no more!&lt;br /&gt;&lt;br /&gt;Technorati Tag &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111297066773050886?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111297066773050886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111297066773050886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111297066773050886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111297066773050886'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/04/need-quick-way-to-kill-x-server.html' title='Need a quick way to kill the X server?'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111281197672763055</id><published>2005-04-07T04:09:00.000+10:00</published><updated>2005-10-17T03:00:13.466+10:00</updated><title type='text'>Packaging Options?</title><content type='html'>Continuing on with my journey into the world of Solaris...&lt;br /&gt;&lt;br /&gt;A problem has confronted me, namely what to do about packaging. Yes, Solaris 10 comes with it's own packaging system. However, let's be honest, it's not nearly as convenient to use as RPMs are, especially when you need the ability to rebuild packages on demand easily.&lt;br /&gt;&lt;br /&gt;Since the company I work for uses RPMs to manage all of our software installs via an apt-get repository (which works really, really well by the way) now on RedHat Enterprise Linux boxen I wanted something as similar as possible. I first tried to compile the latest RPM source on my own, and discovered that it was disappointingly Linux focused (Linux isn't UNIX folks, please stop using non-portable functions, etc.). Enter &lt;a href="http://www.openpkg.org/"&gt;OpenPKG&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;OpenPKG provides me with a way to migrate our existing software management structure with fairly little pain over to Solaris 10 while retaining all the conveniences and benefits of both binary and source package management. It also makes people happy that might have otherwise been unhappy with my constant push to move from a Linux platform to Solaris 10.&lt;br /&gt;&lt;br /&gt;Some people might think it's rather abhorrent to have multiple packaging systems on their Solaris box, but I don't think so. Especially since this way, I can isolate all the packages or custom versions of common libraries we use into its own directory tree without interfering with SUN's packages in any way and feel safe in the assurance that any changes to my OpenPKG tree won't impact the rest of my system in any permanent fashion.&lt;br /&gt;&lt;br /&gt;Yes, I already considered other solutions such as pkgsrc, pkg-get, and so on. However, none of them really have the elegance or simplicity that I needed for managing a completely custom software repository comprised of both binary and source packages. I am interested in other projects out there that are similar to RPM if they exist. Leave a comment if you know about something I don't...&lt;br /&gt;&lt;br /&gt;Technorati Tag &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111281197672763055?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111281197672763055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111281197672763055' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111281197672763055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111281197672763055'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/04/packaging-options.html' title='Packaging Options?'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111024250981436614</id><published>2005-03-08T11:30:00.000+11:00</published><updated>2005-10-14T08:55:02.423+10:00</updated><title type='text'>Solaris 10: JDS3 UTF-8 Behaviour giving you the blues?</title><content type='html'>&lt;p&gt;Like me, you might be an application developer that has to be setup for a UTF-8 development environment, and needs to run their desktkop and everything in the en_US.UTF-8 locale. I do because I run a apache process under my own user account for my mod_perl development work.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;You probably figured out that to do so you had to set LANG in your .profile or somewhere else. I set LANG=en_US.UTF-8 in /etc/default/init personally. However, once you did that, you were in for a somewhat unpleasant surprise in JDS. Enabling a UTF-8 based locale causes JDS to attempt to be "helpful", and stick a language input selection box at the bottom left hand corner of almost every dialog on your desktop. While that would be awesome if I needed the ability to type special accented characters, or switch languages on the fly, I don't. So for me, it was just a major visual annoyance.&lt;br /&gt;&lt;/p&gt;However, thanks to some users on the &lt;a href="http://groups.yahoo.com/group/solarisx86/"&gt;Solaris x86 Yahoo Groups Mailing List&lt;/a&gt;, a fairly easy solution is at hand. Edit your ~/.dtprofile file and add the following lines at the bottom:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;export XIM="htt"&lt;br /&gt;export GTK_IM_MODULE=iiim&lt;br /&gt;export XMODIFIERS="@im=${XIM}"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, logout and log back in. Voila! No more annoying language selection dialogs everywhere.&lt;br /&gt;&lt;br /&gt;Related Blogs: &lt;a href="http://www.technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111024250981436614?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111024250981436614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111024250981436614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111024250981436614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111024250981436614'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/03/solaris-10-jds3-utf-8-behaviour-giving.html' title='Solaris 10: JDS3 UTF-8 Behaviour giving you the blues?'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-111016228938784600</id><published>2005-03-07T12:40:00.000+11:00</published><updated>2005-10-05T08:43:37.306+10:00</updated><title type='text'>Solaris 10: Tips and Tricks</title><content type='html'>So...I've got that shiny new Solaris 10 installation up and running. But, along the way I've discovered some &lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;incredibly&lt;/span&gt;&lt;/span&gt; annoying things that just bug me to death. In fact, you may have discovered some of the same things:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;Your sound card isn't supported by default&lt;/li&gt;   &lt;li&gt;Your shiny new Gigabit network device isn't supported&lt;/li&gt;   &lt;li&gt;You are not able to use your Home, End, Page Up, or Page Down keys in X Terminal Programs&lt;/li&gt;   &lt;li&gt;There's no nifty little network configuration program to make it easy to setup your network device for DHCP&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;All of those wonderful programs you're used to easily installing via yum, apt-get, portage, etc. seem difficult at best to setup and install&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; What's a person to do?&lt;br /&gt;&lt;br /&gt;Well, fear not gentle reader. I am here to bequeath virtuous Solaris bit salvation to you. All of the above problems are easily solveable, thanks to people like &lt;a href="http://www.cuddletech.com/blog/"&gt;Ben Rockwood&lt;/a&gt;, those on the &lt;a href="http://groups.yahoo.com/group/solarisx86/"&gt;Solaris x86 Yahoo Group Mailing List&lt;/a&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt; and Sun's &lt;a href="http://docs.sun.com/app/docs"&gt;wonderful documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Problem 1 - Sound Card Support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Two options that I know of:&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.tools.de/solaris/audio/"&gt;http://www.tools.de/solaris/audio/&lt;/a&gt;&lt;/li&gt;   &lt;li&gt;&lt;a href="http://www.opensound.com/"&gt;4Front Technologies&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt; The free drivers at the first URL may work for you, or may not. The 4Front Technologies drivers are probably the safest bet, though by default they're nagware until you pay for them (banner message everytime you run 'soundon', no nags beyond that) and you have to manually enable them everytime you boot your system (at the moment anyway). I use them with my SoundBlaster Audigy 2 on my Athlon64 workstation and they're quite a treat (beta status currently). Having been used to the shoddy mixers typically available under X11 desktop environments I was pleasantly surprised at the multi-channel audio support and ossxmix, 4Front's mixing program. Highly recommended.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Problem 2 - Network Device Support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I discovered after installation that Solaris 10 didn't support my Realtek 8169 based Gigabit ethernet adapter on my motherboard. However, after spending some time &lt;a href="http://www.google.com/"&gt;Googling&lt;/a&gt;, I found &lt;span style="font-size:100%;"&gt;Masayuki Murayama's &lt;a href="http://homepage2.nifty.com/mrym3/taiyodo/eng/"&gt;network driver page&lt;/a&gt;. Soon I was enjoying glorious Gigabit ethernet again, and as a plus it works whether you're compiling for a 64-bit kernel or a 32-bit kernel. I should disclaim any usage beyond normal desktop stuff and downloading / uploading files. Workstation level usage only here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Problem 3 - Unable to use Home, End, Page Up, Page Down Keys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This by far was the most annoying, perplexing, and difficult of all to solve. But with some help from users on the &lt;a href="http://groups.yahoo.com/group/solarisx86/"&gt;Solaris x86 Yahoo Group Mailing List&lt;/a&gt; and some perserverance on my part, I finally discovered &lt;a href="http://groups.yahoo.com/group/solarisx86/message/20027"&gt;the solution&lt;/a&gt; (&lt;a href="http://groups.yahoo.com/group/solarisx86/message/19630"&gt;beginning of the thread&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Problem 4 - DHCP Configuration not so nifty&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Setting up DHCP and my own hostname turned out to be pretty easy, even though I'm used to a nifty little text-based configuration program in other *nix-like Operating Systems:&lt;br /&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;touch /etc/dhcp.gani0 (where gani0 is the name of your network device driver plus it's enumeration)&lt;/li&gt;   &lt;li&gt;vi /etc/hostname.gani0 (put whatever you want for a hostname inside of this file and save it)&lt;/li&gt;   &lt;li&gt;reboot (there are other ways to get this to activate, but I'm lazy...)&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-style: italic;"&gt;Problem 5 - How do I install my Favourite Program?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most of your favourite programs can probably be found at &lt;a href="http://www.blastwave.org/"&gt;blastwave&lt;/a&gt;, and are easily installable via a nifty little program called &lt;a href="http://www.blastwave.org/pkg-get.php"&gt;pkg-get&lt;/a&gt; (usage and installation both found at the link).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Where to from here?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to learn more, &lt;a href="http://docs.sun.com/app/docs"&gt;Sun's documentation site&lt;/a&gt;, &lt;a href="http://www.sun.com/bigadmin/"&gt;BigAdmin&lt;/a&gt;, the &lt;a href="http://www.opensolaris.org/"&gt;OpenSolaris site&lt;/a&gt; and &lt;a href="http://www.sun.com/bigadmin/"&gt;&lt;/a&gt;&lt;a href="http://www.sun.drydog.com/"&gt;DryDog&lt;/a&gt; are all great sites to start with. As far as the blog world goes, here's my A-List for Solaris:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.cuddletech.com/blog/"&gt;Ben Rockwood&lt;/a&gt;&lt;/li&gt;   &lt;li&gt;&lt;a href="http://uadmin.blogspot.com/"&gt;Unix Admin Corner&lt;/a&gt;&lt;/li&gt;   &lt;li&gt;&lt;a href="http://blogs.sun.com/"&gt;Sun Blogs&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; Whew. This little blurb has already grown long in the telling, so I'll save the other goodies for another time.&lt;br /&gt;&lt;br /&gt;So long for now...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Related Blogs: &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-111016228938784600?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/111016228938784600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=111016228938784600' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111016228938784600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/111016228938784600'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/03/solaris-10-tips-and-tricks.html' title='Solaris 10: Tips and Tricks'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10593121.post-110764618695058212</id><published>2005-02-06T11:20:00.000+11:00</published><updated>2005-10-17T02:58:21.293+10:00</updated><title type='text'>Solaris 10: The Journey</title><content type='html'>&lt;span style="font-size:100%;"&gt;Recently, it came to my attention that my RedHat Enterprise Linux subscription was about to expire. At the same time, the company I work for has decided they can no longer afford RedHat's overpriced subscriptions. Considering the licensing alone every year is comparable to a good chunk of one of our employee's annual salary. So, I started looking for alternatives.&lt;br /&gt;&lt;br /&gt;From the very beginning I decided there were going to be some key requirements for whatever Operating System I was going to look at as a serious alternative:&lt;br /&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;Flexible Support Options&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;Every dollar counts. Should only have to buy support for the systems that need it (like our Database Servers).&lt;/li&gt;     &lt;li&gt;The ability to buy support based on a reasonable scale from basic support to mission critical.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Flexible Licensing&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;We replace hundreds of packages on whatever Linux distribution we use because of our unique application environment requirements. Now, this is only done for the web servers where the web-based application is executed from. However, having done this it made it absolutely pointless in retrospect to have RHEL subscriptions because we had to roll our own update systems anyway to deal with our package customisations which made our systems unsupported by RedHat.&lt;br /&gt;&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;POSIX Environment&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;Our application is written assuming we're running on a POSIX based system.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;*nix Platform&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;The OS must be a *nix or *nix-like platform. Every since I started using Linux in 1994, I've been convinced that *nix-like Operating Systems are the only way to go when it comes to Servers.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Packaging System&lt;br /&gt;&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;The OS in question must have a native packaging system of some kind or be able to use RPM packages. Our application is currently packaged using RPM.&lt;/li&gt;     &lt;li&gt;The packaging system must be well documented or at the very least a very mature system. (RPM while mature is poorly documented in my opinion, not only because it varies from distribution to distribution in it's implementation and usage).&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Oracle Certified&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;The OS in question must be one of the certified platforms for running Oracle Software.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Seamless support for 32/64-bit platforms&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;Currently my company doesn't have any 64-bit hardware. But, I use an custom-built Athlon64 system as my personal development system, and I know that eventually we will have some servers that are 64-bit capable.&lt;/li&gt;     &lt;li&gt;The OS in question should be able to handle 32-bit and 64-bit applications with equal ease in the same environment.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Reasonable Hardware Support&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;Almost all of the hardware we use in our servers is fairly standard, has full documentation or specifications provided to the public, and is generally manufactured by "Open Source" friendly companies. The OS should support it then.&lt;/li&gt;     &lt;li&gt;The OS in question must also be a viable desktop OS for developers that work on the application.&lt;/li&gt;   &lt;/ul&gt;   &lt;li&gt;Specific Application Support&lt;/li&gt;   &lt;ul&gt;     &lt;li&gt;The following applications should be available for use:&lt;/li&gt;   &lt;/ul&gt;   &lt;ul&gt;     &lt;ul&gt;       &lt;li&gt;perl&lt;/li&gt;       &lt;li&gt;apache2&lt;/li&gt;       &lt;li&gt;mozilla&lt;/li&gt;       &lt;li&gt;Gnome Desktop&lt;br /&gt;&lt;/li&gt;     &lt;/ul&gt;     &lt;li&gt;The following libraries should be available for use:&lt;br /&gt;&lt;/li&gt;     &lt;ul&gt;       &lt;li&gt;Berkeley DB&lt;/li&gt;       &lt;li&gt;gd&lt;/li&gt;       &lt;li&gt;libxml2&lt;/li&gt;       &lt;li&gt;glib&lt;/li&gt;     &lt;/ul&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;span style="font-size:100%;"&gt;So, with those requirements in mind, the vendors that provided a suitable Operating System available to me narrowed considerably:&lt;br /&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;SuSE&lt;/li&gt;   &lt;li&gt;RedHat&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-size:100%;"&gt;But, then I started reading about &lt;a href="http://www.opensolaris.org/"&gt;OpenSolaris&lt;/a&gt;, specifically blog entries like this &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://blogs.sun.com/roller/page/eschrock/20050201#dtrace_and_customer_service"&gt;one&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; about &lt;a href="http://www.sun.com/bigadmin/content/dtrace/"&gt;DTrace&lt;/a&gt;. The more I &lt;a href="http://blogs.sun.com/roller/page/eschrock/20050201#dtrace_and_customer_service"&gt;read about&lt;/a&gt; DTrace and what Solaris was capable of (Zones, Self-Healing mechanisms, ZFS in the future, etc.), the more I wanted to try out Solaris. Then, last night I found &lt;a href="http://users.tpg.com.au/adsln4yb/dtrace.html"&gt;this page&lt;/a&gt; full of all kinds of wondrous things that as a developer I all too often find the need to do. RHEL and SuSE were too expensive, and after finding all of these things it cinched the decision to seriously evalute Solaris.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;So, my journey began...&lt;br /&gt;&lt;br /&gt;I'll post about my experiences installing, plus all the various things I had to do to get my system working as a desktop soon. As well as the things I still haven't yet figured out...&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;Related blogs: &lt;a href="http://technorati.com/tag/Solaris" rel="tag"&gt;Solaris&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10593121-110764618695058212?l=binarycrusader.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarycrusader.blogspot.com/feeds/110764618695058212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10593121&amp;postID=110764618695058212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/110764618695058212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10593121/posts/default/110764618695058212'/><link rel='alternate' type='text/html' href='http://binarycrusader.blogspot.com/2005/02/solaris-10-journey.html' title='Solaris 10: The Journey'/><author><name>Binary Crusader</name><uri>http://www.blogger.com/profile/17915156339129922872</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
