~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/installing/redhat.rst

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Installing in RedHat and Fedora
2
 
===============================
3
 
 
4
 
Using RPMs
5
 
----------
6
 
We have a custom RedHat/Fedora repository at
7
 
http://5dollarwhitebox.org/repos/drizzle/dev/ which includes everything needed
8
 
to install or compile Drizzle on RedHat 5 and 6 as well as Fedora 12 - 14.
9
 
 
10
 
A pre-requisite of this repository is that the
11
 
`EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository is also added to your
12
 
distribution.
13
 
 
14
 
To add that repository, run the following command:
15
 
 
16
 
sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
17
 
 
18
 
To add the repository to your distribution you also need to create a /etc/yum.repos.d/drizzle.repo file with the following content:
19
 
 
20
 
*RedHat*::
21
 
 
22
 
   [drizzle]
23
 
   name=drizzle
24
 
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Redhat/$releasever/$basearch/
25
 
   enabled=1
26
 
   gpgcheck=0
27
 
 
28
 
   [drizzle-src]
29
 
   name=drizzle-src
30
 
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Redhat/$releasever/SRPMS
31
 
   enabled=1
32
 
   gpgcheck=0
33
 
 
34
 
*Fedora*::
35
 
 
36
 
   [drizzle]
37
 
   name=drizzle
38
 
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Fedora/$releasever/$basearch/
39
 
   enabled=1
40
 
   gpgcheck=0
41
 
 
42
 
   [drizzle-src]
43
 
   name=drizzle-src
44
 
   baseurl=http://5dollarwhitebox.org/repos/drizzle/dev/Fedora/$releasever/SRPMS
45
 
   enabled=1
46
 
   gpgcheck=0
47
 
 
48
 
You can then use the following shell command::
49
 
 
50
 
   yum install drizzle7
51
 
 
52
 
Compiling From Source
53
 
---------------------
54
 
To compile from source you will need to add the repositories above and then install the following packages:
55
 
 
56
 
 * bzr
57
 
 * boost-devel
58
 
 * autoconf
59
 
 * automake
60
 
 * gcc
61
 
 * gcc-c++
62
 
 * libtool
63
 
 * gperf
64
 
 * libuuid-devel (part of e2fsprogs-devel on older RedHat based distributions)
65
 
 * zlib-devel
66
 
 * pcre-devel
67
 
 * readline-devel
68
 
 * flex
69
 
 * bison
70
 
 
71
 
You will then be able to compile from source in the normal way.