<?xml version='1.0' encoding='utf-8' ?>
<rss version='2.0' xmlns:dc='http://purl.org/dc/elements/1.1/'>
  <channel>
    <title>Wolfmans Howlings: Getting beagle compiled on KUbuntu 6.10 edgy</title>
    <link>http://blog.wolfman.com/articles/2007/2/3/getting-beagle-compiled-on-kubuntu-6-10-edgy</link>
    <description>A programmers Blog about Ruby, Rails and a few other issue</description>
    <language>en-us</language>
    <ttl>40</ttl>
    <item>
      <title>Getting beagle compiled on KUbuntu 6.10 edgy</title>
      <description>
        &lt;p&gt;The version of beagle available as a standard package with Ubuntu
        Edgy 6.10, is horribly buggy and uses a lot of memory (2Gbytes on my
        machine).&lt;/p&gt;
        
        &lt;p&gt;I wanted to build the latest version of Beagle (0.2.15.1) on my system which is
        actually KUbuntu, and this required a lot of effort! I had to install
        a bunch of added support libraries for gtk which do not appear to be
        installed by default on KUbuntu. I downloaded the latest source from
        &lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/beagle/0.2/&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
        
        &lt;p&gt;Here is a list of what I installed using &lt;code&gt;sudo aptitude install&lt;/code&gt; many are suggested
        &lt;a href=&quot;http://beagle-project.org/Ubuntu_Installation&quot;&gt;here&lt;/a&gt; the rest I
        discovered by trial and error.&lt;/p&gt;
        
        &lt;pre&gt;&lt;code&gt;libmono-sharpzip2.84-cil
        mono 
        mono-devel
        libmono-dev
        libgdiplus
        libxml-parser-perl
        libsqlite0
        libsqlite0-dev
        libexif12
        libexif-dev
        shared-mime-info
        libgmime2
        libgmime2-dev
        gtk-sharp2
        libgmime1
        libgmime-2.0-2-dev
        libgmime2.2-cil
        libbeagle0
        libmono-sqlite1.0-cil
        mono-gmcs
        mono-classlib-2.0
        gnome-vfs-extfs
        libgnome-vfs-dev
        libxml2-dev
        libgconf2-dev
        libbonobo2-dev
        libbz2-dev
        fam
        libfam-dev
        libgnomevfs2-dev
        libgnome2-dev
        libgtk2.0-dev
        librsvg2-dev
        python-gtk2-dev
        gnome-sharp2 
        gtk-sharp
        &lt;/code&gt;&lt;/pre&gt;
        
        &lt;p&gt;It turned out that the installed version of mono is not high enough to build the
        latest version of beagle, so I installed the latest version of mono
        manually into /opt/mono. You can get it
        &lt;a href=&quot;http://mono-project.com/Downloads&quot;&gt;here&lt;/a&gt;, I got the Generic Mono 1.2.2.1_1 Linux
        installer from
        &lt;a href=&quot;ftp://www.go-mono.com/archive/1.2.2.1/linux-installer/1/mono-1.2.2.1_1-installer.bin&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
        
        &lt;p&gt;To use this the following exports need to be done, usually in ~/.bashrc&lt;/p&gt;
        
        &lt;pre&gt;&lt;code&gt;export GTK2_RC_FILES=$HOME/.gtkrc-2.0
        export PATH=&quot;/opt/mono/mono-1.2.2.1/bin:$PATH&quot;
        export PKG_CONFIG_PATH=&quot;/opt/mono/mono-1.2.2.1/lib/pkgconfig:$PKG_CONFIG_PATH&quot;
        export MANPATH=&quot;/opt/mono/mono-1.2.2.1/share/man:$MANPATH&quot;
        export LD_LIBRARY_PATH=&quot;/opt/mono/mono-1.2.2.1/lib:$LD_LIBRARY_PATH&quot;
        &lt;/code&gt;&lt;/pre&gt;
        
        &lt;p&gt;Additionally I needed to do this...&lt;/p&gt;
        
        &lt;pre&gt;&lt;code&gt;export MONO_PATH=/opt/mono/mono-1.2.2.1/lib/:/opt/mono/mono-1.2.2.1/lib/mono/gtk-sharp-2.0:/usr/lib/cli/gmime-sharp-2.2:/usr/lib/cli/gsf-sharp-0.0
        &lt;/code&gt;&lt;/pre&gt;
        
        &lt;p&gt;when I got a bunch of build errors, and run errors, presumably from mono.&lt;/p&gt;
        
        &lt;p&gt;I am not a c sharp programmer, and know nothing about mono, so I am
        not sure why these search paths are needed, but they are.&lt;/p&gt;
        
        &lt;p&gt;After all the above you can use the standard...&lt;/p&gt;
        
        &lt;pre&gt;&lt;code&gt;./configure
        make
        sudo make install
        &lt;/code&gt;&lt;/pre&gt;
        
        &lt;p&gt;to build and install beagle. &lt;/p&gt;
        
        &lt;p&gt;I also turned on extended attributes on my ext3 partition as explained
        &lt;a href=&quot;http://beagle-project.org/Enabling_Extended_Attributes&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
        
        &lt;p&gt;Then run beagle (making sure the above export is done first otherwise
        it uses the wrong version of mono and can't find some of the mono
        libraries.)&lt;/p&gt;
        
        &lt;p&gt;As far as I can see it is now running and indexing my disk, and the
        memory usage is pretty low, and the cpu usage is tolerable.&lt;/p&gt;
        
        &lt;p&gt;If anyone can add good explanations please do so in the comments
        section.&lt;/p&gt;
        
        &lt;p&gt;&lt;em&gt;UPDATE&lt;/em&gt; This recipe also works with beagle 0.2.16&lt;/p&gt;
        
        &lt;p&gt;&lt;a href=&quot;http://technorati.com/tag/beagle+kubuntu&quot; rel=&quot;tag&quot;&gt;&lt;/a&gt;&lt;/p&gt;
      </description>
      <author>Jim Morris</author>
      <pubDate>Sat, 03 Feb 2007 22:32:35 -0800</pubDate>
      <link>http://blog.wolfman.com/articles/2007/2/3/getting-beagle-compiled-on-kubuntu-6-10-edgy</link>
      <guid isPermaLink='false'>urn:uuid:32e38208-cb32-4ab5-ae84-2902f79076d9</guid>
    </item>
    <item>
      <title>"Getting beagle compiled on KUbuntu 6.10 edgy" by Joe Shaw</title>
      <description>
        It looks like Beagle 0.2.14 is in backports now.  Hopefully 0.2.15.1 will go in soon.  We're going to be working on building updated packages for Ubuntu in our own repos soon.
        
        Thanks for the post on getting it built!
      </description>
      <pubDate>Sun, 04 Feb 2007 08:57:07 -0800</pubDate>
      <link>http://blog.wolfman.com/posts/23#comment-107</link>
      <guid isPermaLink='false'>urn:uuid:5fce9f83-9abe-4fae-9bc2-040815551418</guid>
    </item>
  </channel>
</rss>
