Ncurses-5.7

Allikas: Kuutõrvaja
Redaktsioon seisuga 27. mai 2011, kell 14:26 kasutajalt Jj (arutelu | kaastöö)
(erin) ←Vanem redaktsioon | Viimane redaktsiooni (erin) | Uuem redaktsioon→ (erin)

The Ncurses package contains libraries for terminal-independent handling of character screens.

Ncurses pakett sisaldab teeke

Umbkaudne ehitamise aeg: 0.7 SBU Vajaminev kettaruum 30 MB

5.14.1. Ncurses paigaldamine

Valmistame Ncursesi kompileerimiseks ette:

./configure --prefix=/tools --with-shared \
   --without-debug --without-ada --enable-overwrite

Kasutatud muutujate tähendus:

  • --without-ada

This ensures that Ncurses does not build support for the Ada compiler which may be present on the host but will not be available once we enter the chroot environment.

See parameeter kindlustab, et Ncurses ei ehitaks endale Ada kompilaatori tuge, mis puudub chroot keskkkonnast.

  • --enable-overwrite

This tells Ncurses to install its header files into /tools/include, instead of /tools/include/ncurses, to ensure that other packages can find the Ncurses headers successfully.

See parameeter ütleb Ncursesile, et ta paigaldaks päisefailid /tools/include/ncurses asemel /tools/include kausta. Antud samm kindlustab, et teised paketid leiaksid Ncurses päised edukalt.

Kompileerime paketi:

make

This package has a test suite, but it can only be run after the package has been installed. The tests reside in the test/ directory. See the README file in that directory for further details.

Paigaldame paketi:

make install

Details on this package are located in Section 6.19.2, “Contents of Ncurses.”