Drizzle is Running on my Jaunty Box(possibly the strangest sentence ever)

I fancy myself an astute computer user but some of the ways to get things running in Linux are challenging for a born-and-raised windows user like myself. You don’t just click on a button to install Drizzle. I ran into a few blocks, that can mostly be attributed to me tripping over my self.

For the noobie,  make sure you run all of this from the root user which means you will see a $ sign after your user name. for example, my command line starts with: kent@server:-$.

Jauder Ho had a great walk-through that I am going to steal and re-post here, with a couple alterations only for the sake of clarity and a minor change due to dependencies. His text is in red:

The Drizzle wiki was useful in getting started but did not include all of the available packages.

First, the basic dependencies:

sudo apt-get install libpcre3-dev libevent-dev autoconf automake
bison libtool ncurses-dev libreadline-dev libz-dev g++
libssl-dev uuid-dev libpam0g libpam0g-dev gperf

Next, the libevent on 8.04 is too old so a newer version needs to be installed. Did this on 9.04 too just to make sure it is up-to-date.

sudo apt-get install libevent-dev

Google’s Protocol Buffers as well as libdrizzle need to be installed and the packages are available on the drizzle-developers PPA on Launchpad.

Google  Protocol Buffers is a bit more of an issue. I got an error later on that said protobuf was out of date. You need to go here to get a concise walkthrough to update your software sources on Ubuntu Desktop.

***Amendment*** if you are running Ubuntu Server (which is probably the ultimate goal) you need to access your repositories by running the following command: sudo nano /etc/apt/sources.list. Then you can add the lines as the sources walk-through suggests***

Add the PPA to your software sources, add the key and then run the following:

sudo apt-get install libprotobuf-dev protobuf-compiler

Then:

sudo aptitude install libdrizzle-dev

I was beating my head against a wall for a while trying to install libdrizzle. I kept trying to run sudo apt-get install on libdrizzle-dev but for some reason that didn’t work. Then I did sudo aptitude install and it worked fine. If anyone can tell me why, that would be great. Aside from that Jauder’s walk through worked fine.

*** Amendment, some people mentioned that I forgot to let you know to install Bazaar to compile Drizzle as well as make. Those commands are:”sudo apt-get install bzr” and “sudo apt-get install make“***

Now it’s time to finally download, compile, and install Drizzle. Run the following commands:

bzr branch lp:drizzle
cd drizzle
./config/autorun.sh
./configure
make
sudo make install

You should now have Drizzle installed on Ubuntu 9.04 Jaunty Jackalope. If you have an problems or see a way to make anything more concise or clear please tell me.

I did find a few things in the wiki that could be made more clear for us noobies. I will get on that.

I actually spent a lot of time doing this the hard way before I found Jauder’s succinct walk-through and will elaborate in the next post.  Next time I will be setting up my user accounts and beginning testing.

6 Comments to “Drizzle is Running on my Jaunty Box(possibly the strangest sentence ever)”

  1. By Jay Pipes, November 25, 2009 @ 9:07 am

    Great stuff, Kent! Keep up the good work! :)

    Cheers,

    Jay

  2. By Lee Bieber, November 25, 2009 @ 9:28 am

    Kent, excellent to see your progress. Am very glad you are finding things that we can improve upon. Please feel free to update the Drizzle Wiki with your findings.

  3. By nate, November 29, 2009 @ 7:53 pm

    In order for aptitude to work properly, you must first do an update, then an install. Also, you cannot install with apt-get or Synaptic and then expect to have dependencies removed by uninstalling with aptitude.

    however that is only relevant for ubutnto 6.1 and older apparently. You might need to update some of your dependencies.

  4. By Kent Bozlinski, November 30, 2009 @ 6:48 am

    Thanks Jay and Lee,

    I will get some info into the wiki. I am still a little sporadic right now as I juggle my time, but I appreciate your encouragement.

  5. By Jauder Ho, December 14, 2009 @ 2:25 pm

    Glad you found the writeup useful. I’m waiting for 10.4 before I update. I will probably update my post then too.

  • Getting Drizzle run on Linux Mint 8 64Bit « Chris on Drizzle — January 9, 2010 @ 1:45 pm

  • RSS feed for comments on this post. TrackBack URI

    Leave a Reply