install-detail.html

来自「Intercom 是一个 Unix系统上灵活的语音传输软件。支持标准音频压缩比如」· HTML 代码 · 共 352 行

HTML
352
字号
<HTML><HEAD><TITLE>Detailed Installation Instructions</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.77+"><LINKREL="HOME"TITLE="Intercom"HREF="intercom.html"><LINKREL="UP"TITLE="Installing Intercom"HREF="install.html"><LINKREL="PREVIOUS"TITLE="Quick Installation"HREF="install-quick.html"><LINKREL="NEXT"TITLE="Using Intercom"HREF="usage.html"></HEAD><BODYCLASS="SECTION"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Intercom: Version 0.15 Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="install-quick.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 2. Installing Intercom</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="usage.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECTION"><H1CLASS="SECTION"><ANAME="INSTALL-DETAIL"></A>Detailed Installation Instructions</H1><P>Intercom uses the GNU AutoConf suite of utilities to compile andinstall the source.  If you are familiar with GNU AutoConf, you should haveno trouble.  If not, you may wish to read the <TTCLASS="FILENAME">INSTALL</TT>contained in the base directory of the source distribution.</P><DIVCLASS="SECTION"><H2CLASS="SECTION"><ANAME="INSTALL-DETAIL-UNPACK"></A>Unpack the Source</H2><P>When you download Intercom, you will have a .tar.gz file.  It has aname similar to <TTCLASS="FILENAME">intercom-0.15.tar.gz</TT>.  The firstthing you need do is unpack the file.  If you have a relatively modern Unixsystem, the command<BCLASS="COMMAND">tar -zxf<TTCLASS="REPLACEABLE"><I>intercom-0.15.tar.gz</I></TT></B>should unpack the source.  The unpack process will create a directory namedsomething similar to<TTCLASS="FILENAME"><TTCLASS="REPLACEABLE"><I>intercom-0.15</I></TT></TT>.Change to that directory by entering<BCLASS="COMMAND">cd<TTCLASS="FILENAME"><TTCLASS="REPLACEABLE"><I>intercom-0.15</I></TT></TT></B>and continue to the following section.</P></DIV><DIVCLASS="SECTION"><H2CLASS="SECTION"><ANAME="INSTALL-DETAIL-CONFIGURE"></A>Configuring the Source</H2><P>After unpacking the source distribution, you must configure the sourcefor your particular system.  This is done with the command<BCLASS="COMMAND">./configure</B>.  Simply executing<BCLASS="COMMAND">./configure</B> is often sufficient and will examine yoursystem and configure the source appropriately.  However, configure does haveoptions which modify its behavior.  One of the most important of these is the--help switch which prints a list of valid configure options.  Running<BCLASS="COMMAND">./configure --help</B> will print this usage summary.</P><P>One option which many people like to change is where Intercom getsinstalled.  By default, this is /usr/local.  Binaries are placed in/usr/local/bin, man pages in /usr/local/man etc.  To change this option,simply execute ./configure with the --prefix option.  For example, toinstall Intercom into your HOME directory, enter<BCLASS="COMMAND">./configure --prefix=$HOME</B>.</P><DIVCLASS="SECTION"><H3CLASS="SECTION"><ANAME="INSTALL-DETAIL-CONFIGURE-OPTIMIZE"></A>Optimizing the Source</H3><P>Some tasks which Intercom must perform can be quite resourceintensive, especially on older hardware.  If you encounter problems likerecording overruns, you may wish to use these methods to optimize your buildof Intercom.</P><P>There are two options which can be passed to configure to control howIntercom is optimized.  The first, is the--with-cpu=<TTCLASS="REPLACEABLE"><I>type</I></TT>.  This tells the compiler thatIntercom is being compiled for the specified CPU type.  The resulting binaryshould not be executed on any other CPU platform except that for which itwas compiled.  For a list of valid CPU types, consult your compilerdocumentation.  Some examples of valid CPU types are i386, i486, i586(pentium), and i686 (pentiumpro).  For example, for a version of Intercomoptimized for Pentium class systems, you would enter<BCLASS="COMMAND">./configure --with-cpu=i586</B>.</P><DIVCLASS="NOTE"><P></P><TABLECLASS="NOTE"WIDTH="100%"BORDER="0"><TR><TDWIDTH="25"ALIGN="CENTER"VALIGN="TOP"><IMGSRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"HSPACE="5"ALT="Note"></TD><TDALIGN="LEFT"VALIGN="TOP"><P><SPANCLASS="emphasis"><ICLASS="EMPHASIS">Warning:</I></SPAN>The --with-cpu option is only known to work with the GNU C compiler (GCC). Further, the available CPU types vary depending on the version of gcc beingused.  Consult your documentation for details.</P></TD></TR></TABLE></DIV><P>The other swich controling optimization is --enable-optimize.  Thisswitch enables compiler optimizations specific to your compiler version andCPU type if the --with-cpu option is used.  <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Warning:</I></SPAN>This option enables certain experimental compiler optimizations, it isrecommended that this option only be used if absolutely necessary.</P></DIV></DIV><DIVCLASS="SECTION"><H2CLASS="SECTION"><ANAME="INSTALL-DETAIL-COMPILE"></A>Compiling the Source</H2><P>Once you have configured the source, it needs to be compiled intobinary form.  To do this, simply execute the <BCLASS="COMMAND">make</B>command.  If the make completes without error, you are ready to install theprogram.</P></DIV><DIVCLASS="SECTION"><H2CLASS="SECTION"><ANAME="INSTALL-DETAIL-INSTALL"></A>Installing the package</H2><P>The final step is to install Intercom on your system.  If you chose toinstall Intercom in the default location (/usr/local), then you will mostlikely need to become the root user.  Once you are in a position where youhave write access to the installation path, simply type <BCLASS="COMMAND">makeinstall</B>.  Intercom will be installed onto the system and you areready to go.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="install-quick.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="intercom.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="usage.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Quick Installation</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="install.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Using Intercom</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?