Changes in chapter08/ncurses.xml [0ebda11:d672ab7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
r0ebda11 rd672ab7 133 133 libraries since no package installed by compiling from sources would link 134 134 against them at runtime. However, the only known binary-only 135 applications that link against non-wide-character Ncurses libraries 135 applications that link against non-wide-character Ncurses libraries 136 136 require version 5. If you must have such libraries because of some binary-only 137 137 application or to be compliant with LSB, build the package again with the … … 144 144 --without-debug \ 145 145 --without-cxx-binding \ 146 --with-abi-version=5 146 --with-abi-version=5 147 147 make sources libs 148 148 cp -av lib/lib*.so.5* /usr/lib</userinput></screen> … … 150 150 151 151 </sect2> 152 153 <!-- - - - - - - - - - -->154 <!-- Multilib - 32bit -->155 <!-- - - - - - - - - - -->156 <sect2 arch="ml_32,ml_all">157 <title>Building Ncurses - 32bit</title>158 159 <para>Clean previous build:</para>160 161 <screen><userinput remap="pre">make distclean</userinput></screen>162 163 <para>Prepare Ncurses for compilation:</para>164 165 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \166 ./configure --prefix=/usr \167 --host=i686-pc-linux-gnu \168 --libdir=/usr/lib32 \169 --mandir=/usr/share/man \170 --with-shared \171 --without-debug \172 --without-normal \173 --enable-pc-files \174 --enable-widec \175 --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen>176 177 <para>Compile the package:</para>178 179 <screen><userinput remap="make">make</userinput></screen>180 181 <para>Install the package:</para>182 183 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install184 mkdir -p DESTDIR/usr/lib32/pkgconfig185 for lib in ncurses form panel menu ; do186 rm -vf DESTDIR/usr/lib32/lib${lib}.so187 echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so188 ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc189 done190 rm -vf DESTDIR/usr/lib32/libcursesw.so191 echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so192 ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so193 cp -Rv DESTDIR/usr/lib32/* /usr/lib32194 rm -rf DESTDIR</userinput></screen>195 196 </sect2><!-- m32 -->197 198 <!-- - - - - - - - - - -->199 <!-- Multilib - x32bit -->200 <!-- - - - - - - - - - -->201 <sect2 arch="ml_x32,ml_all">202 <title>Building Ncurses - x32bit</title>203 204 <para>Clean previous build:</para>205 206 <screen><userinput remap="pre">make distclean</userinput></screen>207 208 <para>Prepare Ncurses for compilation:</para>209 210 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \211 ./configure --prefix=/usr \212 --host=x86_64-pc-linux-gnux32 \213 --libdir=/usr/libx32 \214 --mandir=/usr/share/man \215 --with-shared \216 --without-debug \217 --without-normal \218 --enable-pc-files \219 --enable-widec \220 --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen>221 222 <para>Compile the package:</para>223 224 <screen><userinput remap="make">make</userinput></screen>225 226 <para>Install the package:</para>227 228 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install229 mkdir -p DESTDIR/usr/libx32/pkgconfig230 for lib in ncurses form panel menu ; do231 rm -vf DESTDIR/usr/libx32/lib${lib}.so232 echo "INPUT(-l${lib}w)" > DESTDIR/usr/libx32/lib${lib}.so233 ln -svf ${lib}w.pc DESTDIR/usr/libx32/pkgconfig/$lib.pc234 done235 rm -vf DESTDIR/usr/libx32/libcursesw.so236 echo "INPUT(-lncursesw)" > DESTDIR/usr/libx32/libcursesw.so237 ln -sfv libncurses.so DESTDIR/usr/libx32/libcurses.so238 cp -Rv DESTDIR/usr/libx32/* /usr/libx32239 rm -rf DESTDIR</userinput></screen>240 241 </sect2><!-- mx32 -->242 152 243 153 <sect2 id="contents-ncurses" role="content"> … … 251 161 <seglistitem> 252 162 <seg> 253 captoinfo (link to tic), 254 clear, 255 infocmp, 163 captoinfo (link to tic), 164 clear, 165 infocmp, 256 166 infotocap (link to tic), 257 ncursesw6-config, 258 reset (link to tset), 259 tabs, 260 tic, 261 toe, 262 tput, and 167 ncursesw6-config, 168 reset (link to tset), 169 tabs, 170 tic, 171 toe, 172 tput, and 263 173 tset 264 174 </seg> 265 175 <seg> 266 176 libcursesw.so (symlink and linker script to libncursesw.so), 267 libformw.so, 268 libmenuw.so, 177 libformw.so, 178 libmenuw.so, 269 179 libncursesw.so, 270 180 libpanelw.so, and their non-wide-character counterparts without "w" 271 181 in the library names.</seg> 272 182 <seg> 273 /usr/share/tabset, 183 /usr/share/tabset, 274 184 /usr/share/terminfo, and 275 185 /usr/share/doc/ncurses-&ncurses-version;
Note:
See TracChangeset
for help on using the changeset viewer.