mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Transformed the two sed commands into one sed that does both
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1080 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b5cb6b61f4
commit
de3414e268
@ -5,11 +5,12 @@
|
|||||||
run this command in order to keep a backup of the file we are about to
|
run this command in order to keep a backup of the file we are about to
|
||||||
change.</para>
|
change.</para>
|
||||||
|
|
||||||
<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
<para><screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &&</userinput>
|
||||||
<userinput> lib/Makefile.in > tmp &&</userinput>
|
<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
||||||
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
<userinput> -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
||||||
<userinput> tmp > lib/Makefile.in : </userinput></screen> This
|
<userinput> lib/Makefile.in > lib/Makefile.in~ &&</userinput>
|
||||||
is used to fix a problem with building fileutils statically on glibc 2.2.3
|
<userinput>mv lib/Makefile.in~ lib/Makefile.in:</userinput></screen>
|
||||||
|
This is used 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
|
systems. If this isn't done, then there is the possibility of all of the
|
||||||
fileutils programs causing segmentation faults once chroot is entered
|
fileutils programs causing segmentation faults once chroot is entered
|
||||||
in chapter 6.</para>
|
in chapter 6.</para>
|
||||||
|
@ -8,10 +8,10 @@ and Durons are the most reported used CPU's). If you are in this category,
|
|||||||
run the following to sed commands before you compile this package.
|
run the following to sed commands before you compile this package.
|
||||||
|
|
||||||
<screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &&</userinput>
|
<screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &&</userinput>
|
||||||
<userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
||||||
<userinput> lib/Makefile.in > tmp &&</userinput>
|
<userinput> -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
||||||
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
<userinput> lib/Makefile.in > lib/Makefile.in~ &&</userinput>
|
||||||
<userinput> tmp > lib/Makefile.in</userinput></screen></para>
|
<userinput>mv lib/Makefile.in~ lib/Makefile.in</userinput></screen></para>
|
||||||
|
|
||||||
<para>Install fileutils by running the following commands:
|
<para>Install fileutils by running the following commands:
|
||||||
<screen><userinput>./configure --disable-nls \</userinput>
|
<screen><userinput>./configure --disable-nls \</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user