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