<?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>Shawn Wilsher</title>
	<atom:link href="http://shawnwilsher.com/feed" rel="self" type="application/rss+xml" />
	<link>http://shawnwilsher.com</link>
	<description></description>
	<lastBuildDate>Tue, 02 Mar 2010 04:39:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bluetooth Tethering with the N900 and T-Mobile</title>
		<link>http://shawnwilsher.com/archives/380</link>
		<comments>http://shawnwilsher.com/archives/380#comments</comments>
		<pubDate>Tue, 02 Mar 2010 04:36:08 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Dial-Up Networking]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[JoikuSpot]]></category>
		<category><![CDATA[N900]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=380</guid>
		<description><![CDATA[I&#8217;ve been spending the last few train rides to and from work every day trying to figure out how to tether my N900 to my laptop.  While Firefox Mobile is nice, there are some things my desktop does better.  I first tried using the PC Suite from Nokia, but that wasn&#8217;t successful (it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been spending the last few train rides to and from work every day trying to figure out how to tether my N900 to my laptop.  While <a href="http://www.mozilla.com/en-US/mobile/">Firefox Mobile</a> is nice, there are some things my desktop does better.  I first tried using the <a href="http://www.nokiausa.com/get-support-and-software/software/nokia-suites-for-your-pc">PC Suite from Nokia</a>, but that wasn&#8217;t successful (it apparently doesn&#8217;t support the N900).  I then tried <a href="http://www.joiku.com/index.php?action=products&#038;mode=productDetails&#038;product_id=605">JoikuSpot</a>, which is in beta.  Sadly, I encountered the &#8220;phone reboots when clients connect&#8221; bug.  However, if they fix that, that piece of software looks very promising.  I finally went down the road to Bluetooth Networking.</p>
<p>In order to pull this off, you&#8217;ll need to get a handy little application from the Application Manager.  Under the Network section, look for &#8220;Bluetooth Dial-Up Networking&#8221; in the Extras repository.  After you install that, you will want to restart your device.  Next, pair your N900 with you laptop (this varies per operating system.  I used Windows 7 and these instructions will assume that).  After pairing the device, add a new Dial-Up connection on that modem.  The phone number will be <code>*99#</code> and you will leave the user name and password blank.  Save the connection, but cancel it when it tries to dial (it will fail anyway).  Now, launch the device manager, and find the Bluetooth modem that should have been installed when you paired the N900 to your computer.  Open its properties, and go to the Advanced tab and set the Extra initialization commands to <code>at+cgdcont=1,"IP","epc.tmobile.com"</code>.  After this, you should be able to connect to the Internet though your phone.</p>
<p>To prove that it works, I wrote this on the train, and I&#8217;m posting while still on the train. :P</p>
<p><small>I found <a href="http://wiki.howardforums.com/index.php/Tether_with_Windows_XP">this particular wiki page</a> to very useful in setting this up, but I found translating the instructions to Windows 7 to be a bit difficult at times.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/380/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-02-22</title>
		<link>http://shawnwilsher.com/archives/379</link>
		<comments>http://shawnwilsher.com/archives/379#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:56:49 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-02-22</guid>
		<description><![CDATA[
      
          
            Done: 
Landed bug 461199, but had to back it out due to a performance regression.
Reviewed bug 507414 (async storage statement perf win)
Reviewed bug 482874 (friendly 404 error pages)

          
          
            Ne...]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Landed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a>, but had to back it out due to a performance regression.</li>
<li>Reviewed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507414">bug 507414</a> (async storage statement perf win)</li>
<li>Reviewed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=482874">bug 482874</a> (friendly 404 error pages)</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Sort out performance regression from <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Review <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=546445">bug 546445</a> (async content prefs)</li>
<li>Review <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=540765">bug 540765</a> (async favicon service)</li>
</ul>
          </div>
          <div class="tags">
            <h4 class="posthead">Coordination:</h4> <p>maybe bz for help with dealing with the regression.</p>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/379/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-02-16</title>
		<link>http://shawnwilsher.com/archives/378</link>
		<comments>http://shawnwilsher.com/archives/378#comments</comments>
		<pubDate>Tue, 16 Feb 2010 10:30:45 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-02-16</guid>
		<description><![CDATA[
      
          
            Done: 
Finished bug 542592 (but not yet landed)
Finished bug 542632 (but not yet landed)
Got everything but one remaining issue fixed for bug 461199

          
          
            Next: 
Finish (and I really mean it t...]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Finished <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542592">bug 542592</a> (but not yet landed)</li>
<li>Finished <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542632">bug 542632</a> (but not yet landed)</li>
<li>Got everything but one remaining issue fixed for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Finish (and I really mean it this time) <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Review <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507414">bug 507414</a> (async storage statement perf win)</li>
<li>Review <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=482874">bug 482874</a> (friendly 404 error pages)</li>
</ul>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/378/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-02-05</title>
		<link>http://shawnwilsher.com/archives/377</link>
		<comments>http://shawnwilsher.com/archives/377#comments</comments>
		<pubDate>Fri, 05 Feb 2010 06:18:24 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-02-05</guid>
		<description><![CDATA[
      
          
            Done: 
Work on bug 461199
Work on bug 542592 (learning oh so much about content/)
CMU career fair

          
          
            Next: 
Finish (no, really!) bug 461199and bug 542592

          
      
    ]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Work on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Work on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542592">bug 542592</a> (learning oh so much about content/)</li>
<li>CMU career fair</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Finish (no, really!) <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a>and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542592">bug 542592</a></li>
</ul>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/377/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-02-01</title>
		<link>http://shawnwilsher.com/archives/376</link>
		<comments>http://shawnwilsher.com/archives/376#comments</comments>
		<pubDate>Mon, 01 Feb 2010 11:09:10 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-02-01</guid>
		<description><![CDATA[
      
          
            Done: 
Work on bug 461199

          
          
            Next: 
Work on bug 461199 and a career fair at CMU, so not much is going to get done.

          
          
            Coordination: 
Need review from dbaron ...]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Work on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Work on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a> and a career fair at CMU, so not much is going to get done.</li>
</ul>
          </div>
          <div class="tags">
            <h4 class="posthead">Coordination:</h4> <ul>
<li>Need review from dbaron on <a href="https://bugzilla.mozilla.org/attachment.cgi?id=423681">attachment 423681</a> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a>)</li>
</ul>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/376/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-01-23</title>
		<link>http://shawnwilsher.com/archives/375</link>
		<comments>http://shawnwilsher.com/archives/375#comments</comments>
		<pubDate>Sat, 23 Jan 2010 10:22:18 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-01-23</guid>
		<description><![CDATA[
      
          
            Done: 
Hammered away on getting tests passing on bug 461199
Created &#34;New Tabs at the End&#34; add-on for the support team
Created a control flow diagram of how mozilla::IHistory and mozilla::dom::Link interact to he...]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Hammered away on getting tests passing on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Created <a href="https://addons.mozilla.org/en-US/firefox/addon/61766">&quot;New Tabs at the End&quot;</a> add-on for the support team</li>
<li><a href="https://bugzilla.mozilla.org/attachment.cgi?id=423103">Created a control flow diagram</a> of how mozilla::IHistory and mozilla::dom::Link interact to help other folks understand</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Finish up <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Start working on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=536978">bug 536978</a> (async cookie writing)</li>
<li>Refine <a href="https://wiki.mozilla.org/Firefox/Goals/2010Q1/IO_Reduction_Criteria">IO reduction goal criteria</a> to hit more common tasks</li>
</ul>
          </div>
          <div class="tags">
            <h4 class="posthead">Coordination:</h4> <ul>
<li>Need <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=540896">bug 540896</a> completed by releng before I can complete <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a></li>
<li>Need review from dbaron on <a href="https://bugzilla.mozilla.org/attachment.cgi?id=421905&amp;action=edit">attachment 421905</a> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a>)</li>
<li>Need review from sicking on <a href="https://bugzilla.mozilla.org/attachment.cgi?id=423032&amp;action=edit">attachment 423032</a> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=461199">bug 461199</a>)</li>
</ul>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/375/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-01-15</title>
		<link>http://shawnwilsher.com/archives/374</link>
		<comments>http://shawnwilsher.com/archives/374#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:52:47 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">tag:weeklyupdates.benjamin.smedbergs.us,2009-10-05:sdwilsh:2010-01-15</guid>
		<description><![CDATA[
      
          
            Done: 
Q1 I/O Reduction goal page up and running (https://wiki.mozilla.org/Firefox/Goals/2010Q1/IO_Reduction) with numbers and bugs
Review queue neutralized
Bug 461199 (async visited checks) nearly ready.  Working on fixi...]]></description>
			<content:encoded><![CDATA[
      
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Q1 I/O Reduction goal page up and running (https://wiki.mozilla.org/Firefox/Goals/2010Q1/IO_Reduction) with numbers and bugs</li>
<li>Review queue neutralized</li>
<li>Bug 461199 (async visited checks) nearly ready.  Working on fixing last remaining failing tests.  Two more issues remain to be fixed (other than tests).</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Finish up bug 461199 (bit of a stretch, but we'll see if it can happen)</li>
</ul>
          </div>
      
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/374/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetUtil.jsm Just Got More Useful</title>
		<link>http://shawnwilsher.com/archives/366</link>
		<comments>http://shawnwilsher.com/archives/366#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:21:56 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[asynchronous]]></category>
		<category><![CDATA[NetUtil]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=366</guid>
		<description><![CDATA[Recently, a few bugs have landed enabling a bunch of nice things for consumers of NetUtil.jsm:

NetUtil.newURI can take a string (plus optional character set and base URI) or an nsIFile.
A new method for creating channels has been created.  NetUtil.newChannel can take an nsIURI, a string (plus optional character set and base URI), or an [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=532143" title="NetUtil.newURI should take a string or nsIFile">a</a> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=532146" title="NetUtil.jsm needs a helper for creating new channels">few</a> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=532147" title="NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel">bugs</a> have landed enabling a bunch of nice things for consumers of <tt>NetUtil.jsm</tt>:</p>
<ul>
<li><tt>NetUtil.newURI</tt> can take a string (plus optional character set and base URI) or an <tt>nsIFile</tt>.</li>
<li>A new method for creating channels has been created.  <tt>NetUtil.newChannel</tt> can take an <tt>nsIURI</tt>, a string (plus optional character set and base URI), or an <tt>nsIFile</tt>.</li>
<li><tt>NetUtil.asyncFetch</tt> can take an <tt>nsIChannel</tt>,  an <tt>nsIURI</tt>, a string (plus optional character set and base URI), or an <tt>nsIFile</tt>.</li>
</ul>
<p>This means, among other things, that it now requires less code to read a file asynchronously than it does synchronously.  The old way to do this asynchronously <a href="https://developer.mozilla.org/en/Code_snippets/File_I%2f%2fO#Asynchronously" title="Asynchronously Reading a File">can be seen here on MDC</a>.  This would give the consumer a byte array of the data in the file.  Compared to the synchronous case, which <a href="https://developer.mozilla.org/index.php?title=en/Code_snippets/File_I%2F%2FO#Simple" title="Synchronously Reading a File">can be seen here</a>.  Both are pretty verbose and clunky to use.  The new way looks like this:</p>
<pre><code>
NetUtil.asyncFetch(file, function(aInputStream, aResult) {
  if (!Components.isSuccessCode(aResult)) {
    // Handle Error
    return;
  }
  // Consume input stream
});
</code></pre>
<p>One function call, with a callback passed in.  There is a slight difference from the old asynchronous method, however.  <tt>NetUtil.asyncFetch</tt> gives the consumer an <tt>nsIInputStream</tt> instead of a byte array.  The input stream is a bit more useful than a raw byte array, although it can be painful to use in JavaScript at times (maybe we need an easy method to convert an input stream to a string?).  I look forward to patches using this method to read files instead of doing it synchronously.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/366/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Bugzilla Helper 0.3.0</title>
		<link>http://shawnwilsher.com/archives/364</link>
		<comments>http://shawnwilsher.com/archives/364#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:50:38 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Bugzilla Helper]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=364</guid>
		<description><![CDATA[Version 0.3 of the Bugzilla Helper Add-on for Thunderbird has been released!  Current users will have to update manually since sandboxed add-ons do not automatically update.  New in this version:

Use version 0.3 of the REST API.
Enable spell checking in the comment field.
Allow replying to New: bugmail.
Offline support.

Found a bug?  E-mail me or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://addons.mozilla.org/en-US/thunderbird/addon/45501/">Version 0.3 of the Bugzilla Helper Add-on for Thunderbird has been released</a>!  Current users will have to update manually since sandboxed add-ons do not automatically update.  New in this version:</p>
<ul>
<li>Use version 0.3 of the REST API.</li>
<li>Enable spell checking in the comment field.</li>
<li>Allow replying to New: bugmail.</li>
<li>Offline support.</li>
</ul>
<p>Found a bug?  E-mail me or leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/364/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Raindrop on Dreamhost</title>
		<link>http://shawnwilsher.com/archives/352</link>
		<comments>http://shawnwilsher.com/archives/352#comments</comments>
		<pubDate>Thu, 19 Nov 2009 01:28:36 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[Raindrop]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=352</guid>
		<description><![CDATA[It turns out that installing Raindrop is really hard.  Here&#8217;s what I didtried to get it running on Dreamhost.  Hope it helps anyone else who wants to play around with it, and I hope they can get further than I did.
Directory structure
In my home directory, I created a new folder called opt.
mkdir opt
You&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>It turns out that installing Raindrop is really hard.  Here&#8217;s what I <strike>did</strike>tried to get it running on Dreamhost.  Hope it helps anyone else who wants to play around with it, and I hope they can get further than I did.</p>
<h3>Directory structure</h3>
<p>In my home directory, I created a new folder called opt.<br />
<code>mkdir opt</code><br />
You&#8217;ll also want to add the following lines to your .bashrc file:<br />
<code>export CFLAGS="-I$HOME/opt/include -L$HOME/opt/lib $CFLAGS"<br />
export CXXFLAGS="-I$HOME/opt/include -L$HOME/opt/lib $CXXFLAGS"</code><br />
I also created a sources directory, where I&#8217;ll be putting all of my source files in.<br />
<code>mkdir sources</code><br />
We&#8217;ll want to be in the sources directory as we install everything.<br />
<code>cd sources</code></p>
<h3>Installation Fun</h3>
<h4>Install python</h4>
<p><code>wget http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tgz<br />
tar xvfz Python-2.6.4.tgz<br />
cd Python-2.6.4<br />
./configure --prefix=/home/sdwilsh/opt/<br />
make<br />
make install<br />
</code></p>
<h4>Install OpenSSL</h4>
<p>After you get the source from a mirror and untar it, enter that directory, and run these commands:<br />
<code>./config --prefix=/home/sdwilsh/opt --openssldir=/home/sdwilsh/opt/openssl shared<br />
make<br />
make install</code></p>
<h4>Install Erlang</h4>
<p>Note: I had to bump my memory on my PS up to 304 MB (from 150 MB) in order for this to compile.  I just doubled it, so you may be able to get by with less.  This also takes a while to install.<br />
<code>wget http://erlang.org/download/otp_src_R13B02-1.tar.gz<br />
tar xvfz otp_src_R13B02-1.tar.gz<br />
cd otp_src_R13B02-1<br />
./configure --prefix=/home/sdwilsh/opt/ --with-ssl=/home/sdwilsh/opt/<br />
make<br />
make install</code></p>
<h4>Install ICU</h4>
<p><code>wget http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz<br />
tar xvfz icu4c-4_2_1-src.tgz<br />
cd icu/<br />
chmod +x runConfigureICU configure install-sh<br />
./runConfigureICU Linux --prefix=/home/sdwilsh/opt<br />
make<br />
make check<br />
make install</code></p>
<h4>Install autoconf-2.13</h4>
<p><code>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz<br />
tar xvfz autoconf-2.13.tar.gz<br />
./configure --prefix=/home/sdwilsh/opt/<br />
make<br />
make install</code></p>
<h4>Install Spidermonkey</h4>
<p>Note: You many need to install Mercurial.  I used <tt>easy_install</tt> to do.<br />
<code>hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/<br />
cd mozilla-1.9.2/<br />
hg update -r FIREFOX_3_6b3_RELEASE<br />
cd js/src/<br />
autoconf<br />
mkdir build-release<br />
cd build-release<br />
../configure --prefix=/home/sdwilsh/opt/<br />
make<br />
make install</code></p>
<h4>Install libssh2</h4>
<p><code>wget http://www.libssh2.org/download/libssh2-1.2.2.tar.gz<br />
tar xvfz libssh2-1.2.2.tar.gz<br />
cd libssh2-1.2.2<br />
./configure --prefix=/home/sdwilsh/opt/  --with-openssl<br />
make<br />
make install</code></p>
<h4>Install curl</h4>
<p>After you get the source from a mirror and untar it, enter that directory, and run these commands:<br />
<code>cd curl-7.19.7<br />
./configure --prefix=/home/sdwilsh/opt/ --with-libssh2=/home/sdwilsh/opt --with-ssl=/home/sdwilsh/opt<br />
make<br />
make install</code></p>
<h4>Install couchdb</h4>
<p>After you get the source from a mirror and untar it, enter that directory, and run these commands:<br />
<code>./configure --prefix=/home/sdwilsh/opt/ --with-erlang=/home/sdwilsh/sources/otp_src_R13B02-1/include --with-js-include=/home/sdwilsh/opt/include --with-js-lib=/home/sdwilsh/opt/lib --with-erlang=/home/sdwilsh/opt/lib/erlang/usr/include<br />
make<br />
make install</code><br />
Note: I feel like I may have messed up how I installed erlang given the strange place it put its header files, but I wasn&#8217;t about to recompile it.</p>
<h3>Change Permissions &#038; Run</h3>
<p>CouchDB suggests you create a new user for to run it is, but this is hard to do it seems, so I skipped it.  I did change the permissions, however.<br />
<code>chmod -R 0770 /home/sdwilsh/opt/etc/couchdb<br />
chmod -R 0770 /home/sdwilsh/opt/var/lib/couchdb<br />
chmod -R 0770 /home/sdwilsh/opt/var/log/couchdb<br />
chmod -R 0770 /home/sdwilsh/opt/var/run/couchdb</code></p>
<p>And now to run CouchDB:<br />
<code>couchdb -b</code><br />
Sadly, this was taking something close to 500MB of memory.  This is far to high for my server to sustain, so I haven&#8217;t gotten any further.  If anyone has any ideas, I&#8217;d be glad to hear them.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/352/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.659 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-14 07:08:10 -->
