mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
easier procps-installation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
60c3d93571
commit
123880fa3b
@ -108,6 +108,10 @@ the ldconfig and ldd programs anymore; Glibc-2.2.1 comes with good
|
||||
working versions.
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Chapter 6: Changed the procps installation from sed'ing to an easier way.
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Chapter 6: Added the creation of the lex symlink to the flex
|
||||
installation.
|
||||
|
@ -2,12 +2,11 @@
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para>
|
||||
<userinput>sed "s/XConsole/#XConsole/" Makefile | make -f -:</userinput>
|
||||
This will comment out the XConsole variable in the Makefile and pipe the
|
||||
output of sed (the modified Makefile) directly to the make program. This
|
||||
is an alternate and more efficient way to direct the output to a file
|
||||
and tell make to use that alternate file. The XConsole build is disabled
|
||||
because it can't be build yet because we don't have X installed yet.
|
||||
<userinput>make XSCPT='' install:</userinput>
|
||||
This will set the Makefile variable XSCPT to an empty value so that
|
||||
the XConsole installation is disabled. Otherwise "Make install" tries to
|
||||
copy the file XConsole to /usr/X11R6/bin.
|
||||
And that directory does not exist, because X is not installed yet.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
@ -7,9 +7,8 @@ Install Procps by running the following commands:
|
||||
|
||||
<blockquote><literallayout>
|
||||
|
||||
<userinput>sed "s/XConsole/#XConsole/" Makefile | make -f -
|
||||
&&</userinput>
|
||||
<userinput>sed "s/XConsole/#XConsole/" Makefile | make -f - install
|
||||
<userinput>make &&</userinput>
|
||||
<userinput>make XSCPT='' install
|
||||
&&</userinput>
|
||||
<userinput>mv /usr/bin/kill /bin</userinput>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user