xref: /freebsd/crypto/krb5/doc/html/build/index.html (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert
2*7f2fe78bSCy Schubert<!DOCTYPE html>
3*7f2fe78bSCy Schubert
4*7f2fe78bSCy Schubert<html>
5*7f2fe78bSCy Schubert  <head>
6*7f2fe78bSCy Schubert    <meta charset="utf-8" />
7*7f2fe78bSCy Schubert    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
8*7f2fe78bSCy Schubert
9*7f2fe78bSCy Schubert    <title>Building Kerberos V5 &#8212; MIT Kerberos Documentation</title>
10*7f2fe78bSCy Schubert    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
11*7f2fe78bSCy Schubert    <link rel="stylesheet" type="text/css" href="../_static/agogo.css" />
12*7f2fe78bSCy Schubert    <link rel="stylesheet" type="text/css" href="../_static/kerb.css" />
13*7f2fe78bSCy Schubert    <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
14*7f2fe78bSCy Schubert    <script src="../_static/jquery.js"></script>
15*7f2fe78bSCy Schubert    <script src="../_static/underscore.js"></script>
16*7f2fe78bSCy Schubert    <script src="../_static/doctools.js"></script>
17*7f2fe78bSCy Schubert    <link rel="author" title="About these documents" href="../about.html" />
18*7f2fe78bSCy Schubert    <link rel="index" title="Index" href="../genindex.html" />
19*7f2fe78bSCy Schubert    <link rel="search" title="Search" href="../search.html" />
20*7f2fe78bSCy Schubert    <link rel="copyright" title="Copyright" href="../copyright.html" />
21*7f2fe78bSCy Schubert    <link rel="next" title="Organization of the source directory" href="directory_org.html" />
22*7f2fe78bSCy Schubert    <link rel="prev" title="KDC policy interface (kdcpolicy)" href="../plugindev/kdcpolicy.html" />
23*7f2fe78bSCy Schubert  </head><body>
24*7f2fe78bSCy Schubert    <div class="header-wrapper">
25*7f2fe78bSCy Schubert        <div class="header">
26*7f2fe78bSCy Schubert
27*7f2fe78bSCy Schubert
28*7f2fe78bSCy Schubert            <h1><a href="../index.html">MIT Kerberos Documentation</a></h1>
29*7f2fe78bSCy Schubert
30*7f2fe78bSCy Schubert            <div class="rel">
31*7f2fe78bSCy Schubert
32*7f2fe78bSCy Schubert        <a href="../index.html" title="Full Table of Contents"
33*7f2fe78bSCy Schubert            accesskey="C">Contents</a> |
34*7f2fe78bSCy Schubert        <a href="../plugindev/kdcpolicy.html" title="KDC policy interface (kdcpolicy)"
35*7f2fe78bSCy Schubert            accesskey="P">previous</a> |
36*7f2fe78bSCy Schubert        <a href="directory_org.html" title="Organization of the source directory"
37*7f2fe78bSCy Schubert            accesskey="N">next</a> |
38*7f2fe78bSCy Schubert        <a href="../genindex.html" title="General Index"
39*7f2fe78bSCy Schubert            accesskey="I">index</a> |
40*7f2fe78bSCy Schubert        <a href="../search.html" title="Enter search criteria"
41*7f2fe78bSCy Schubert            accesskey="S">Search</a> |
42*7f2fe78bSCy Schubert    <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__Building Kerberos V5">feedback</a>
43*7f2fe78bSCy Schubert            </div>
44*7f2fe78bSCy Schubert        </div>
45*7f2fe78bSCy Schubert    </div>
46*7f2fe78bSCy Schubert
47*7f2fe78bSCy Schubert    <div class="content-wrapper">
48*7f2fe78bSCy Schubert      <div class="content">
49*7f2fe78bSCy Schubert        <div class="document">
50*7f2fe78bSCy Schubert
51*7f2fe78bSCy Schubert      <div class="documentwrapper">
52*7f2fe78bSCy Schubert        <div class="bodywrapper">
53*7f2fe78bSCy Schubert          <div class="body" role="main">
54*7f2fe78bSCy Schubert
55*7f2fe78bSCy Schubert  <section id="building-kerberos-v5">
56*7f2fe78bSCy Schubert<span id="build-v5"></span><h1>Building Kerberos V5<a class="headerlink" href="#building-kerberos-v5" title="Permalink to this headline">¶</a></h1>
57*7f2fe78bSCy Schubert<p>This section details how to build and install MIT Kerberos software
58*7f2fe78bSCy Schubertfrom the source.</p>
59*7f2fe78bSCy Schubert<section id="prerequisites">
60*7f2fe78bSCy Schubert<h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this headline">¶</a></h2>
61*7f2fe78bSCy Schubert<p>In order to build Kerberos V5, you will need approximately 60-70
62*7f2fe78bSCy Schubertmegabytes of disk space.  The exact amount will vary depending on the
63*7f2fe78bSCy Schubertplatform and whether the distribution is compiled with debugging
64*7f2fe78bSCy Schubertsymbol tables or not.</p>
65*7f2fe78bSCy Schubert<p>Your C compiler must conform to ANSI C (ISO/IEC 9899:1990, “c89”).
66*7f2fe78bSCy SchubertSome operating systems do not have an ANSI C compiler, or their
67*7f2fe78bSCy Schubertdefault compiler requires extra command-line options to enable ANSI C
68*7f2fe78bSCy Schubertconformance.</p>
69*7f2fe78bSCy Schubert<p>If you wish to keep a separate build tree, which contains the compiled
70*7f2fe78bSCy Schubert*.o file and executables, separate from your source tree, you will
71*7f2fe78bSCy Schubertneed a make program which supports <strong>VPATH</strong>, or you will need to use
72*7f2fe78bSCy Schuberta tool such as lndir to produce a symbolic link tree for your build
73*7f2fe78bSCy Schuberttree.</p>
74*7f2fe78bSCy Schubert</section>
75*7f2fe78bSCy Schubert<section id="obtaining-the-software">
76*7f2fe78bSCy Schubert<h2>Obtaining the software<a class="headerlink" href="#obtaining-the-software" title="Permalink to this headline">¶</a></h2>
77*7f2fe78bSCy Schubert<p>The source code can be obtained from MIT Kerberos Distribution page,
78*7f2fe78bSCy Schubertat <a class="reference external" href="https://kerberos.org/dist/index.html">https://kerberos.org/dist/index.html</a>.
79*7f2fe78bSCy SchubertThe MIT Kerberos distribution comes in an archive file, generally
80*7f2fe78bSCy Schubertnamed krb5-VERSION-signed.tar, where <em>VERSION</em> is a placeholder for
81*7f2fe78bSCy Schubertthe major and minor versions of MIT Kerberos.  (For example, MIT
82*7f2fe78bSCy SchubertKerberos 1.9 has major version “1” and minor version “9”.)</p>
83*7f2fe78bSCy Schubert<p>The krb5-VERSION-signed.tar contains a compressed tar file consisting
84*7f2fe78bSCy Schubertof the sources for all of Kerberos (generally named
85*7f2fe78bSCy Schubertkrb5-VERSION.tar.gz) and a PGP signature file for this source tree
86*7f2fe78bSCy Schubert(generally named krb5-VERSION.tar.gz.asc).  MIT highly recommends that
87*7f2fe78bSCy Schubertyou verify the integrity of the source code using this signature,
88*7f2fe78bSCy Schuberte.g., by running:</p>
89*7f2fe78bSCy Schubert<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">tar</span> <span class="n">xf</span> <span class="n">krb5</span><span class="o">-</span><span class="n">VERSION</span><span class="o">-</span><span class="n">signed</span><span class="o">.</span><span class="n">tar</span>
90*7f2fe78bSCy Schubert<span class="n">gpg</span> <span class="o">--</span><span class="n">verify</span> <span class="n">krb5</span><span class="o">-</span><span class="n">VERSION</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span><span class="o">.</span><span class="n">asc</span>
91*7f2fe78bSCy Schubert</pre></div>
92*7f2fe78bSCy Schubert</div>
93*7f2fe78bSCy Schubert<p>Unpack krb5-VERSION.tar.gz in some directory. In this section we will assume
94*7f2fe78bSCy Schubertthat you have chosen the top directory of the distribution the directory
95*7f2fe78bSCy Schubert<code class="docutils literal notranslate"><span class="pre">/u1/krb5-VERSION</span></code>.</p>
96*7f2fe78bSCy Schubert<p>Review the README file for the license, copyright and other sprecific to the
97*7f2fe78bSCy Schubertdistribution information.</p>
98*7f2fe78bSCy Schubert</section>
99*7f2fe78bSCy Schubert<section id="contents">
100*7f2fe78bSCy Schubert<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this headline">¶</a></h2>
101*7f2fe78bSCy Schubert<div class="toctree-wrapper compound">
102*7f2fe78bSCy Schubert<ul>
103*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="directory_org.html">Organization of the source directory</a></li>
104*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="doing_build.html">Doing the build</a></li>
105*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="options2configure.html">Options to <em>configure</em></a></li>
106*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="osconf.html">osconf.hin</a></li>
107*7f2fe78bSCy Schubert</ul>
108*7f2fe78bSCy Schubert</div>
109*7f2fe78bSCy Schubert</section>
110*7f2fe78bSCy Schubert</section>
111*7f2fe78bSCy Schubert
112*7f2fe78bSCy Schubert
113*7f2fe78bSCy Schubert            <div class="clearer"></div>
114*7f2fe78bSCy Schubert          </div>
115*7f2fe78bSCy Schubert        </div>
116*7f2fe78bSCy Schubert      </div>
117*7f2fe78bSCy Schubert        </div>
118*7f2fe78bSCy Schubert        <div class="sidebar">
119*7f2fe78bSCy Schubert
120*7f2fe78bSCy Schubert    <h2>On this page</h2>
121*7f2fe78bSCy Schubert    <ul>
122*7f2fe78bSCy Schubert<li><a class="reference internal" href="#">Building Kerberos V5</a><ul>
123*7f2fe78bSCy Schubert<li><a class="reference internal" href="#prerequisites">Prerequisites</a></li>
124*7f2fe78bSCy Schubert<li><a class="reference internal" href="#obtaining-the-software">Obtaining the software</a></li>
125*7f2fe78bSCy Schubert<li><a class="reference internal" href="#contents">Contents</a></li>
126*7f2fe78bSCy Schubert</ul>
127*7f2fe78bSCy Schubert</li>
128*7f2fe78bSCy Schubert</ul>
129*7f2fe78bSCy Schubert
130*7f2fe78bSCy Schubert    <br/>
131*7f2fe78bSCy Schubert    <h2>Table of contents</h2>
132*7f2fe78bSCy Schubert    <ul class="current">
133*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../user/index.html">For users</a></li>
134*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../admin/index.html">For administrators</a></li>
135*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../appdev/index.html">For application developers</a></li>
136*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../plugindev/index.html">For plugin module developers</a></li>
137*7f2fe78bSCy Schubert<li class="toctree-l1 current"><a class="current reference internal" href="#">Building Kerberos V5</a><ul>
138*7f2fe78bSCy Schubert<li class="toctree-l2"><a class="reference internal" href="directory_org.html">Organization of the source directory</a></li>
139*7f2fe78bSCy Schubert<li class="toctree-l2"><a class="reference internal" href="doing_build.html">Doing the build</a></li>
140*7f2fe78bSCy Schubert<li class="toctree-l2"><a class="reference internal" href="options2configure.html">Options to <em>configure</em></a></li>
141*7f2fe78bSCy Schubert<li class="toctree-l2"><a class="reference internal" href="osconf.html">osconf.hin</a></li>
142*7f2fe78bSCy Schubert</ul>
143*7f2fe78bSCy Schubert</li>
144*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../basic/index.html">Kerberos V5 concepts</a></li>
145*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../formats/index.html">Protocols and file formats</a></li>
146*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../mitK5features.html">MIT Kerberos features</a></li>
147*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../build_this.html">How to build this documentation from the source</a></li>
148*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../about.html">Contributing to the MIT Kerberos Documentation</a></li>
149*7f2fe78bSCy Schubert<li class="toctree-l1"><a class="reference internal" href="../resources.html">Resources</a></li>
150*7f2fe78bSCy Schubert</ul>
151*7f2fe78bSCy Schubert
152*7f2fe78bSCy Schubert    <br/>
153*7f2fe78bSCy Schubert    <h4><a href="../index.html">Full Table of Contents</a></h4>
154*7f2fe78bSCy Schubert    <h4>Search</h4>
155*7f2fe78bSCy Schubert    <form class="search" action="../search.html" method="get">
156*7f2fe78bSCy Schubert      <input type="text" name="q" size="18" />
157*7f2fe78bSCy Schubert      <input type="submit" value="Go" />
158*7f2fe78bSCy Schubert      <input type="hidden" name="check_keywords" value="yes" />
159*7f2fe78bSCy Schubert      <input type="hidden" name="area" value="default" />
160*7f2fe78bSCy Schubert    </form>
161*7f2fe78bSCy Schubert
162*7f2fe78bSCy Schubert        </div>
163*7f2fe78bSCy Schubert        <div class="clearer"></div>
164*7f2fe78bSCy Schubert      </div>
165*7f2fe78bSCy Schubert    </div>
166*7f2fe78bSCy Schubert
167*7f2fe78bSCy Schubert    <div class="footer-wrapper">
168*7f2fe78bSCy Schubert        <div class="footer" >
169*7f2fe78bSCy Schubert            <div class="right" ><i>Release: 1.21.3</i><br />
170*7f2fe78bSCy Schubert                &copy; <a href="../copyright.html">Copyright</a> 1985-2024, MIT.
171*7f2fe78bSCy Schubert            </div>
172*7f2fe78bSCy Schubert            <div class="left">
173*7f2fe78bSCy Schubert
174*7f2fe78bSCy Schubert        <a href="../index.html" title="Full Table of Contents"
175*7f2fe78bSCy Schubert            >Contents</a> |
176*7f2fe78bSCy Schubert        <a href="../plugindev/kdcpolicy.html" title="KDC policy interface (kdcpolicy)"
177*7f2fe78bSCy Schubert            >previous</a> |
178*7f2fe78bSCy Schubert        <a href="directory_org.html" title="Organization of the source directory"
179*7f2fe78bSCy Schubert            >next</a> |
180*7f2fe78bSCy Schubert        <a href="../genindex.html" title="General Index"
181*7f2fe78bSCy Schubert            >index</a> |
182*7f2fe78bSCy Schubert        <a href="../search.html" title="Enter search criteria"
183*7f2fe78bSCy Schubert            >Search</a> |
184*7f2fe78bSCy Schubert    <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__Building Kerberos V5">feedback</a>
185*7f2fe78bSCy Schubert            </div>
186*7f2fe78bSCy Schubert        </div>
187*7f2fe78bSCy Schubert    </div>
188*7f2fe78bSCy Schubert
189*7f2fe78bSCy Schubert  </body>
190*7f2fe78bSCy Schubert</html>