Changes in chapter08/ncurses.xml [b64efb72:d0ca5ead]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
rb64efb72 rd0ca5ead 177 177 178 178 <screen role="nodump"><userinput>make distclean 179 ./configure --prefix=/usr \ 180 --with-shared \ 181 --without-normal \ 182 --with-cxx-shared \ 183 --without-debug \ 179 ./configure --prefix=/usr \ 180 --with-shared \ 181 --without-normal \ 182 --without-debug \ 184 183 --without-cxx-binding \ 185 184 --with-abi-version=5 … … 189 188 190 189 </sect2> 191 192 <!-- - - - - - - - - - -->193 <!-- Multilib - 32bit -->194 <!-- - - - - - - - - - -->195 <sect2 arch="ml_32,ml_all">196 <title>Building Ncurses - 32bit</title>197 198 <para>Clean previous build:</para>199 200 <screen><userinput remap="pre">make distclean</userinput></screen>201 202 <para>Prepare Ncurses for compilation:</para>203 204 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \205 ./configure --prefix=/usr \206 --host=i686-pc-linux-gnu \207 --libdir=/usr/lib32 \208 --mandir=/usr/share/man \209 --with-shared \210 --without-debug \211 --without-normal \212 --with-cxx-shared \213 --enable-pc-files \214 --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen>215 216 <para>Compile the package:</para>217 218 <screen><userinput remap="make">make</userinput></screen>219 220 <para>Install the package:</para>221 222 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install223 mkdir -p DESTDIR/usr/lib32/pkgconfig224 for lib in ncurses form panel menu ; do225 rm -vf DESTDIR/usr/lib32/lib${lib}.so226 echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so227 ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc228 done229 rm -vf DESTDIR/usr/lib32/libcursesw.so230 echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so231 ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so232 cp -Rv DESTDIR/usr/lib32/* /usr/lib32233 rm -rf DESTDIR</userinput></screen>234 235 </sect2><!-- m32 -->236 237 <!-- - - - - - - - - - -->238 <!-- Multilib - x32bit -->239 <!-- - - - - - - - - - -->240 <sect2 arch="ml_x32,ml_all">241 <title>Building Ncurses - x32bit</title>242 243 <para>Clean previous build:</para>244 245 <screen><userinput remap="pre">make distclean</userinput></screen>246 247 <para>Prepare Ncurses for compilation:</para>248 249 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \250 ./configure --prefix=/usr \251 --host=x86_64-pc-linux-gnux32 \252 --libdir=/usr/libx32 \253 --mandir=/usr/share/man \254 --with-shared \255 --without-debug \256 --without-normal \257 --enable-pc-files \258 --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen>259 260 <para>Compile the package:</para>261 262 <screen><userinput remap="make">make</userinput></screen>263 264 <para>Install the package:</para>265 266 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install267 mkdir -p DESTDIR/usr/libx32/pkgconfig268 for lib in ncurses form panel menu ; do269 rm -vf DESTDIR/usr/libx32/lib${lib}.so270 echo "INPUT(-l${lib}w)" > DESTDIR/usr/libx32/lib${lib}.so271 ln -svf ${lib}w.pc DESTDIR/usr/libx32/pkgconfig/$lib.pc272 done273 rm -vf DESTDIR/usr/libx32/libcursesw.so274 echo "INPUT(-lncursesw)" > DESTDIR/usr/libx32/libcursesw.so275 ln -sfv libncurses.so DESTDIR/usr/libx32/libcurses.so276 cp -Rv DESTDIR/usr/libx32/* /usr/libx32277 rm -rf DESTDIR</userinput></screen>278 279 </sect2><!-- mx32 -->280 190 281 191 <sect2 id="contents-ncurses" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.