Ticket #2403: ncurses.patch
File ncurses.patch, 1.1 KB (added by , 16 years ago) |
---|
-
trunk/BOOK/chapter06/ncurses.xml
99 99 100 100 <screen><userinput remap="install">make install</userinput></screen> 101 101 102 <para>Correct the permissions of a library that should not be executable:103 </para>104 105 <screen><userinput remap="install">chmod -v 644 /usr/lib/libncurses++w.a</userinput></screen>106 107 102 <para>Move the libraries to the <filename class="directory">/lib</filename> directory, 108 103 where they are expected to reside:</para> 109 104 … … 118 113 non-wide-character Ncurses libraries. Trick such applications into linking with 119 114 wide-character libraries by means of symlinks and linker scripts:</para> 120 115 121 <screen><userinput remap="install">for lib in cursesncurses form panel menu ; do \116 <screen><userinput remap="install">for lib in ncurses form panel menu ; do \ 122 117 rm -vf /usr/lib/lib${lib}.so ; \ 123 118 echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \ 124 119 ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \