diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-03-29 02:13:40 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-03-29 02:13:40 +0000 |
commit | 1e472fb9acf1c14f1e13c824b6ca89e1198410be (patch) | |
tree | e40771a501ee7752e0c029dd3e488fa0b5b7dde3 /chapter06 | |
parent | c9ac649c176365245fd6654005678255e4fc184f (diff) |
Move realline to be before bc in Cahpater 6.
Update to linux-4.10.6.
Update to pkg-config-0.29.2.
Update to tzdata-2017b.
Add option -Dusethreads to perl in Chapter 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11212 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bc.xml | 8 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/perl.xml | 10 | ||||
-rw-r--r-- | chapter06/readline.xml | 9 |
4 files changed, 22 insertions, 7 deletions
diff --git a/chapter06/bc.xml b/chapter06/bc.xml index 7f9373e52..31794bb80 100644 --- a/chapter06/bc.xml +++ b/chapter06/bc.xml @@ -45,6 +45,14 @@ <screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> + <para>Create a temporary symbolic link so the package can find + the readline library and confirm that its required libncurses + library is available. Even though the libraries are in /tools/lib + at this point, the system will use /usr/lib at the end of + this chapter.</para> + +<screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so</userinput></screen> + <para>Prepare Bc for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index f48b1ee62..8f4a8f46f 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -23,6 +23,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="adjusting.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/> @@ -43,7 +44,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdbm.xml"/> diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 76b0af2cf..cf1b1b2b2 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -71,7 +71,8 @@ export BUILD_BZIP2=0</userinput></screen> -Dman1dir=/usr/share/man/man1 \ -Dman3dir=/usr/share/man/man3 \ -Dpager="/usr/bin/less -isR" \ - -Duseshrplib</userinput></screen> + -Duseshrplib \ + -Dusethreads</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -109,6 +110,13 @@ export BUILD_BZIP2=0</userinput></screen> </listitem> </varlistentry> + <varlistentry> + <term><parameter>-Dusethreads</parameter></term> + <listitem> + <para>Build perl with support for threads.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> diff --git a/chapter06/readline.xml b/chapter06/readline.xml index 98be029db..d7f27b334 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -57,17 +57,16 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> <para>Compile the package:</para> -<screen><userinput remap="make">make SHLIB_LIBS=-lncurses</userinput></screen> +<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen> <variablelist> <title>The meaning of the make option:</title> <varlistentry> - <term><parameter>SHLIB_LIBS=-lncurses</parameter></term> + <term><parameter>SHLIB_LIBS="-L/tools/lib -lncursesw"</parameter></term> <listitem> <para>This option forces Readline to link against the - <filename class="libraryfile">libncurses</filename> (really, - <filename class="libraryfile">libncursesw</filename>) library.</para> + <filename class="libraryfile">libncursesw</filename> library.</para> </listitem> </varlistentry> @@ -77,7 +76,7 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> <para>Install the package:</para> -<screen><userinput remap="install">make SHLIB_LIBS=-lncurses install</userinput></screen> +<screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen> <para>Now move the dynamic libraries to a more appropriate location and fix up some symbolic links:</para> |