<?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>/home/\/\ick</title>
	<atom:link href="http://timony.com/mickzblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://timony.com/mickzblog</link>
	<description>Things that interest me.</description>
	<lastBuildDate>Sun, 14 Feb 2010 22:41:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel="next" href="http://timony.com/mickzblog/feed/?page=2" />

		<item>
		<title>Wp-Supercache &amp; Wp-mobile plugin</title>
		<link>http://timony.com/mickzblog/2010/02/14/wp-supercache-wp-mobile-plugin/</link>
		<comments>http://timony.com/mickzblog/2010/02/14/wp-supercache-wp-mobile-plugin/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 22:18:20 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-cache]]></category>
		<category><![CDATA[wp-mobile]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=729</guid>
		<description><![CDATA[Recently I updated the wp-supercache plugin. It&#8217;s a plugin for Wordpress which is the blogging software that runs this site. Wp-supercache is used to cache pages and is very useful if this blog should happen to get Slashdotted. 
Wp-supercache now supports the wp-mobile plugin. What isn&#8217;t obvious from the wp-supercache settings is that you need [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I updated the wp-supercache plugin. It&#8217;s a plugin for Wordpress which is the blogging software that runs this site. Wp-supercache is used to cache pages and is very useful if this blog should happen to get <a href="http://en.wikipedia.org/wiki/Slashdot_effect">Slashdotted</a>. </p>
<p><a href="http://ocaoimh.ie/go-mobile-with-supercache/">Wp-supercache </a>now supports the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-edition/">wp-mobile</a> plugin. What isn&#8217;t obvious from the wp-supercache settings is that you need to install the wp-mobile plugin. Get it at http://wordpress.org/extend/plugins/wordpress-mobile-edition/ unzip it, and then read the included README.txt to configure it properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2010/02/14/wp-supercache-wp-mobile-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://timony.com/mickzblog/2010/01/22/725/</link>
		<comments>http://timony.com/mickzblog/2010/01/22/725/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 01:32:22 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=725</guid>
		<description><![CDATA[Cool new album due out from David Byrne &#38; Fat Boy Slim. Here&#8217;s a preview featuring a Santigold song

See David Byrne&#8217;s site for more details.
]]></description>
			<content:encoded><![CDATA[<p>Cool new album due out from <a href="http://www.davidbyrne.com">David Byrne</a> &amp; <a href="http://www.fatboyslim.net/">Fat Boy Slim.</a> Here&#8217;s a preview featuring a <a href="http://en.wikipedia.org/wiki/Santigold">Santigold</a> song</p>
<p><object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/jbEV9hqQ7WM&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/jbEV9hqQ7WM&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object></p>
<p>See <a href="http://www.davidbyrne.com/here_lies_love/index.php">David Byrne&#8217;s site</a> for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2010/01/22/725/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Oracle SQL Developer on Ubuntu Karmic</title>
		<link>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/</link>
		<comments>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 20:40:48 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql developer]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=708</guid>
		<description><![CDATA[If you want to install Oracle&#8217;s SQL Developer on Ubuntu (or another DEB based system such as Debian) you can do one of the following:

Download the RPM package and install using rpm (not advisable).
Download the RPM package and convert to a DEB package using alien
Download the ZIP file titled &#8220;Oracle SQL Developer for other platforms&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to install Oracle&#8217;s <a title="Oracle's SQL Developer" href="http://www.oracle.com/technology/software/products/sql/index.html">SQL Developer</a> on Ubuntu (or another DEB based system such as Debian) you can do one of the following:</p>
<ol>
<li>Download the RPM package and install using rpm (not advisable).</li>
<li>Download the RPM package and convert to a DEB package using alien</li>
<li>Download the ZIP file titled &#8220;Oracle SQL Developer for other platforms&#8221; and manually install</li>
<li>Use the make-sqldeveloper-package to convert the ZIP file into a DEB package</li>
</ol>
<p>I used the make-sqldeveloper-package, which is available for Debian and Ubuntu and it&#8217;s derivatives. However, the man page and the instructions are little unclear on how to use it. You need to download the zip file available at <a href="http://www.oracle.com/technology/software/products/sql/index.html">Oracle&#8217;s</a> (and not the RPM file nor any of the other packages) and then use the make-sqldeveloper-package to convert it to a DEB which you can then install using the dpkg command.</p>
<p>This is preferable to using rpm or alien as you can more easily manage the package using Debian&#8217;s and Ubuntu package management tools, plus it will integrate SQL Developer into Gnome&#8217;s Menu System . Plus, when Oracle updates their version you can use make-sqldeveloper-package to create an updated DEB package and easily update the version you have installed. The procedure outlined below works on Ubuntu Karmic and should also work on any Debian version that has the make-sqldeveloper-package.</p>
<p>As the man page states:</p>
<blockquote><p>This utility will require you to download the &#8220;Oracle  SQL  Developer  for  other  platforms&#8221;  archive  from  &lt;<a href="http://otn.oracle.com/software/prod‐ucts/sql/">http://otn.oracle.com/software/prod‐ucts/sql/</a>&gt; to create the Debian package from.</p></blockquote>
<h4>1. Download the ZIP file from Oracle&#8217;s site</h4>
<p>You will need to accept Oracle&#8217;s license agreement and download the ZIP file, titled &#8220;Oracle SQL Developer for other platforms&#8221;, from:</p>
<p><a href="http://www.oracle.com/technology/software/products/sql/index.html">http://www.oracle.com/technology/software/products/sql/index.html</a></p>
<h4>2. Install the make-sqldeveloper-package package</h4>
<p style="padding-left: 30px;">sudo apt-get install sqldeveloper-package</p>
<p>You will need Ubuntu&#8217;s <a title="Ubuntu software repositorys" href="http://www.ubuntu.com/community/ubuntustory/components">multiverse</a> software repository. See the <a href="https://help.ubuntu.com/community/Repositories/Ubuntu">instructions</a> on how to do so.</p>
<h4>3. Convert the ZIP file to .DEB package</h4>
<p>The format of the command is:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b BUILD_LOCATION LOCATION_OF_ZIP_FILE</p>
<p>In my example, I&#8217;m going to use /tmp/ORA as the build location and the ZIP file has been download to my Desktop (~Desktop).</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b /tmp/ORA/ ~/Desktop/sqldeveloper-2.1.0.63.73-no-jre.zip</p>
<p>The command will create the build directory and remove it when the command finishes. If the command completes successfully you&#8217;ll see the following output after a minute or two:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package: Building sqldeveloper package in &#8220;/tmp&#8221;.</p>
<p>The DEB file will be created in the current directory. In my example I had changed directories to /tmp and that&#8217;s where the DEB file will be:</p>
<p style="padding-left: 30px;">/tmp/sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<p>See the man page for more information about the tool:</p>
<p style="padding-left: 30px;">man make-sqldeveloper-package</p>
<h4>4. Install the package</h4>
<p style="padding-left: 30px;">sudo dpkg -i sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<h4>5. Run SQL Developer</h4>
<p>After installing there should he an entry in Gnome&#8217;s menu to start the SQL Developer. It&#8217;s located under:</p>
<p style="padding-left: 30px;"><strong>Applications-&gt;Programming-&gt;SQL Developer</strong></p>
<p><em>Note</em>: You will need a JVM installed for the tool to run.</p>
<p>Obligatory Screen Shot:</p>
<div id="attachment_719" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-719" href="http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/sqldeveloper_screenshot-2/"><img class="size-medium wp-image-719" title="Oracle SQL Developer on Ubuntu" src="http://timony.com/mickzblog/wp-content/uploads/2010/01/sqldeveloper_screenshot1-300x248.jpg" alt="" width="300" height="248" /></a><p class="wp-caption-text">Oracle SQL Developer</p></div>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems installing MySQL on Ubuntu Intrepid?</title>
		<link>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/</link>
		<comments>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 04:23:27 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=607</guid>
		<description><![CDATA[Remove mysql-common .
]]></description>
			<content:encoded><![CDATA[<p>Remove mysql-common .</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got home</title>
		<link>http://timony.com/mickzblog/2009/11/17/got-home/</link>
		<comments>http://timony.com/mickzblog/2009/11/17/got-home/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 23:50:37 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Boston]]></category>
		<category><![CDATA[Donegal]]></category>
		<category><![CDATA[Ireland]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[aer lingus]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[mick]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/2009/11/17/got-home/</guid>
		<description><![CDATA[Just back from a trip home to Ireland and am pooped. Got up at 6am (1am EST) and drove up to Dublin Airport from Donegal Town via Omagh. Got there about 10.30am, would have been earlier but the car was running on fumes and I had to stop for petrol. As I was whizzing down [...]]]></description>
			<content:encoded><![CDATA[<p>Just back from a trip home to Ireland and am pooped. Got up at 6am (1am EST) and drove up to Dublin Airport from Donegal Town via Omagh. Got there about 10.30am, would have been earlier but the car was running on fumes and I had to stop for petrol. As I was whizzing down the M1, my cousin John, whom I gave a lift to the airport, said there&#8217;s no services on that motorway. Which lead us on a 30 minute detour trying to find some petrol pumps in the wastes of Louth! <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Got to the airport at 10.30am, dropped off the car, had a ciggie, met my friend Eamon L. who dropped out to see me off and had a nice big (expensive) breakfast before going through security. Had 3 jumbo sausages, 2 rashers, 2 slices of thick toast, 1 egg, 1 hash brown, 1/2 a fried tomato, and numerous backed beans.:) A good end to a long drive, and a nice fill-up before a long flight.</p>
<p>On the plane I got 2 seats to meself and dosed off for about 2 hours or more after they served &#8220;dinner&#8221;. Woke up somewhere over the Canadian north and got to watch the lame ending to the last Harry Blouter film.</p>
<p>At Logan (Boston&#8217;s airport), I got through everything quickly, and didn&#8217;t have to wait too long for a shuttle bus to the blue line on the subway. And it wasn&#8217;t too busy considering it was rush hour. I guess most of the commuters were heading the other way. I changed Gov Center for the Green Line that goes near the house, and lucky enough I got a local train going to Kenmore (never seen one of those before) which was nice and quiet and not full of rush-hour nasties. And got home in time to see the sunset.</p>
<p>So now I&#8217;m pooped, as it&#8217;s 11:45pm Irish Time, and I need dinner &#8230; pics will appear on Flickr at some point.</p>
<p style="text-align: left;">Update: Here&#8217;s one! <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a title="Backstrands by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/4294144861/"><img class="aligncenter" src="http://farm3.static.flickr.com/2788/4294144861_de16f8b726_m.jpg" alt="Backstrands" width="240" height="180" /></a>More via this Flickr <a href="http://www.flickr.com/search/?ss=2&amp;w=40092103%40N00&amp;q=ireland+2009&amp;m=text">search</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/11/17/got-home/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Compiling EIGENSOFT on Ubuntu Januty</title>
		<link>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/</link>
		<comments>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 05:34:18 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fortran]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[chemical computing]]></category>
		<category><![CDATA[EIGENSOFT]]></category>
		<category><![CDATA[EIGENSTRAT]]></category>
		<category><![CDATA[example.perl]]></category>
		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=665</guid>
		<description><![CDATA[These are rough notes on how to compile Eigensoft on Ubuntu Jaunty.
Create a location to build the code:
Warning: /tmp is for temporary files, and any files &#38; directories you create there will be remove upon some subsequent reboot.
cd /tmp;
mkdir EIGEN;
cd  EIGEN;
Get the Eigensoft source code:
wget  http://www.hsph.harvard.edu/faculty/alkes-price/files/EIG3.0.tar.gz;
tar xzvf EIG3.0.tar.gz;
Install required dependences:
sudo apt-get install f2c libg2c0 libatlas-base-dev [...]]]></description>
			<content:encoded><![CDATA[<p>These are rough notes on how to compile <a href="http://genepath.med.harvard.edu/~reich/Software.htm">Eigensoft</a> on Ubuntu Jaunty.</p>
<p><strong>Create a location to build the code:</strong></p>
<p><em>Warning:</em> /tmp is for temporary files, and any files &amp; directories you create there will be remove upon some subsequent reboot.</p>
<pre>cd /tmp;</pre>
<pre>mkdir EIGEN;</pre>
<pre>cd  EIGEN;</pre>
<p><strong>Get the Eigensoft source code:</strong></p>
<pre>wget  http://www.hsph.harvard.edu/faculty/alkes-price/files/EIG3.0.tar.gz;</pre>
<pre>tar xzvf EIG3.0.tar.gz;</pre>
<p><strong>Install required dependences:<span id="more-665"></span></strong></p>
<pre>sudo apt-get install f2c libg2c0 libatlas-base-dev liblapack-dev;</pre>
<p>This symbolic link is needed as the Makefile links looks for the static version of the library and not the shared version (correct me if I&#8217;m wrong, it&#8217;s late at night and I could be mistaken):</p>
<pre>sudo ln -s /usr/lib/libg2c.so.0 /usr/lib/libg2c.so;</pre>
<p><strong>Build the code:</strong></p>
<pre>cd /tmp/EIGEN;</pre>
<pre>cd src;</pre>
<p><strong>Create a backup copy of the Makefile:</strong></p>
<pre>cp Makefile  Makefile.org;</pre>
<p><strong>Edit the Makefile:</strong></p>
<pre>emacs -nw Makefile;</pre>
<p><em>Change this line (line 24):</em></p>
<p>FF=g77</p>
<p>To read as:</p>
<p>FF=&#8221;gfortran -std-legacy&#8221;</p>
<p>This is needed as the g77 fortran compiler is not longer included with Ubuntu, but you can use the gfortan compiler instead, but you must run it in legacy mode.</p>
<p><strong>Run make:</strong></p>
<pre>make eigenstrat;</pre>
<p>This next step is essential, because binaries are included in the bin directory that appear to have been build against a 64-bit kernel and are probably artefact&#8217;s left over from when the author was testing his code. Also, running &#8220;make clean&#8221; does not remove the binaries in the bin directory, but does remove those build in the src directory.</p>
<pre>make install;</pre>
<p>And that should be it run the example.perl in the EIGENSTRAT directory and you should see output like this:</p>
<p style="padding-left: 30px;"><em>./example.perl<br />
smartpca.perl -i example.geno  -a example.snp  -b example.ind  -k 2  -o example.pca  -p example.plot  -e example.eval  -l example.log  -m 5  -t 2  -s 6.0<br />
smartpca -p example.pca.par &gt;example.log<br />
ploteig -i example.pca.evec -c 1:2  -p Case:Control  -x  -y  -o example.plot.xtxt<br />
evec2pca.perl 2 example.pca.evec example.ind example.pca<br />
smarteigenstrat.perl  -i example.geno  -a example.snp  -b example.ind  -p example.pca  -k 1  -o example.chisq  -l example.log<br />
smarteigenstrat -p example.chisq.par &gt;example.loggc.perl example.chisq example.chisq.GC</em></p>
<p>If you run into problems running and compiling the code, the README suggests running the following:</p>
<pre>make pcatoy;</pre>
<p>And, as per the README, contact your sys admin if it doesn&#8217;t work. <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Compiling Osra on Ubuntu Jaunty</title>
		<link>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/</link>
		<comments>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 14:30:06 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Cplusplus]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gocr]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[ocrad]]></category>
		<category><![CDATA[openbabel]]></category>
		<category><![CDATA[osra]]></category>
		<category><![CDATA[potrace]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=646</guid>
		<description><![CDATA[This is a brief HOWTO on compiling OSRA, (Optical Structure Recognition) on Ubuntu Jaunty. To quote the OSRA home page, OSRA is
&#8230; is a utility designed to convert graphical representations of chemical structures, as they appear in journal articles, patent documents, textbooks, trade magazines etc., into SMILES (Simplified Molecular Input Line Entry Specification &#8211; see [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brief HOWTO on compiling <a title="OSRA Home Page" href="http://cactus.nci.nih.gov/osra/">OSRA</a>, (Optical Structure Recognition) on Ubuntu Jaunty. To quote the OSRA home page, OSRA is</p>
<blockquote><p>&#8230; is a utility designed to convert graphical representations of chemical structures, as they appear in journal articles, patent documents, textbooks, trade magazines etc., into SMILES (Simplified Molecular Input Line Entry Specification &#8211; see <a href="http://en.wikipedia.org/wiki/SMILES"> http://en.wikipedia.org/wiki/SMILES</a>) or SD file &#8211;  a computer recognizable molecular structure format.  OSRA can read a document  in any of the over 90 graphical formats parseable by ImageMagick &#8211; including  GIF, JPEG, PNG, TIFF, PDF, PS etc., and generate the SMILES or SDF representation of the molecular structure images encountered within that document &#8230;</p></blockquote>
<p><strong>Make a directory to compile the source:</strong></p>
<p><em>mkdir /tmp/OSRA; cd /tmp/OSRA;</em></p>
<p>Be careful doing this in /tmp is cleaned upon reboot the directory may be removed.</p>
<p><strong>Install dependencies needed by the OS:</strong></p>
<p><em>sudo apt-get install libgraphicsmagick1-dev libmagick++-dev libgraphicsmagick++1-dev potrace gocr  libtclap-dev libopenbabel-dev libopenbabel3 openbabel libnetpbm10 libnetpbm10-dev</em></p>
<p>Don&#8217;t install ocrad and remove it if it&#8217;s on your system (you can probably reinstall if you need to after you get Osra to compile):<br />
<em> sudo apt-get remove &#8211;purge ocrad;</em></p>
<p><strong>Source Code:</strong></p>
<p>Instead of manually getting the source packages download the sources used to build the packages for Ubuntu if available.  Make sure the src lines are commented in, in your /etc/apt/sources.list . This will automatically download and extract the code into the current directory:</p>
<p><em>cd /tmp/OSRA; apt-get source gocr ocrad potrace;</em></p>
<p>This downloads Gocr 0.46 which the OSRA docs say may not work:</p>
<blockquote><p>- GOCR/JOCR, optical character recognition library, version 0.43 or later (version 0.45 recommended, do not use 0.46! See special instructions for 0.47 compilation below)<span id="more-646"></span></p></blockquote>
<p><strong>Get the Osra Source and extract it</strong></p>
<p><em>cd /tmp/OSRA;</em></p>
<p><em>wget http://cactus.nci.nih.gov/osra/osra-1.2.1.tgz;</em></p>
<p><em>tar xzvf osra-1.2.1.tgz</em></p>
<p><em>cd /tmp/OSRA2/osra-1.2.1;</em></p>
<p><strong>Make a backup copy of the OSRA Makefile:</strong></p>
<p><em>cp Makefile Makefile.bak;</em></p>
<p><strong>Edit the Makefile<br />
</strong></p>
<p>Change the following lines:</p>
<p><em>GOCR=../gocr-0.45/</em><br />
to<br />
<em> GOCR=../gocr-0.46/</em></p>
<p><em>OPENBABEL=/usr/local/</em><br />
to<br />
<em>OPENBABEL=/usr/</em></p>
<p><em>TCLAPINC=-I/usr/local/include/tclap/</em><br />
to<br />
<em>TCLAPINC=-I/usr/include/tclap/</em></p>
<p><em>GOCR=../gocr-0.46/</em><br />
to<br />
<em>GOCR=../gocr-0.45/</em></p>
<p><strong>Compiling</strong></p>
<p>Compile, but don&#8217;t install the potrace source:<br />
<em>cd /tmp/OSRA/potrace-1.8;<br />
./configure;<br />
make;</em></p>
<p>Compile the OSRA source:<br />
<em>cd /tmp/OSRA/osra-1.2.1;<br />
make;</em></p>
<p>This produces a working OSRA binary:</p>
<p><em>./osra<br />
./osra  [-f &lt;can/smi/sdf&gt;] [-g] [-p] [-s &lt;dimensions, 300x400&gt;] [-n] [-r<br />
&lt;default: auto&gt;] [-o &lt;filename prefix&gt;] [-t &lt;0.2..0.8&gt;] [--]<br />
[--version] [-h] &lt;filename&gt;</em></p>
<p>Now I just need a file to test it against to see if it will run correctly.</p>
<p>If you want to build with Gocr 0.47 this step is required:<br />
<em>cd /tmp/OSRA/gocr-0.47;<br />
./configure CPPFLAGS=-fPIC LDFLAGS=-fPIC;<br />
make libs;<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype Sound Config on T400 running Ubuntu</title>
		<link>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/</link>
		<comments>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:57:53 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulse audio]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[t400]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=612</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-613" href="http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/skype_sound_config_micks_t400/"><img class="aligncenter size-medium wp-image-613" title="Skype Sound Config" src="http://timony.com/mickzblog/wp-content/uploads/2009/06/skype_sound_config_micks_t400-300x199.jpg" alt="Skype Sound Config" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4th of July Fireworks!</title>
		<link>http://timony.com/mickzblog/2009/06/28/4th-of-july-fireworks/</link>
		<comments>http://timony.com/mickzblog/2009/06/28/4th-of-july-fireworks/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 20:39:38 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Boston]]></category>
		<category><![CDATA[Cambridge]]></category>
		<category><![CDATA[adriondack]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[canda lake]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[harvard bridge]]></category>
		<category><![CDATA[independence day]]></category>
		<category><![CDATA[july 4th]]></category>
		<category><![CDATA[mass ave bridge]]></category>
		<category><![CDATA[pics]]></category>
		<category><![CDATA[smoot]]></category>
		<category><![CDATA[summer]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=641</guid>
		<description><![CDATA[I won&#8217;t be in Boston for the fireworks show on July 4th. But if you show up at the last minute to see the fireworks, they start at 10.30pm, you can head onto to Harvard Bridge, commonly know as Mass Ave Bridge and get some decent view of the fireworks.
The last time I watched the [...]]]></description>
			<content:encoded><![CDATA[<p>I won&#8217;t be in Boston for the fireworks show on July 4th. But if you show up at the last minute to see the fireworks, <a href="http://www.july4th.org/concert.htm">they start at 10.30pm</a>, you can head onto to <a title="Harvard Bridge AKA Mass Ave Bridge" href="http://en.wikipedia.org/wiki/Harvard_Bridge">Harvard Bridge</a>, commonly know as Mass Ave Bridge and get some decent view of the fireworks.</p>
<p>The last time I watched the fireworks from the bridge was in 2007, and I was near the middle at the 200 <a href="http://en.wikipedia.org/wiki/Smoot">smoot</a> mark:<br />
<a title="200 Smoots! by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/722118659/"><img class="aligncenter" src="http://farm2.static.flickr.com/1055/722118659_11c2db810a.jpg" alt="200 Smoots!" width="500" height="375" /></a></p>
<p>The views of the fireworks was quite good, not as good as being on the river banks. Considering you could show up 5 minutes before the start of the display instead of 12 hours before is a good tradeoff in viewing quality. <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-641"></span></p>
<p style="text-align: center;"><a title="Boston 4th of July fireworks. by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/722809404/"><img class="aligncenter" src="http://farm2.static.flickr.com/1371/722809404_01f0ffe1a5.jpg" alt="Boston 4th of July fireworks." width="375" height="500" /></a></p>
<p>And the finale:</p>
<p style="text-align: center;"><a title="Boston 4th July Fireworks by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/722069023/"><img class="aligncenter" src="http://farm2.static.flickr.com/1215/722069023_283003c9bc.jpg" alt="Boston 4th July Fireworks" width="375" height="500" /></a></p>
<p>This year, like last year, I&#8217;ll be up in the Adirondacks where the fireworks aren&#8217;t quite as spectacular, but still has it&#8217;s own charm and a sense of tranquility that you don&#8217;t get in the city. <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="4th of July by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/2678464031/"><img class="aligncenter" src="http://farm4.static.flickr.com/3038/2678464031_680969cec3.jpg" alt="4th of July" width="500" height="375" /></a></p>
<p><a title="Fireworks on the Lake by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/2683256179/"><img class="aligncenter" src="http://farm4.static.flickr.com/3275/2683256179_0a45c38d5e.jpg" alt="Fireworks on the Lake" width="500" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/06/28/4th-of-july-fireworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The View</title>
		<link>http://timony.com/mickzblog/2009/06/06/the-view/</link>
		<comments>http://timony.com/mickzblog/2009/06/06/the-view/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 18:31:51 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Boston]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=609</guid>
		<description><![CDATA[The view from my desk at my new job isn&#8217;t bad:

Much better than looking at the tweed walls of the cube in the cube farm of my old workplace. And, non-Donegal Tweed at that, sure even the Donegal Tweed is now made in Morocco, and the only native Donegal Tweed is made by artisans.
]]></description>
			<content:encoded><![CDATA[<p>The view from my desk at my new job isn&#8217;t bad:</p>
<p style="text-align: center;"><a title="BU, The Charles River, MIT by bettlebrox, on Flickr" href="http://www.flickr.com/photos/timony/3596584593/"><img class="aligncenter" src="http://farm3.static.flickr.com/2426/3596584593_03f3bb15f4.jpg" alt="BU, The Charles River, MIT" width="375" height="500" /></a></p>
<p>Much better than looking at the tweed walls of the cube in the cube farm of my old workplace. And, non-Donegal Tweed at that, sure even the <a href="http://www.mageedonegal.com/">Donegal Tweed</a> is now made in Morocco, and the only native Donegal Tweed is made by <a href="http://www.donegalcraftvillage.com/weaving.html">artisans</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/06/06/the-view/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 3.817 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-14 18:41:46 -->
