"Fossies" - the Fresh Open Source Software Archive

Member "drizzle-7.1.36-stable/docs/installing/from_source.rst" (6 May 2012, 3874 Bytes) of package /linux/misc/old/drizzle-7.1.36-stable.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Installing Drizzle from Source

Obtaining the Source

The latest source release can always be found on our LaunchPad site. Alternatively, the bzr source from our stable trunk can be obtained by doing:

bzr branch lp:drizzle

Compiling the Source

Compiling is done by performing the standard automake commands from the top level directory inside the source:

./config/autorun.sh
./configure
make
make install

Dependencies

Minimal Requirements

To compile Drizzle with the most basic set of plugins, you will need to have the following dependencies installed. Scroll down for the apt-get install commands for Ubuntu and Debian.

Full Dependencies

Additionally, if you wish to build all of the plugins, you will need to install these additional dependencies:

Installing Build Dependencies on Ubuntu

The following commands work on Ubuntu to install the tools and libraries needed to build Drizzle:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:drizzle-developers/ppa
sudo apt-get update
sudo apt-get install drizzle-dev

Installing Build Dependencies on Debian

Since apt-repository isn't in Debian, you can instead add the Maverick PPA to /etc/apt/sources.list as follows:

Add the following lines to /etc/apt/sources.list (make sure it's two lines): :

deb http://ppa.launchpad.net/drizzle-developers/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/drizzle-developers/ppa/ubuntu maverick main

Add the signing key to your keyring: :

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 06899068

Then run:

apt-get update; apt-get install drizzle-dev

Note that these instructions are only for Debian Squeeze. For current unstable/testing (aka Wheezy), the recommended source for Drizzle is the main repository. In other words:

apt-get install drizzle-dev

or (if you want to install and not build drizzle):

apt-get install drizzle 

Installing Build Dependencies on Red Hat or Fedora

Depending on whether you use Red Hat (RHEL) or Fedora, you should add the repositories as explained in redhat.

After that, install the following packages:

Note that you should be able to install all of the above simply with

yum-builddep drizzle