diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:48:13 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:48:13 +0000 |
commit | c288d971d11a78cde87a5f4c0583ab9a43fbfeba (patch) | |
tree | 7d780a5e793f11d0e3fd12fb28331ac6f2051c20 /chapter05 | |
parent | 6da8f0dd24273b2f1e8a0dc2004d18d5fa556d5a (diff) |
Turning some ./configures into a single line, taking 72 as max-width.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3202 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/binutils-pass1.xml | 3 | ||||
-rw-r--r-- | chapter05/chapter05.xml | 10 | ||||
-rw-r--r-- | chapter05/glibc.xml | 3 | ||||
-rw-r--r-- | chapter05/perl.xml | 3 |
4 files changed, 11 insertions, 8 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 953c65308..a98f498c4 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -36,8 +36,7 @@ achieve this easily, you could do something like: <para>Now prepare Binutils for compilation:</para> -<screen><userinput>../&binutils-dir;/configure \ - --prefix=/tools --disable-nls</userinput></screen> +<screen><userinput>../&binutils-dir;/configure --prefix=/tools --disable-nls</userinput></screen> <para>The meaning of the configure options:</para> diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 2371cb826..53139ae54 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -311,10 +311,9 @@ build the packages in this chapter as an unprivileged user. You could of course use your own user name, but to make it easier to set up a clean work environment we'll create a new user <emphasis>lfs</emphasis> and use this one during the installation process. As <emphasis>root</emphasis>, -issue the following commands to add the new user:</para> +issue the following command to add the new user:</para> -<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs -passwd lfs</userinput></screen> +<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen> <para>The meaning of the switches:</para> @@ -328,6 +327,11 @@ directory for <emphasis>lfs</emphasis>, while preventing the files from a possible <filename>/etc/skel</filename> being copied into it.</para></listitem> </itemizedlist> +<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give +this new user a password:</para> + +<screen><userinput>passwd lfs</userinput></screen> + <para>Now grant this new user <emphasis>lfs</emphasis> full access to <filename class="directory">$LFS/tools</filename> by giving it ownership of the directory:</para> diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 8c59193ea..e8c2e8e91 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -32,8 +32,7 @@ cd ../glibc-build</userinput></screen> <screen><userinput>../&glibc-dir;/configure --prefix=/tools \ --disable-profile --enable-add-ons=linuxthreads \ - --with-headers=/tools/include \ - --with-binutils=/tools/bin \ + --with-binutils=/tools/bin --with-headers=/tools/include \ --without-gd --without-cvs</userinput></screen> <para>The meaning of the configure options:</para> diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 0583d2f72..dccb191c0 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -17,7 +17,8 @@ <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen> -<para>Now prepare Perl for compilation:</para> +<para>Now prepare Perl for compilation (make sure to get the 'IO Fcntl' +right, they are all letters):</para> <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen> |