~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Installing in RedHat and Fedora
===============================

Using RPMs
----------
We have a custom RedHat/Fedora repository at
http://5dollarwhitebox.org/repos/drizzle/dev/ which includes everything needed
to install or compile Drizzle on RedHat 5 and 6 as well as Fedora 12 - 14.

A pre-requisite of this repository is that the
`EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository is also added to your
distribution.

To add that repository, run the following command:

.. code-block:: bash

  sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

To add the repository to your distribution you also need to create a /etc/yum.repos.d/drizzle.repo file with the following content:

*RedHat*

.. code-block:: ini

   [drizzle]
   name=drizzle
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Redhat/$releasever/$basearch/
   enabled=1
   gpgcheck=0

   [drizzle-src]
   name=drizzle-src
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Redhat/$releasever/SRPMS
   enabled=1
   gpgcheck=0

*Fedora*

.. code-block:: ini

   [drizzle]
   name=drizzle
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Fedora/$releasever/$basearch/
   enabled=1
   gpgcheck=0

   [drizzle-src]
   name=drizzle-src
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Fedora/$releasever/SRPMS
   enabled=1
   gpgcheck=0

You can then use the following shell command:

.. code-block:: bash

   yum install drizzle7

Compiling From Source
---------------------
To compile from source you will need to add the repositories above and then install the following packages:

 * bzr
 * boost-devel
 * autoconf
 * automake
 * gcc
 * gcc-c++
 * libtool
 * gperf
 * libuuid-devel (part of e2fsprogs-devel on older RedHat based distributions)
 * zlib-devel
 * pcre-devel
 * readline-devel
 * flex
 * bison

You will then be able to compile from source in the normal way.