diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 07:54:14 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 07:54:14 +0000 |
commit | a5dddcb5160fe406abe429d747440272715d892a (patch) | |
tree | c36a663383d9ce4c74aca48f84fa34f30c1470aa | |
parent | 50fdfc80bc67b6f5274541b2107d60f3543ed8cc (diff) |
Fix readline.pc that incorrectly referenced termcap
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11814 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/readline.xml | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7309c6e7f..26c2bfd22 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -46,6 +46,11 @@ <para>2020-04-19</para> <itemizedlist> <listitem> + <para>[pierre] - Prevent readline.pc from referencing termcap as + a private library by adding --with-curses to configure switches. + Fixes <ulink url="&lfs-ticket-root;4635">#4635</ulink>.</para> + </listitem> + <listitem> <para>[pierre] - Allow bison to use the libtextstyle.so library from gettext, by moving gettext before bison. Fixes <ulink url="&lfs-ticket-root;4634">#4634</ulink>.</para> diff --git a/chapter06/readline.xml b/chapter06/readline.xml index 7f5b2191a..bcefab042 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -53,8 +53,24 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> <screen><userinput remap="configure">./configure --prefix=/usr \ --disable-static \ + --with-curses \ --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> + <variablelist> + <title>The meaning of the configure option:</title> + + <varlistentry> + <term><parameter>--with-curses"</parameter></term> + <listitem> + <para>This option tells Readline that it can find the termcap + library functions in the curses library, rather than a separate + termcap library. It allows generating a correct + <filename>readline.pc</filename> file.</para> + </listitem> + </varlistentry> + + </variablelist> + <para>Compile the package:</para> <screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen> |