Changes in chapter06/ncurses.xml [6dff9ef:943f225]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
r6dff9ef r943f225 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 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 installing compressed manual81 <para>This prevents Ncurses from 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 building and installing static C97 <para>This prevents Ncurses from 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 building and installing debug105 <para>This prevents Ncurses from 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 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 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> 160 162 <!-- 161 163 <para>Remove an unneeded static library not handled by … … 177 179 178 180 <varlistentry> 179 <term><command> echo "INPUT(-lncursesw)" >$LFS/usr/lib/libncurses.so</command></term>181 <term><command>ln -sv libncursesw.so $LFS/usr/lib/libncurses.so</command></term> 180 182 <listitem> 181 183 <para>The <filename>libncurses.so</filename> library is needed by 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> 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> 185 203 </listitem> 186 204 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.