mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
sed exps fixed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@968 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b4ec51c1aa
commit
8d5735b35e
@ -5,7 +5,7 @@
|
|||||||
<userinput> lib/Makefile.in > tmp &&</userinput>
|
<userinput> lib/Makefile.in > tmp &&</userinput>
|
||||||
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
||||||
<userinput> tmp > lib/Makefile.in : </userinput></screen> This is used
|
<userinput> tmp > lib/Makefile.in : </userinput></screen> This is used
|
||||||
to fix a problem with building fileutils statically on AMD systems. If
|
to fix a problem with building fileutils statically on glibc 2.2.3 systems. If
|
||||||
this isn't done, then there is the possibility of all of the fileutils
|
this isn't done, then there is the possibility of all of the fileutils
|
||||||
programs causing segmentation faults once chroot is entered in chapter
|
programs causing segmentation faults once chroot is entered in chapter
|
||||||
6.</para>
|
6.</para>
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Fileutils</title>
|
<title>Installation of Fileutils</title>
|
||||||
|
|
||||||
<para>Before we install fileutils statically, we apply two seds in
|
<para>Before we install fileutils statically, if you are using
|
||||||
order to prevent them giving segmentation faults (in certain cases) once we
|
glibc-2.2.3 you need to apply two seds in order to prevent them giving
|
||||||
enter chroot in Chapter 6. Install Fileutils by running the following
|
segmentation faults once we enter chroot in Chapter 6. The sed commands for
|
||||||
commands:</para>
|
those using glibc-2.2.3 are:
|
||||||
|
|
||||||
<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
<screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
||||||
<userinput> lib/Makefile.in > tmp &&</userinput>
|
<userinput> lib/Makefile.in > tmp &&</userinput>
|
||||||
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
||||||
<userinput> tmp > lib/Makefile.in &&</userinput>
|
<userinput> tmp > lib/Makefile.in</userinput></screen></para>
|
||||||
<userinput>./configure --disable-nls \</userinput>
|
|
||||||
|
<para>Install fileutils by running the following commands:
|
||||||
|
<screen><userinput>./configure --disable-nls \</userinput>
|
||||||
<userinput> --prefix=$LFS/usr --libexecdir=$LFS/bin --bindir=$LFS/bin &&</userinput>
|
<userinput> --prefix=$LFS/usr --libexecdir=$LFS/bin --bindir=$LFS/bin &&</userinput>
|
||||||
<userinput>make LDFLAGS=-static &&</userinput>
|
<userinput>make LDFLAGS=-static &&</userinput>
|
||||||
<userinput>make install &&</userinput>
|
<userinput>make install &&</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user