- Timestamp:
- 03/29/2017 02:13:40 AM (7 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 15f0f21
- Parents:
- c9ac649
- Location:
- chapter06
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bc.xml
rc9ac649 r1e472fb 45 45 46 46 <screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> 47 48 <para>Create a temporary symbolic link so the package can find 49 the readline library and confirm that its required libncurses 50 library is available. Even though the libraries are in /tools/lib 51 at this point, the system will use /usr/lib at the end of 52 this chapter.</para> 53 54 <screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so</userinput></screen> 47 55 48 56 <para>Prepare Bc for compilation:</para> -
chapter06/chapter06.xml
rc9ac649 r1e472fb 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/> … … 44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/> 45 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>47 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/> 48 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/> -
chapter06/perl.xml
rc9ac649 r1e472fb 72 72 -Dman3dir=/usr/share/man/man3 \ 73 73 -Dpager="/usr/bin/less -isR" \ 74 -Duseshrplib</userinput></screen> 74 -Duseshrplib \ 75 -Dusethreads</userinput></screen> 75 76 76 77 <variablelist> … … 107 108 <listitem> 108 109 <para>Build a shared libperl needed by some perl modules.</para> 110 </listitem> 111 </varlistentry> 112 113 <varlistentry> 114 <term><parameter>-Dusethreads</parameter></term> 115 <listitem> 116 <para>Build perl with support for threads.</para> 109 117 </listitem> 110 118 </varlistentry> -
chapter06/readline.xml
rc9ac649 r1e472fb 58 58 <para>Compile the package:</para> 59 59 60 <screen><userinput remap="make">make SHLIB_LIBS= -lncurses</userinput></screen>60 <screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen> 61 61 62 62 <variablelist> … … 64 64 65 65 <varlistentry> 66 <term><parameter>SHLIB_LIBS= -lncurses</parameter></term>66 <term><parameter>SHLIB_LIBS="-L/tools/lib -lncursesw"</parameter></term> 67 67 <listitem> 68 68 <para>This option forces Readline to link against the 69 <filename class="libraryfile">libncurses</filename> (really, 70 <filename class="libraryfile">libncursesw</filename>) library.</para> 69 <filename class="libraryfile">libncursesw</filename> library.</para> 71 70 </listitem> 72 71 </varlistentry> … … 78 77 <para>Install the package:</para> 79 78 80 <screen><userinput remap="install">make SHLIB_LIBS= -lncursesinstall</userinput></screen>79 <screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen> 81 80 82 81 <para>Now move the dynamic libraries to a more appropriate location
Note:
See TracChangeset
for help on using the changeset viewer.