summaryrefslogtreecommitdiffstats
path: root/doc/texi/Building.linux.texi
blob: aac1c266d48cd18bd6815e68a8ffe39c7a14720d (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@input texinfo @c -*- Texinfo -*-
@c %**start of header
@setfilename Building.linux.info
@include base/article.texi
@include building/command.texi
@paragraphindent none

@set BG.platform linux
@c %**end of header

@majorheading Guide to Building @value{HB.title} on @value{OS.@value{BG.platform}}
@contents
@include building/chapter.introduction.texi

@c %**-------------------------------------------------------------------------
@anchor{prerequisites}
@chapter Prerequisites
The following are the recommended specifications for building on @value{OS.linux}; but is not necessarily the only configuration that is possible:

@itemize @bullet
@item Intel 32-bit or 64-bit kernel
@item Ubuntu 8.0.4, gcc 4.3.0, yasm 0.7.1.2093
@item Ubuntu 8.10, gcc 4.3.2, yasm 0.7.1.2093
@item Fedora 9, gcc 4.3.0, yasm 0.7.1.2093
@item Fedora 10, gcc 4.3.2, yasm 0.7.1.2093
@item gcc 4.0.0 or higher is reported to work
@end itemize

@include building/prerequisites.bundled.texi

@include building/prerequisites.common.texi

The @b{GTK UI} introduces some significant extra build requirements. If you intend to disable building the GUI with @command{configure --disable-gtk} you will not need many of these packages installed:

Ubuntu 8.10 packages:
@itemize @bullet
@item build-essential
@item autoconf (gui)
@item intltool (gui)
@item libtool (gui)
@item zlib1g-dev (gui)
@item libbz2-dev
@item libglib2.0-dev (gui)
@item libdbus-glib-1-dev (gui)
@item libgtk2.0-dev (gui)
@item libhal-dev (gui)
@item libhal-storage-dev (gui)
@item libgtkhtml3.14-dev (gui)
@item libgstreamer0.10-dev (gui)
@item libgstreamer-plugins-base0.10-dev (gui)
@end itemize

To install these packages:
@example
sudo apt-get install subversion yasm build-essential \
autoconf intltool libtool zlib1g-dev libbz2-dev libglib2.0-dev \
libdbus-glib-1-dev libgtk2.0-dev libhal-dev libhal-storage-dev \
libgtkhtml3.14-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
@end example

Fedora 10 package groups:
@itemize @bullet
@item Development Tools
@item Development Libraries
@item X Software Development (gui)
@item GNOME Software Development (gui)
@end itemize

To install these package groups:
@example
sudo yum groupinstall "Development Tools" "Development Libraries" \
"X Software Development" "GNOME Software Development"
@end example

Additional Fedora 10 packages:
@itemize @bullet
@item zlib-devel (gui)
@item bzip2-devel
@item dbus-glib-devel (gui)
@item hal-devel (gui)
@item gtkhtml3-devel (gui)
@item gstreamer-devel (gui)
@item gstreamer-plugins-base-devel (gui)
@end itemize

To install these packages:
@example
sudo yum install yasm zlib-devel bzip2-devel \
dbus-glib-devel hal-devel gtkhtml3-devel \
gstreamer-devel gstreamer-plugins-base-devel
@end example


@c %**-------------------------------------------------------------------------
@include building/chapter.quickstart.texi

@anchor{overview}
@chapter Overview
@value{OS.linux} builds are performed from a @b{terminal}. There is no support for building from any IDEs.

@c %**-------------------------------------------------------------------------
@include building/chapter.via.terminal.texi
@include building/appendix.repo.texi