diff --git a/BOOK/final-system/common/ncurses.xml b/BOOK/final-system/common/ncurses.xml
index 3175374..283a0be 100644
a
|
b
|
|
36 | 36 | |
37 | 37 | <screen os="b"><userinput>./configure \ |
38 | 38 | --prefix=/usr \ |
39 | | --libdir=/lib \ |
40 | 39 | --with-shared \ |
41 | 40 | --without-debug \ |
42 | 41 | --enable-widec \ |
… |
… |
|
74 | 73 | |
75 | 74 | <screen os="g"><userinput>make install</userinput></screen> |
76 | 75 | |
77 | | <para os="h">Move the Ncurses static libraries to the proper location:</para> |
| 76 | <para os="h">Move the <filename class="libraryfile">libncursesw</filename> |
| 77 | shared library to <filename class="directory">/lib</filename> |
| 78 | and create a new symlink in <filename class="directory">/usr/lib</filename>:</para> |
78 | 79 | |
79 | | <screen os="i"><userinput>mv -v /lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib</userinput></screen> |
80 | | |
81 | | <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para> |
82 | | |
83 | | <screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libncursesw.so) /usr/lib/libncursesw.so |
84 | | ln -svf ../../lib/$(readlink /lib/libmenuw.so) /usr/lib/libmenuw.so |
85 | | ln -svf ../../lib/$(readlink /lib/libpanelw.so) /usr/lib/libpanelw.so |
86 | | ln -svf ../../lib/$(readlink /lib/libformw.so) /usr/lib/libformw.so |
87 | | rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen> |
| 80 | <screen os="i"><userinput>mv -v /usr/lib/libncursesw.so.* /lib |
| 81 | ln -svf ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so</userinput></screen> |
88 | 82 | |
89 | 83 | <para os="l">Many packages that use Ncurses will compile just fine against |
90 | 84 | the widechar libraries, but won't know to look for them. Create linker |
diff --git a/BOOK/final-system/multilib/ncurses-64bit.xml b/BOOK/final-system/multilib/ncurses-64bit.xml
index e331f01..962eb05 100644
a
|
b
|
|
38 | 38 | <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ |
39 | 39 | ./configure \ |
40 | 40 | --prefix=/usr \ |
41 | | --libdir=/lib64 \ |
| 41 | --libdir=/usr/lib64 \ |
42 | 42 | --with-shared \ |
43 | 43 | --without-debug \ |
44 | 44 | --enable-widec \ |
… |
… |
|
70 | 70 | <screen os="m2"><userinput>mv -v /usr/bin/ncursesw6-config{,-64} |
71 | 71 | ln -svf multiarch_wrapper /usr/bin/ncursesw6-config</userinput></screen> |
72 | 72 | |
73 | | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
74 | | href="ncurses.xml" |
75 | | xpointer="xpointer(//*[@os='h'])"/> |
76 | | |
77 | | <screen os="i"><userinput>mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64</userinput></screen> |
78 | | |
79 | | <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para> |
| 73 | <para os="h">Move the <filename class="libraryfile">libncursesw</filename> |
| 74 | shared library to <filename class="directory">/lib64</filename> |
| 75 | and create a new symlink in <filename class="directory">/usr/lib64</filename>:</para> |
80 | 76 | |
81 | | <screen os="k"><userinput>ln -svf ../../lib64/$(readlink /lib64/libncursesw.so) /usr/lib64/libncursesw.so |
82 | | ln -svf ../../lib64/$(readlink /lib64/libmenuw.so) /usr/lib64/libmenuw.so |
83 | | ln -svf ../../lib64/$(readlink /lib64/libpanelw.so) /usr/lib64/libpanelw.so |
84 | | ln -svf ../../lib64/$(readlink /lib64/libformw.so) /usr/lib64/libformw.so |
85 | | rm -v /lib64/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen> |
| 77 | <screen os="i"><userinput>mv -v /usr/lib64/libncursesw.so.* /lib64 |
| 78 | ln -svf ../../lib64/$(readlink /usr/lib/libncursesw.so) /usr/lib64/libncursesw.so</userinput></screen> |
86 | 79 | |
87 | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
88 | 81 | href="ncurses.xml" |
diff --git a/BOOK/final-system/multilib/ncurses-n32.xml b/BOOK/final-system/multilib/ncurses-n32.xml
index cc58461..f50b74f 100644
a
|
b
|
|
39 | 39 | <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ |
40 | 40 | ./configure \ |
41 | 41 | --prefix=/usr \ |
42 | | --libdir=/lib32 \ |
| 42 | --libdir=/usr/lib32 \ |
43 | 43 | --with-shared \ |
44 | 44 | --without-debug \ |
45 | 45 | --enable-widec \ |
… |
… |
|
70 | 70 | |
71 | 71 | <screen os="m2"><userinput>mv -v /usr/bin/ncursesw6-config{,-n32}</userinput></screen> |
72 | 72 | |
73 | | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
74 | | href="ncurses.xml" |
75 | | xpointer="xpointer(//*[@os='h'])"/> |
76 | | |
77 | | <screen os="i"><userinput>mv -v /lib32/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib32</userinput></screen> |
78 | | |
79 | | <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para> |
| 73 | <para os="h">Move the <filename class="libraryfile">libncursesw</filename> |
| 74 | shared library to <filename class="directory">/lib32</filename> |
| 75 | and create a new symlink in <filename class="directory">/usr/lib32</filename>:</para> |
80 | 76 | |
81 | | <screen os="k"><userinput>ln -svf ../../lib32/$(readlink /lib32/libncursesw.so) /usr/lib32/libncursesw.so |
82 | | ln -svf ../../lib32/$(readlink /lib32/libmenuw.so) /usr/lib32/libmenuw.so |
83 | | ln -svf ../../lib32/$(readlink /lib32/libpanelw.so) /usr/lib32/libpanelw.so |
84 | | ln -svf ../../lib32/$(readlink /lib32/libformw.so) /usr/lib32/libformw.so |
85 | | rm -v /lib32/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen> |
| 77 | <screen os="i"><userinput>mv -v /usr/lib32/libncursesw.so.* /lib32 |
| 78 | ln -svf ../../lib32/$(readlink /usr/lib/libncursesw.so) /usr/lib32/libncursesw.so</userinput></screen> |
86 | 79 | |
87 | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
88 | 81 | href="ncurses.xml" |
diff --git a/BOOK/final-system/multilib/ncurses.xml b/BOOK/final-system/multilib/ncurses.xml
index cbcee78..be44441 100644
a
|
b
|
|
39 | 39 | <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ |
40 | 40 | ./configure \ |
41 | 41 | --prefix=/usr \ |
42 | | --libdir=/lib \ |
| 42 | --libdir=/usr/lib \ |
43 | 43 | --with-shared \ |
44 | 44 | --without-debug \ |
45 | 45 | --enable-widec \ |
… |
… |
|
84 | 84 | |
85 | 85 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
86 | 86 | href="../common/ncurses.xml" |
87 | | xpointer="xpointer(//*[@os='j'])"/> |
88 | | |
89 | | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
90 | | href="../common/ncurses.xml" |
91 | | xpointer="xpointer(//*[@os='k'])"/> |
92 | | |
93 | | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
94 | | href="../common/ncurses.xml" |
95 | 87 | xpointer="xpointer(//*[@os='l'])"/> |
96 | 88 | |
97 | 89 | <screen os="m"><userinput>for lib in curses ncurses form panel menu ; do |