Debian Codegraph @

docs/installation/build_unix_install.html

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Installing Berkeley DB</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" />
10 <link rel="up" href="build_unix.html" title="Chapter 7.  Building Berkeley DB for UNIX/POSIX" />
11 <link rel="prev" href="cross_compile_unix.html" title="Cross-Compiling on Unix" />
12 <link rel="next" href="build_unix_shlib.html" title="Dynamic shared libraries" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Installing Berkeley DB</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="cross_compile_unix.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 7. 
26 Building Berkeley DB for UNIX/POSIX
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="build_unix_shlib.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="build_unix_install"></a>Installing Berkeley DB</h2>
38 </div>
39 </div>
40 </div>
41 <p>Berkeley DB installs the following files into the following locations,
42 with the following default values:</p>
43 <div class="informaltable">
44 <table border="1" width="80%">
45 <colgroup>
46 <col />
47 <col />
48 </colgroup>
49 <thead>
50 <tr>
51 <th>Configuration Variables</th>
52 <th>Default value</th>
53 </tr>
54 </thead>
55 <tbody>
56 <tr>
57 <td>--prefix</td>
58 <td>/usr/local/BerkeleyDB.<span class="bold"><strong>Major</strong></span>.<span class="bold"><strong>Minor</strong></span></td>
59 </tr>
60 <tr>
61 <td>--exec_prefix</td>
62 <td>$(prefix)</td>
63 </tr>
64 <tr>
65 <td>--bindir</td>
66 <td>$(exec_prefix)/bin</td>
67 </tr>
68 <tr>
69 <td>--includedir</td>
70 <td>$(prefix)/include</td>
71 </tr>
72 <tr>
73 <td>--libdir</td>
74 <td>$(exec_prefix)/lib</td>
75 </tr>
76 <tr>
77 <td>docdir</td>
78 <td>$(prefix)/docs</td>
79 </tr>
80 </tbody>
81 </table>
82 </div>
83 <div class="informaltable">
84 <table border="1" width="80%">
85 <colgroup>
86 <col />
87 <col />
88 </colgroup>
89 <thead>
90 <tr>
91 <th>Files</th>
92 <th>Default location</th>
93 </tr>
94 </thead>
95 <tbody>
96 <tr>
97 <td>include files</td>
98 <td>$(includedir)</td>
99 </tr>
100 <tr>
101 <td>libraries</td>
102 <td>$(libdir)</td>
103 </tr>
104 <tr>
105 <td>utilities</td>
106 <td>$(bindir)</td>
107 </tr>
108 <tr>
109 <td>documentation</td>
110 <td>$(docdir)</td>
111 </tr>
112 </tbody>
113 </table>
114 </div>
115 <p>With one exception, this follows the GNU Autoconf and GNU Coding
116 Standards installation guidelines; please see that documentation for
117 more information and rationale.</p>
118 <p>The single exception is the Berkeley DB documentation. The
119 Berkeley DB documentation is provided in HTML format, not in
120 UNIX-style man or GNU info format. For this reason, Berkeley DB
121 configuration does not support <span class="bold"><strong>--infodir</strong></span> or <span class="bold"><strong>--mandir</strong></span>.
122 To change the default installation location for the Berkeley DB
123 documentation, modify the Makefile variable, <span class="bold"><strong>docdir</strong></span>.</p>
124 <p>When installing Berkeley DB on filesystems shared by machines of
125 different architectures, please note that although Berkeley DB
126 include files are installed based on the value of $(prefix), rather than
127 $(exec_prefix), the Berkeley DB include files are not always
128 architecture independent.</p>
129 <p>To move the entire installation tree to somewhere besides
130 <span class="bold"><strong>/usr/local</strong></span>, change the value of <span class="bold"><strong>prefix</strong></span>.</p>
131 <p>To move the binaries and libraries to a different location, change the
132 value of <span class="bold"><strong>exec_prefix</strong></span>. The values of <span class="bold"><strong>includedir</strong></span> and
133 <span class="bold"><strong>libdir</strong></span> may be similarly changed.</p>
134 <p>Any of these values except for <span class="bold"><strong>docdir</strong></span> may be set as part of
135 the configuration:</p>
136 <pre class="programlisting">prompt: ../dist/configure --bindir=/usr/local/bin</pre>
137 <p>Any of these values, including <span class="bold"><strong>docdir</strong></span>, may be changed when doing
138 the install itself:</p>
139 <pre class="programlisting">prompt: make prefix=/usr/contrib/bdb install</pre>
140 <p>The Berkeley DB installation process will attempt to create any
141 directories that do not already exist on the system.</p>
142 </div>
143 <div class="navfooter">
144 <hr />
145 <table width="100%" summary="Navigation footer">
146 <tr>
147 <td width="40%" align="left"><a accesskey="p" href="cross_compile_unix.html">Prev</a> </td>
148 <td width="20%" align="center">
149 <a accesskey="u" href="build_unix.html">Up</a>
150 </td>
151 <td width="40%" align="right"> <a accesskey="n" href="build_unix_shlib.html">Next</a></td>
152 </tr>
153 <tr>
154 <td width="40%" align="left" valign="top">Cross-Compiling on Unix </td>
155 <td width="20%" align="center">
156 <a accesskey="h" href="index.html">Home</a>
157 </td>
158 <td width="40%" align="right" valign="top"> Dynamic shared libraries</td>
159 </tr>
160 </table>
161 </div>
162 </body>
163 </html>