Changes in chapter08/ncurses.xml [f96a6d4:f8b27ab]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
rf96a6d4 rf8b27ab 174 174 175 175 <screen role="nodump"><userinput>make distclean 176 ./configure --prefix=/usr \ 177 --with-shared \ 178 --without-normal \ 179 --with-cxx-shared \ 180 --without-debug \ 176 ./configure --prefix=/usr \ 177 --with-shared \ 178 --without-normal \ 179 --without-debug \ 181 180 --without-cxx-binding \ 182 181 --with-abi-version=5 … … 186 185 187 186 </sect2> 188 189 <!-- - - - - - - - - - -->190 <!-- Multilib - 32bit -->191 <!-- - - - - - - - - - -->192 <sect2 arch="ml_32,ml_all">193 <title>Building Ncurses - 32bit</title>194 195 <para>Clean previous build:</para>196 197 <screen><userinput remap="pre">make distclean</userinput></screen>198 199 <para>Prepare Ncurses for compilation:</para>200 201 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \202 ./configure --prefix=/usr \203 --host=i686-pc-linux-gnu \204 --libdir=/usr/lib32 \205 --mandir=/usr/share/man \206 --with-shared \207 --without-debug \208 --without-normal \209 --with-cxx-shared \210 --enable-pc-files \211 --enable-widec \212 --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen>213 214 <para>Compile the package:</para>215 216 <screen><userinput remap="make">make</userinput></screen>217 218 <para>Install the package:</para>219 220 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install221 mkdir -p DESTDIR/usr/lib32/pkgconfig222 for lib in ncurses form panel menu ; do223 rm -vf DESTDIR/usr/lib32/lib${lib}.so224 echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so225 ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc226 done227 rm -vf DESTDIR/usr/lib32/libcursesw.so228 echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so229 ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so230 cp -Rv DESTDIR/usr/lib32/* /usr/lib32231 rm -rf DESTDIR</userinput></screen>232 233 </sect2><!-- m32 -->234 235 <!-- - - - - - - - - - -->236 <!-- Multilib - x32bit -->237 <!-- - - - - - - - - - -->238 <sect2 arch="ml_x32,ml_all">239 <title>Building Ncurses - x32bit</title>240 241 <para>Clean previous build:</para>242 243 <screen><userinput remap="pre">make distclean</userinput></screen>244 245 <para>Prepare Ncurses for compilation:</para>246 247 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \248 ./configure --prefix=/usr \249 --host=x86_64-pc-linux-gnux32 \250 --libdir=/usr/libx32 \251 --mandir=/usr/share/man \252 --with-shared \253 --without-debug \254 --without-normal \255 --enable-pc-files \256 --enable-widec \257 --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen>258 259 <para>Compile the package:</para>260 261 <screen><userinput remap="make">make</userinput></screen>262 263 <para>Install the package:</para>264 265 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install266 mkdir -p DESTDIR/usr/libx32/pkgconfig267 for lib in ncurses form panel menu ; do268 rm -vf DESTDIR/usr/libx32/lib${lib}.so269 echo "INPUT(-l${lib}w)" > DESTDIR/usr/libx32/lib${lib}.so270 ln -svf ${lib}w.pc DESTDIR/usr/libx32/pkgconfig/$lib.pc271 done272 rm -vf DESTDIR/usr/libx32/libcursesw.so273 echo "INPUT(-lncursesw)" > DESTDIR/usr/libx32/libcursesw.so274 ln -sfv libncurses.so DESTDIR/usr/libx32/libcurses.so275 cp -Rv DESTDIR/usr/libx32/* /usr/libx32276 rm -rf DESTDIR</userinput></screen>277 278 </sect2><!-- mx32 -->279 187 280 188 <sect2 id="contents-ncurses" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.