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

📄 bash.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Installing Bash-2.05a</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Preparing the LFS system"HREF="../chapter05/chapter05.html"><LINKREL="PREVIOUS"TITLE="Install all software as user root"HREF="../chapter05/installasroot.html"><LINKREL="NEXT"TITLE="Installing Binutils-2.11.2"HREF="../chapter05/binutils.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="../chapter05/installasroot.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 5. Preparing the LFS system</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter05/binutils.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch05-bash">5.4. Installing Bash-2.05a</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           3 minutes Estimated required disk space:  20 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN816">5.4.1. Installation of Bash</A></H2><P>Before you attempt to install Bash, you have to check to make sureyour distribution has the <TTCLASS="filename">/usr/lib/libcurses.a</TT> and<TTCLASS="filename">/usr/lib/libncurses.a</TT> files. If your hostdistribution is an LFS system, all files will be present if you followedthe instructions of the book version you read exactly.</P><P>If both of the files are missing, you have to install the ncurses development package. This package is often called something like <EM>ncurses-dev</EM>. If this package is already installed, or you just installed it, check for the two files again. Often the <TTCLASS="filename">libcurses.a</TT> file is (still) missing. If so, then create <TTCLASS="filename">libcurses.a</TT> as a symlink by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>cd /usr/lib &#38;&#38;ln -s libncurses.a libcurses.a</B></TT></PRE></FONT></TD></TR></TABLE></P><P>Now we can continue. Install Bash by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure --enable-static-link --prefix=$LFS/usr \

⌨️ 快捷键说明

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