<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>And now here&#039;s something… &#187; ubuntu</title>
	<atom:link href="http://christiansons.net/mike/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://christiansons.net/mike/blog</link>
	<description>Java, Ant, SVN, Jetty, cygwin and other stuff…</description>
	<lastBuildDate>Fri, 02 Dec 2011 16:53:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Running wview on PowerBook G4</title>
		<link>http://christiansons.net/mike/blog/2011/01/running-wview-on-powerbook-g4/</link>
		<comments>http://christiansons.net/mike/blog/2011/01/running-wview-on-powerbook-g4/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 08:01:40 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[powerpc]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://christiansons.net/mike/blog/?p=615</guid>
		<description><![CDATA[Ever since I set up my Davis Vantage Vue weather station, I&#8217;ve used my Dell Inspiron Mini 1012 to get weather data from my console, into the computer, and out to the Internet. This weekend I decided to see if I could dust off my old 12&#8243; PowerBook G4 and use it for the same <a href='http://christiansons.net/mike/blog/2011/01/running-wview-on-powerbook-g4/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.smugmug.com/photos/1159232851_Y3P2N-Ti.jpg" title="Davis Vantage Vue" class="alignright" width="100" height="100" />Ever since I set up my <a href="http://vantagevue.com/">Davis Vantage Vue</a> weather station, I&#8217;ve used my Dell Inspiron <a href="http://www.dell.com/us/p/inspiron-mini1012/fs">Mini 1012</a> to get weather data from my console, into the computer, and out to the Internet.  This weekend I decided to see if I could dust off my old <a href="http://en.wikipedia.org/wiki/PowerBook_G4#Aluminum_PowerBook_G4">12&#8243; PowerBook G4</a> and use it for the same purpose.</p>
<p><img alt="" src="http://www.smugmug.com/photos/1159226867_QA37y-Ti.jpg" title="12&quot; PowerBook G4" class="alignleft" width="100" height="91" />To complicate matters, I had recently removed OS X 10.4 and installed Ubuntu 10.10 on the PowerBook in an ill-fated attempt to give it new life.  The PowerBook was a great computer in its time but, these days, PowerPC is a dying, if not already dead, architecture.  <span id="more-615"></span>Flash 10?  Not on PowerPC.  Google Chrome?  Nope.  </p>
<p>On the Mini, which ran Windows 7 Starter, I used <a href="http://home.comcast.net/~wuhu_software/">WUHU</a> for data acquisition and upload.  That program worked well, but obviously an x86 PC app just would not do the trick on Linux or a PowerPC.  Some searching led me to <a href="http://www.wviewweather.com">wview</a> which worked on Linux and was capable of running on something like a NSLU2 or plug computer.  It would either be perfect or a perfect mirage.</p>
<p>And then there was the issue of my USB-to-Serial adapter, for connecting the computer to the weather station console.  Who knew if that would work?  </p>
<p>So, there I was with a dead architecture, the wrong OS, a questionable USB adapter and&#8230; well, let&#8217;s just say I wasn&#8217;t very hopeful.  </p>
<p><img alt="" src="http://www.wviewweather.com/wview.png" title="wview" class="alignright" width="100" height="100" />But&#8230; it worked!  Much to my surprise, I was able to get data from my weather station, using wview, through the USB adapter, into the PowerBook, and out to the world.  Here&#8217;s how I did it:</p>
<ol>
<li>Installed <a href="https://wiki.ubuntu.com/PowerPC">Ubuntu 10.10 for PowerPC</a>.</li>
<li>Tested the <a href="http://www.amazon.com/gp/product/B000067VB7?ie=UTF8&#038;tag=wiltblog-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000067VB7">IOgear GUC232A USB-to-Serial Adapter</a> and it worked right out of the box.
<pre>
USB Serial support registered for pl2303
usb 3-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
</pre>
<li>Followed <a href="http://www.wviewweather.com/release-notes/wview-Debian-Quick-Start.html">wview Debian Quick Start Guide</a>.  Downloaded and executed <code>wview-install-debian</code></a>, encountered first problem:
<pre>In file included from ../htmlgenerator/htmlStates.c:36:
./glchart.h:28: fatal error: gd.h: No such file or directory</pre>
</li>
<li>Installed <code>libgd2</code>.

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libgd2-noxpm-dev</pre></div></div>

</li>
<li>Executed <code>wview-install-debian</code> again, encountered second problem:
<pre>
http.h: error: curl/curl.h: No such file or directory
</pre>
</li>
<li>Installed <code>libcurl4</code>.

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libcurl4-openssl-dev</pre></div></div>

</li>
<li>Executed wview-install-debian again; encountered problem; re-ran as

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wview-install-debian <span style="color: #660033;">-f</span></pre></div></div>

</li>
<li>From here out, I followed the <a href="http://www.wviewweather.com/release-notes/wview-User-Manual.html#Configuration">wview user manual for configuration</a>.</li>
</ol>
<div class="wp-caption alignleft" style="width: 310px"><a href="http://christiansons.net/mike/weather/"><img alt="" src="http://christiansons.net/mike/weather/tempdaycomp.png" title="live, daily temperature graph" width="300" height="180" /></a><p class="wp-caption-text">Check it out, it's a live, daily temperature graph.  For reals.</p></div>
<p>Anyway, here&#8217;s my weather page:<br />
<blockquote><a href="http://christiansons.net/mike/weather/"><strong>http://christiansons.net/mike/weather/</strong></a></p></blockquote>
<p>It&#8217;s nice to have brought life back to disused computer; it&#8217;s nice to have my Mini back!</p>
<p>P.S. Not having tried <a href="http://www.wviewweather.com/release-notes/wview-Quick-Start-MacOSX.html">wview on OS X</a>, I can&#8217;t compare the experience or difficulty.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2011/01/running-wview-on-powerbook-g4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Java 6 on Ubuntu 10.04 10.10 and later</title>
		<link>http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/</link>
		<comments>http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 16:17:04 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://christiansons.net/mike/blog/?p=512</guid>
		<description><![CDATA[Post updated 2011 Jan 19: Given the opportunity to install 10.10, I have added different instructions for Ubuntu 10.10 (Maverick Meerkat). Much to my surprise, but probably not those of the Open Source Ruling Class, Sun&#8217;s Java 6 has been removed from the Ubuntu Multiverse. Apparently the Ubuntu folks have started putting some weight behind <a href='http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Post updated 2011 Jan 19</strong>: Given the opportunity to install 10.10, I have added <a href="#1010">different instructions for Ubuntu 10.10</a> (Maverick Meerkat).</em></p>
<p>Much to my surprise, but probably not those of the Open Source Ruling Class, <a href="https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Sun%20Java%20moved%20to%20the%20Partner%20repository">Sun&#8217;s Java 6 has been removed from the Ubuntu Multiverse</a>.  Apparently the Ubuntu folks have started putting some weight behind their recommendations for switching to the &#8220;OpenJDK.&#8221;  Fortunately, the official, &#8220;proprietary&#8221; Java is still available through another Ubuntu repository.</p>
<h2 id="1010">Ubuntu 10.10</h2>
<p>To install Sun&#8217;s Java 6 JDK on Ubuntu 10.10, add the <a href="https://launchpad.net/~sun-java-community-team/+archive/sun-java6">Sun Java6 Community PPA</a> and install: </p>
<pre>
add-apt-repository ppa:sun-java-community-team/sun-java6
apt-get update
apt-get install sun-java6-jdk
update-java-alternatives -s java-6-sun
</pre>
<h2>Ubuntu 10.04</h2>
<p>To make Sun&#8217;s Java 6 JDK available on Ubuntu 10.04 add the new repository like so:</p>
<pre>
add-apt-repository "deb http://archive.canonical.com/ lucid partner"
aptitude update
aptitude install sun-java6-jdk
update-java-alternatives -s java-6-sun
</pre>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Eclipse on Ubuntu without GCJ</title>
		<link>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/</link>
		<comments>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:02:21 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gcj]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christiansons.net/?p=199</guid>
		<description><![CDATA[Software packages from Ubuntu repositories can have some interesting and problematic dependencies. One such example is Ubuntu&#8217;s dependency on GCJ for Ant. Ubuntu&#8217;s Eclipse package also depends on GCJ. If you wish to avoid this dependency, simply download the appropriate binary distribution from the Eclipse download site, extract to the location of your choice, and <a href='http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipse.org/downloads/"><img src="/mike/blog/wp-content/uploads/2009/02/eclipse-150x97.png" alt="eclipse" title="eclipse" width="150" height="97" class="alignright size-thumbnail wp-image-212" /></a>Software packages from Ubuntu repositories can have some interesting and problematic dependencies.  One such example is <a href="http://christiansons.net/2009/01/ant-on-ubuntu-without-gcj/">Ubuntu&#8217;s dependency on GCJ for Ant</a>.</p>
<p>Ubuntu&#8217;s Eclipse package also depends on GCJ.  If you wish to avoid this dependency, simply download the appropriate binary distribution from the <a href="http://www.eclipse.org/downloads/">Eclipse download site</a>, extract to the location of your choice, and run Eclipse.</p>
<p style="border: thin dashed;">Before using Eclipse, be sure you have Sun&#8217;s JRE <a href="http://christiansons.net/2008/11/java-6-update-10-is-available/">installed and configured as the default JRE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant on Ubuntu without GCJ</title>
		<link>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/</link>
		<comments>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 22:23:33 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gcj]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christiansons.net/?p=76</guid>
		<description><![CDATA[You may be surprised to learn Ant requires GCJ when installed through Synaptic or apt on Ubuntu.  GCJ is GNU&#8217;s Java compiler.  When you&#8217;re using Sun&#8217;s JDK and compiler, GCJ can get in the way &#8212; at worst it creates conflicts; at best it causes confusion. Here&#8217;s how I installed Ant on Ubuntu without GCJ. <a href='http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://christiansons.net/mike/blog/wp-content/uploads/2009/01/ant_logo_large.gif"><img class="alignleft size-medium wp-image-88" title="Ant logo" src="/mike/blog/wp-content/uploads/2009/01/ant_logo_large.gif" alt="" width="190" height="120" /></a>You may be surprised to learn <a title="Ant website" href="http://ant.apache.org/">Ant</a> requires GCJ when installed through Synaptic or <tt>apt</tt> on Ubuntu.  GCJ is <a title="GCJ homepage" href="http://gcc.gnu.org/java/">GNU&#8217;s Java compiler</a>.  When you&#8217;re using Sun&#8217;s JDK and compiler, GCJ can get in the way &#8212; at worst it creates conflicts; at best it causes confusion.</p>
<p>Here&#8217;s how I installed Ant on Ubuntu without GCJ.<span id="more-76"></span>  <em>Be sure to check out (easier) alternatives suggested in the <a href="#comments">comments, below</a></em>.</p>
<ol>
<li>Download the current <tt>.tar.bz2</tt> distribution of Ant from <a title="Ant mirror" href="http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/">http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/</a>.</li>
<li>Unpack archive using <tt>tar</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjvf</span> apache-ant-<span style="color: #000000; font-weight: bold;">*</span>-bin.tar.bz2</pre></div></div>

<li>Move the unpacked directory to <tt>/usr/local/ant</tt>.</li>
<li>Change that directory&#8217;s owner to <tt>root</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> root:root <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>ant</pre></div></div>

<li>Add the following lines to <tt>/etc/bash.bashrc</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">ANT_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>ant
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #800000;">${PATH}</span>:<span style="color: #800000;">${ANT_HOME}</span><span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

</ol>
<p>From a new shell, run <tt>ant</tt>.  You should see the following:</p>
<pre>Buildfile: build.xml does not exist!
Build failed</pre>
<p>Yes, it&#8217;s a failure message.  But it means Ant is working as expected.  <img src='http://christiansons.net/mike/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Java 6 Update 10 is available</title>
		<link>http://christiansons.net/mike/blog/2008/11/java-6-update-10-is-available/</link>
		<comments>http://christiansons.net/mike/blog/2008/11/java-6-update-10-is-available/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 05:08:16 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christiansons.net/?p=6</guid>
		<description><![CDATA[Update 2010 Nov 03: Be sure to read my other post about installing Java on Ubuntu 10.04 and 10.10. Java 6 Update 10 (aka Java 6u10) is now available for Linux and other platforms.  Sun has published release notes for this update. I have been using 6u10 with great success since the Ubuntu 8.10 release <a href='http://christiansons.net/mike/blog/2008/11/java-6-update-10-is-available/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update 2010 Nov 03</strong>: Be sure to read my other post about <a href="http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/">installing Java on Ubuntu 10.04 and 10.10</a>.</em></p>
<p><del datetime="2011-01-20T05:28:11+00:00"><a href="http://java.sun.com/javase/6/webnotes/6u10.html">Java 6 Update 10</a> (aka Java 6u10) is now available for Linux and other platforms.  Sun has published <a href="http://java.sun.com/javase/6/webnotes/6u10.html">release notes</a> for this update.</del></p>
<p><del datetime="2011-01-20T05:28:11+00:00">I have been using 6u10 with great success since the Ubuntu 8.10 release candidate became available.  Ubuntu 8.10 users can begin developing with the JDK using a couple simple commands.</del></p>
<p><del datetime="2011-01-20T05:28:11+00:00"><tt>aptitude install sun-java6-jdk &#038;&#038; update-java-alternatives -s java-6-sun</tt></del></p>
<p>Be sure to consider installing other useful Java packages, such as <tt>sun-java6-doc</tt>, along with the JDK.</p>
<pre>aptitude search sun-java6</pre>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2008/11/java-6-update-10-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

