⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncurses.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content=    "application/xhtml+xml; charset=iso-8859-1" />    <title>      10.19.&nbsp;Ncurses-5.5 32 Bit Libraries    </title>    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=    "text/css" media="print" />  </head>  <body id="lfs" class="CLFS-SVN-20060417-MIPS64-Multilib">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version          CLFS-SVN-20060417-MIPS64-Multilib        </h4>        <h3>          Chapter&nbsp;10.&nbsp;Installing Basic System Software        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="gawk.html" title="Gawk-3.1.5">Prev</a>          <p>            Gawk-3.1.5          </p>        </li>        <li class="next">          <a accesskey="n" href="ncurses-n32.html" title=          "Ncurses-5.5 N32 Libraries">Next</a>          <p>            Ncurses-5.5 N32 Libraries          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS64-Multilib">          Home</a>        </li>      </ul>    </div>    <div class="wrap" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          10.19. Ncurses-5.5 32 Bit Libraries        </h1>      </div>      <div class="package" lang="en" xml:lang="en">        <p>          The Ncurses package contains libraries for terminal-independent          handling of character screens.        </p>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installation depends              on:</span></strong> <span class="seg">Bash, Binutils,              Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, and              Sed</span>            </div>          </div>        </div>      </div>      <div class="installation" lang="en" xml:lang="en">        <div class="titlepage">          <h2 class="sect2">            10.19.1. Installation of Ncurses          </h2>        </div>        <p>          Prepare Ncurses for compilation:        </p>        <pre class="userinput"><kbd class="command">CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \   ./configure --prefix=/usr --libdir=/lib \   --with-shared --without-debug</kbd></pre>        <p>          Compile the package:        </p>        <pre class="userinput"><kbd class="command">make</kbd></pre>        <p>          This package does not come with a test suite.        </p>        <p>          Install the package:        </p>        <pre class="userinput"><kbd class="command">make install</kbd></pre>        <p>          Move the Ncurses static libraries to the proper location:        </p>        <pre class="userinput"><kbd class="command">mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</kbd></pre>        <p>          Create symlinks in <tt class="filename">/usr/lib:</tt>        </p>        <pre class="userinput"><kbd class="command">rm -v /lib/lib{ncurses,menu,panel,form,curses}.soln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.soln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.soln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.soln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.soln -svf ../../lib/libform.so.5 /usr/lib/libform.so</kbd></pre>        <p>          Give the Ncurses libraries execute permissions:        </p>        <pre class="userinput"><kbd class="command">chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.5.5</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <p>          Details on this package are located in <a href=          "ncurses-64bit.html#contents-ncurses" title=          "10.21.2.&nbsp;Contents of Ncurses">Section&nbsp;10.21.2,          &ldquo;Contents of Ncurses.&rdquo;</a>        </p>      </div>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="gawk.html" title="Gawk-3.1.5">Prev</a>          <p>            Gawk-3.1.5          </p>        </li>        <li class="next">          <a accesskey="n" href="ncurses-n32.html" title=          "Ncurses-5.5 N32 Libraries">Next</a>          <p>            Ncurses-5.5 N32 Libraries          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS64-Multilib">          Home</a>.        </li>      </ul>    </div>  </body></html>

⌨️ 快捷键说明

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