📄 automake.html
字号:
<HTML><HEAD><TITLE>Installing Automake-1.5</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Autoconf-2.52"HREF="../chapter06/autoconf.html"><LINKREL="NEXT"TITLE="Installing Bash-2.05a"HREF="../chapter06/bash.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/autoconf.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/bash.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-automake">6.21. Installing Automake-1.5</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time: 1 minuteEstimated required disk space: 3 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2382">6.21.1. Installation of Automake</A></H2><P>Automake-1.5 is known to be too new for someapplications. KDE-CVS is mostly reported not to work well with thisautomake release and downgrading to version 1.4-p5 is recommended if youstart experiencing any problems with this release.</P><P>Install Automake by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure --prefix=/usr &&make install</B></TT></PRE></FONT></TD></TR></TABLE></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2389">6.21.2. Contents</A></H2><P>The Automake package contains the aclocal and automake programs</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2392">6.21.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2394">6.21.3.1. aclocal</A></H3><P>Automake includes a number of Autoconf macros which can be used inpackages; some of them are actually required by Automake in certainsituations. These macros must be defined in the aclocal.m4-file;otherwise they will not be seen by autoconf.</P><P>The aclocal program will automatically generate aclocal.m4 filesbased on the contents of configure.in. This provides a convenientway to get Automake-provided macros, without having to search around.Also, the aclocal mechanism is extensible for use by other packages.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2398">6.21.3.2. automake</A></H3><P>To create all the Makefile.in's for a package, run the automakeprogram in the top level directory, with no arguments. automake willautomatically find each appropriate Makefile.am (by scanningconfigure.in) and generate the corresponding Makefile.in.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2401">6.21.4. Dependencies</A></H2><P>Automake-1.5 needs the following to be installed:</P><PCLASS="literallayout"><br>sh from the bash package<br><br>cmp from the diffutils package<br><br>chmod from the fileutils package<br>cp from the fileutils package<br>ls from the fileutils package<br>mkdir from the fileutils package<br>mv from the fileutils package<br>rm from the fileutils package<br><br>grep from the grep package<br><br>make from the make package<br><br>perl from the perl package<br><br>sed from the sed package<br><br>basename from the sh-utils package<br>expr from the sh-utils package<br>sleep from the sh-utils package<br><br>cat from the textutils package<br>tr from the textutils package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/autoconf.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/bash.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Autoconf-2.52</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Bash-2.05a</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -