文件操作 - devel-building.html
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/adcli/devel-building.html
编辑文件内容
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"> <title>Compiling adcli from Source</title> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="adcli"> <link rel="up" href="devel.html" title="Building, Packaging, and Contributing to adcli"> <link rel="prev" href="devel.html" title="Building, Packaging, and Contributing to adcli"> <link rel="next" href="devel-building-style.html" title="Coding Style"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> <td><a accesskey="p" href="devel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="devel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">adcli</th> <td><a accesskey="n" href="devel-building-style.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr></table> <div class="section"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="devel-building"></a>Compiling adcli from Source</h2></div></div></div> <p>This describes how to compiling the adcli package from source code. This is normally only necessary for those wishing to contribute to the project or package adcli.</p> <p>You can download <a class="ulink" href="http://www.freedesktop.org/software/realmd/releases/" target="_top">tarballs of the releases</a> of adcli or <a class="ulink" href="http://cgit.freedesktop.org/realmd/adcli/" target="_top">check out the source code from git</a>. This documentation will not go into all the details of how to get your development environment set up and instead focus on the what's unique to compiling adcli.</p> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="devel-building-dependencies"></a>Dependencies</h3></div></div></div> <p>Besides the default autotools, binutils and GCC, adcli requires the following development dependencies to build:</p> <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"><p>OpenLDAP client libraries</p></li> <li class="listitem"><p>MIT Kerberos libraries</p></li> </ul></div> <p>On <span class="strong"><strong>Debian</strong></span> or <span class="strong"><strong>Ubuntu</strong></span> you can use the following command to install the dependencies:</p> <pre class="programlisting"> $ sudo apt-get install build-essential autoconf automake xmlto xsltproc \ libkrb5-dev libldap2-dev libsasl2-dev </pre> <p>On <span class="strong"><strong>Fedora</strong></span> you can use the following command to install the dependencies:</p> <pre class="programlisting"> $ sudo yum groupinstall "Development Tools" $ sudo yum install automake autoconf xmlto xsltproc krb5-devel openldap-devel \ cyrus-sasl-devel </pre> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="devel-building-unix"></a>Building on UNIX</h3></div></div></div> <p>adcli uses the standard GNU build system, using autoconf for package configuration and resolving portability issues, automake for building makefiles that comply with the GNU Coding Standards, and libtool for building shared libraries on multiple platforms. The normal sequence for compiling and installing adcli is thus:</p> <pre class="programlisting"> $ ./configure --prefix=/usr --sysconfdir=/etc... $ make $ make install </pre> <p>If you've checked out the source code from git, then the <span class="command"><strong>configure</strong></span> script does not yet exist. So use the following instead:</p> <pre class="programlisting"> $ ./autogen.sh --prefix=/usr --sysconfdir=/etc ... $ make $ make install </pre> <p>The standard options provided by GNU autoconf may be passed to the configure script. Please see the autoconf documentation or run <code class="literal">./configure --help</code> for information about the standard options. In particular you probably want to adjust the <code class="literal">--prefix=/xxx</code> argument depending on your system and development environment.</p> <p>Make sure that the <code class="literal">--sysconfdir=/etc</code> matches the directory where the the MIT kerberos library stores its <code class="literal">krb5.conf</code>. This is usually <code class="literal">/etc</code></p> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="devel-building-configure"></a>Extra Configuration Options</h3></div></div></div> <p>In addition to the normal options, the configure script in the adcli supports these additional arguments:</p> <div class="variablelist"><table border="0" class="variablelist"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody> <tr> <td><p><span class="term"><code class="option">--disable-debug</code>, <code class="option">--enable-debug</code></span></p></td> <td><p>By default adcli is built with debug symbols assertions and and precondition checks. Enabling the debug option configures even more detailed debug build, including disabling optimization. Disabling the debug option is not recommended, as it disables all assertions, preconditions and internal consistency checks, although it may result it a slightly faster library.</p></td> </tr> <tr> <td><p><span class="term"><code class="option">--disable-doc</code></span></p></td> <td><p>Disables building of the documentation and command line manual. The documentation is built in the <code class="literal">doc/html/</code> directory of the build.</p></td> </tr> <tr> <td><p><span class="term"><code class="option">--enable-strict</code></span></p></td> <td><p>Enables strict checks during building of adcli. All compiler warnings become errors.</p></td> </tr> </tbody> </table></div> <p></p> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc </div> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件