~drizzle-trunk/drizzle/development

2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
1
Installing in RedHat and Fedora
1994.4.105 by Marisa Plumb
starting red hat fixes
2
================================
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
3
4
Using RPMs
5
----------
2222.2.1 by Mark Atwood
documentation work
6
There is a custom RedHat/Fedora repository at
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
7
http://rpm.drizzle.org/7-dev/ which includes everything needed
8
to install or compile Drizzle on RedHat 5 and 6 as well as Fedora 13 - 14.
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
9
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
10
A pre-requisite of this repository in RedHat is that the
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
11
`EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository is also added to your
12
distribution.
13
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
14
.. note::
15
16
   The EPEL repository is not required in Fedora.
17
1994.4.108 by Marisa Plumb
modifications to redhat install doc
18
To add the EPEL repository, run one of the following commands (choose from the i386(32-bit) or x86_64(64-bit) EPEL repository package).
19
20
Install EPEL Repository on 32-bit Linux 5.X:
2165.2.5 by Andrew Hutchings
Make fixes to temporal docs
21
22
.. code-block:: bash
1994.4.55 by Marisa Plumb
command for adding EPEL repository
23
2165.2.3 by Andrew Hutchings
Add favicon to docs
24
  sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
1994.4.55 by Marisa Plumb
command for adding EPEL repository
25
1994.4.108 by Marisa Plumb
modifications to redhat install doc
26
Install EPEL Repository on 64-bit Linux 5.X:
27
28
.. code-block:: bash
29
30
  sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
31
2222.2.1 by Mark Atwood
documentation work
32
To add the Drizzle repository to your system you also need to create a /etc/yum.repos.d/drizzle.repo file with the following content:
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
33
2165.2.5 by Andrew Hutchings
Make fixes to temporal docs
34
*RedHat*
35
36
.. code-block:: ini
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
37
38
   [drizzle]
39
   name=drizzle
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
40
   baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/$basearch/
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
41
   enabled=1
42
   gpgcheck=0
43
44
   [drizzle-src]
45
   name=drizzle-src
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
46
   baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/SRPMS
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
47
   enabled=1
48
   gpgcheck=0
49
1994.4.108 by Marisa Plumb
modifications to redhat install doc
50
**$releasever** uses RHEL 5 or RHEL 6, and **$basearch** is the architecture (i386 or x86_64).
51
2165.2.5 by Andrew Hutchings
Make fixes to temporal docs
52
*Fedora*
53
54
.. code-block:: ini
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
55
56
   [drizzle]
57
   name=drizzle
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
58
   baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/$basearch/
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
59
   enabled=1
60
   gpgcheck=0
61
62
   [drizzle-src]
63
   name=drizzle-src
2172.2.1 by Andrew Hutchings
Change RedHat docs for rpm.drizzle.org
64
   baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/SRPMS
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
65
   enabled=1
66
   gpgcheck=0
67
1994.4.108 by Marisa Plumb
modifications to redhat install doc
68
**$releasever** uses the Fedora version (currently 13 or 14), and **$basearch** is the architecture (i386 or x86_64).
69
2222.2.1 by Mark Atwood
documentation work
70
You can then install Drizzle by running the following command:
2165.2.5 by Andrew Hutchings
Make fixes to temporal docs
71
72
.. code-block:: bash
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
73
2222.2.1 by Mark Atwood
documentation work
74
   sudo yum install drizzle7-server drizzle7-client
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
75
76
Compiling From Source
77
---------------------
2222.2.1 by Mark Atwood
documentation work
78
To compile from source you will need to add the repositories described above, and then install the following packages:
2099.2.2 by Andrew Hutchings
Add compiling and installing section with basic content
79
80
 * bzr
81
 * boost-devel
82
 * autoconf
83
 * automake
84
 * gcc
85
 * gcc-c++
86
 * libtool
87
 * gperf
88
 * libuuid-devel (part of e2fsprogs-devel on older RedHat based distributions)
89
 * zlib-devel
90
 * pcre-devel
91
 * readline-devel
92
 * flex
93
 * bison
94
95
You will then be able to compile from source in the normal way.