차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
linuxfromscratch:12.1:042-ncurses-6.4-20230520 [2024/04/16 16:04] – 만듦 - 바깥 편집 127.0.0.1 | linuxfromscratch:12.1:042-ncurses-6.4-20230520 [2024/06/14 22:50] (현재) – baecy | ||
---|---|---|---|
줄 1: | 줄 1: | ||
+ | ^ Linux From Scratch - Version 12.1-systemd | ||
+ | ^ Chapter 6. Cross Compiling Temporary Tools ^^^ | ||
+ | |[[.: | ||
+ | |M4-1.4.19 | ||
+ | |||
+ | ------ | ||
+ | |||
+ | ===== 6.3. Ncurses-6.4-20230520 ===== | ||
+ | |||
+ | Ncurses 패키지에는 터미널 독립적인 문자 화면 처리를 위한 라이브러리가 포함되어 있습니다. | ||
+ | |||
+ | * **빌드 시간:** 0.3 SBU | ||
+ | * **디스크 공간:** 51MB | ||
+ | |||
+ | ------ | ||
+ | |||
+ | ==== 6.3.1. Ncurses 설치 ==== | ||
+ | |||
+ | 우선 설정하는 동안 **gawk**를 먼저 찾도록 해야합니다. | ||
+ | |||
+ | <code bash> | ||
+ | sed -i s/mawk// configure | ||
+ | </ | ||
+ | |||
+ | 다음 명령을 실행하여 빌드 호스트에서 " | ||
+ | |||
+ | <code bash> | ||
+ | mkdir build | ||
+ | pushd build | ||
+ | ../ | ||
+ | make -C include | ||
+ | make -C progs tic | ||
+ | popd | ||
+ | </ | ||
+ | |||
+ | Ncurses 컴파일을 준비합니다. | ||
+ | |||
+ | <code bash> | ||
+ | ./configure --prefix=/ | ||
+ | --host=$LFS_TGT | ||
+ | --build=$(./ | ||
+ | --mandir=/ | ||
+ | --with-manpage-format=normal \ | ||
+ | --with-shared | ||
+ | --without-normal | ||
+ | --with-cxx-shared | ||
+ | --without-debug | ||
+ | --without-ada | ||
+ | --disable-stripping | ||
+ | --enable-widec | ||
+ | </ | ||
+ | |||
+ | === configure 옵션 설명 === | ||
+ | |||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | * // | ||
+ | |||
+ | 패키지를 컴파일합니다. | ||
+ | |||
+ | <code bash> | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | 패키지를 설치합니다. | ||
+ | |||
+ | <code bash> | ||
+ | make DESTDIR=$LFS TIC_PATH=$(pwd)/ | ||
+ | ln -sv libncursesw.so $LFS/ | ||
+ | sed -e ' | ||
+ | -i $LFS/ | ||
+ | </ | ||
+ | |||
+ | === install 옵션 설명 === | ||
+ | |||
+ | * // | ||
+ | * **ln -sv libncursesw.so $LFS/ | ||
+ | * **sed -e ' | ||
+ | |||
+ | ------ | ||
+ | |||
+ | 이 패키지에 대한 자세한 내용은 [[.: 099-ncurses-6.4-20230520# |