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

📄 fileutils.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Installing Fileutils-4.1</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="Installing Diffutils-2.7"HREF="../chapter05/diffutils.html"><LINKREL="NEXT"TITLE="Installing GCC-2.95.3"HREF="../chapter05/gcc.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/diffutils.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/gcc.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch05-fileutils">5.8. Installing Fileutils-4.1</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           3 minutesEstimated required disk space:  25 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN1009">5.8.1. Installation of Fileutils</A></H2><P>The programs from a statically linked fileutils package may causesegmentation faults on certain systems, if your distribution hasGlibc-2.2.3 or higher installed. It also seems to happen mostly on machinespowered by an AMD CPU, but there is a case or two where an Intel systemis affected as well. If your system falls under this category, try thefollowing fix.</P><P>Note that in some cases using these sed commands will result inproblems not being able to compile this package at all, even when yoursystem has an AMD CPU and has Glibc-2.2.3 (or higher) installed. If that's the case, you'll need to remove the fileutils-4.1 directoryand unpack it again from the tarball before continuing. We believe thismay be the case when your distribution has altered Glibc-2.2.3 somehow,but details are unavailable at the time.</P><P>To fix this package to compile properly on AMD/Glibc-2.2.3machines, run the following commands. Do <EM>not</EM>attempt this fix if you don't have Glibc-2.2.3 installed. It will more than likely result in all kinds of compile time problems.</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>cp lib/Makefile.in lib/Makefile.in.backup &#38;&#38;sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \

⌨️ 快捷键说明

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