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:
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
sudo aptitude install
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)”
Getting Drizzle run on Linux Mint 8 64Bit « Chris on Drizzle — January 9, 2010 @ 1:45 pm