<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>GearheadForHire, LLC</title>
  <subtitle>Internet and Application Software Design Services</subtitle>
  <link href="http://www.gearheadforhire.com/rss" rel="self" />
  <link href="http://www.gearheadforhire.com/" />
  <updated>2010-03-25T13:47:17-04:00</updated>
  <author>
    <name>Robert C. Wahler</name>
    <email>robert@gearheadforhire.com</email>
  </author>
  <id>http://www.gearheadforhire.com/</id>
    <entry>
    <title>Compiling EncFS for Ubuntu 8.04 LTS (Hardy Heron)</title>
    <link href="/articles/ubuntu/compiling-encfs-for-hardy-heron.html" />
    <id>tag:www.gearheadforhire.com,2010-03-25:1269539237</id>
    <updated>2010-03-25T13:47:17-04:00</updated>
    <content type="html">&lt;h3&gt;The Task&lt;/h3&gt;

&lt;p&gt;You are doing user-space filesystem encryption.  You want to use a more recent
version of EncFS than the one provided in the Ubuntu 8.04 repositories. No problem,
just compile one yourself.&lt;/p&gt;

&lt;h3&gt;The Problem&lt;/h3&gt;

&lt;p&gt;The most recent version in the EncFS will not compile on Ubuntu 8.04.  Version
r53 12/7/09 configure.ac breaks with:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;checking whether xattr interface takes additional options... no
./configure: line 24466: syntax error near unexpected token 'newline'
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This issue has been reported to the EncFS maintainer, in the interim, you can
compile a fairly recent version by following the steps below.&lt;/p&gt;

&lt;h3&gt;Reference Links&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.arg0.net/encfs&quot;&gt;http://www.arg0.net/encfs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://code.google.com/p/encfs/source/checkout&quot;&gt;http://code.google.com/p/encfs/source/checkout&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;Preparation&lt;/h3&gt;

&lt;p&gt;Get the build tools&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo apt-get install build-essential autoconf automake1.9 libtool gettext \
                     cvs pkg-config
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Verify the kernel has FUSE support&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cat /proc/filesystems | grep fuse
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;you should see something like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;nodev   fuse
        fuseblk
nodev   fusectl
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install EncFS dependencies&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo apt-get install libboost-dev libboost-filesystem-dev \
                     libboost-serialization-dev libfuse-dev \
                     fuse-utils librlog-dev libssl-dev
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Building&lt;/h3&gt;

&lt;p&gt;Build version SVN r50 (f97ae2780) by pulling down with git and checking out the
most recent version that will compile on Ubuntu 8.04&lt;/p&gt;

&lt;div class=&quot;UltraViolet&quot;&gt;
&lt;pre class=&quot;dawn&quot;&gt;    cd ~/src

    git-svn clone --no-metadata  &lt;span class=&quot;MarkupUnderline&quot;&gt;http://encfs.googlecode.com/svn/trunk&lt;/span&gt; encfs
    cd encfs
    git checkout -b work_around_build f97ae2780

    autoreconf -if
    ./configure
    make
    sudo make prefix=/usr install
&lt;/pre&gt;
&lt;/div&gt;


&lt;p&gt;Done!&lt;/p&gt;
</content>
  </entry>
</feed>
