Changes in chapter06/ncurses.xml [943f225:6dff9ef]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
r943f225 r6dff9ef 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 79 79 <term><parameter>--with-manpage-format=normal</parameter></term> 80 80 <listitem> 81 <para>This prevents Ncurses frominstalling compressed manual81 <para>This prevents Ncurses installing compressed manual 82 82 pages, which may happen if the host distribution itself 83 83 has compressed manual pages.</para> … … 95 95 <term><parameter>--without-normal</parameter></term> 96 96 <listitem> 97 <para>This prevents Ncurses frombuilding and installing static C97 <para>This prevents Ncurses building and installing static C 98 98 libraries.</para> 99 99 </listitem> … … 103 103 <term><parameter>--without-debug</parameter></term> 104 104 <listitem> 105 <para>This prevents Ncurses frombuilding and installing debug105 <para>This prevents Ncurses building and installing debug 106 106 libraries.</para> 107 107 </listitem> … … 157 157 158 158 <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install 159 ln -sv libncursesw.so $LFS/usr/lib/libncurses.so 160 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 161 -i $LFS/usr/include/curses.h</userinput></screen> 159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 162 160 <!-- 163 161 <para>Remove an unneeded static library not handled by … … 179 177 180 178 <varlistentry> 181 <term><command> ln -sv libncursesw.so$LFS/usr/lib/libncurses.so</command></term>179 <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term> 182 180 <listitem> 183 181 <para>The <filename>libncurses.so</filename> library is needed by 184 a few packages we will build soon. We create this symlink to use 185 <filename>libncursesw.so</filename> as a replacement.</para> 186 </listitem> 187 </varlistentry> 188 189 <varlistentry> 190 <term><command>sed -e 's/^#if.*XOPEN.*$/#if 1/' ...</command></term> 191 <listitem> 192 <para>The header file <filename>curses.h</filename> contains 193 the definition of various Ncurses data structures. With different 194 preprocessor macro definitions two different sets of the data 195 structure definition may be used: the 8-bit definition is 196 compatible with <filename>libncurses.so</filename> and the 197 wide-character definition is compatible with 198 <filename>libncursesw.so</filename>. Since we are using 199 <filename>libncursesw.so</filename> as a replacement of 200 <filename>libncurses.so</filename>, edit the header file so it 201 will always use the wide-character data structure definition 202 compatible with <filename>libncursesw.so</filename>.</para> 182 a few packages we will build soon. We create this small linker 183 script, as this is what is done in <xref 184 linkend="chapter-building-system"/>.</para> 203 185 </listitem> 204 186 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.