Changeset 89fcc34 for chapter06/ncurses-inst.xml
- Timestamp:
- 08/29/2003 11:20:23 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 5e49531
- Parents:
- b1d68a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Ncurses</title> 5 5 6 <para>First fix two tiny bugs:</para> 7 6 8 <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch 7 9 patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para> 8 10 9 <para>Prepare Ncurses to be compiled:</para> 11 <para>The first patch corrects the <filename>etip.h</filename> header file, and 12 the second patch prevents some compiler warnings on the use of deprecated 13 headers.</para> 14 15 <para>Now prepare Ncurses for compilation:</para> 10 16 11 17 <para><screen><userinput>./configure --prefix=/usr --with-shared \ 12 18 --without-debug</userinput></screen></para> 13 19 14 <para>Co ntinue with compilingthe package:</para>20 <para>Compile the package:</para> 15 21 16 22 <para><screen><userinput>make</userinput></screen></para> … … 20 26 <para><screen><userinput>make install</userinput></screen></para> 21 27 22 <para>Give the ncurses libraries executable permission:</para>28 <para>Give the Ncurses libraries execute permissions:</para> 23 29 24 30 <para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para> 25 31 26 <para>And fix up a library that shouldn't be executable at all:</para>32 <para>And fix a library that shouldn't be executable:</para> 27 33 28 34 <para><screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen></para>
Note:
See TracChangeset
for help on using the changeset viewer.