· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
LFS/Introduction

5.1-pre1 ¹®¼­¹ø¿ªµÈ ³»¿ëÀ» ±âÃÊ·Î ÀÛ¼ºÇϰíÀÖ½À´Ï´Ù. ÇöÀç 5.1.1 ¹öÀü°ú´Â ¼ø¼­°¡ ¾à°£ Ʋ¸³´Ï´Ù. Â÷ÈÄ¿¡ Á¶±Ý¾¿ ¼öÁ¤Çϵµ·Ï ÇϰڽÀ´Ï´Ù.


1 ¼Ò°³


1.1 ¼Ò°³

1.1.1 ÀÌ Ã¥Àº ¾ÕÀ¸·Î ¾î¶² ½ÄÀ¸·Î ÁøÇàµÉ °ÍÀΰ¡?


´ç½ÅÀº ´ç½ÅÀÇ ÄÄÇ»ÅÍ¿¡ ¹Ì¸® ¼³Ä¡ µÇ¾î ÀÖ´Â ¸®´ª½º ¹èÆ÷ÆÇÀ» °¡Áö°í ´ç½ÅÀÇ LFS¸¦ ±¸ÃàÇØ °¥ ÀÔ´Ï´Ù. (Debian, Mandrake, Red Hat, or SuSE °°Àº.)


À§¿¡ ¾ð±ÞÇÑ ¸®´ª½º ½Ã½ºÅÛÀº LFS¸¦ ¼³Ä¡Çϱâ À§ÇÑ µµ±¸·Î »ç¿ëµÉ °ÍÀÔ´Ï´Ù. . ¿Ö³ÄÇÏ¸é ´ç½ÅÀº »õ·Î¿î ½Ã½ºÅÛÀ» ±¸ÃàÇϱâ À§ÇØ ÄÄÆÄÀÏ·¯, ¸µÄ¿ ±×¸®°í ½©°ú °°Àº ÇÁ·Î±×·¥µéÀÌ ÇÊ¿äÇÒ °ÍÀ̱⠶§¹®ÀÔ´Ï´Ù. ¹èÆ÷ÆÇÀ» ÀνºÅç ÇÒ ¶§, "development"ÆÑŰÁö¸¦ ²À ¼³Ä¡ÇսôÙ.

3Àå ¿¡¼­ LFS ½Ã½ºÅÛÀ» À§ÇÑ ÆÄƼ¼Ç°ú ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¸µé °ÍÀÔ´Ï´Ù.

4Àå¿¡ LFS ½Ã½ºÅÛÀ» ±¸ÃàÇϱâ À§ÇØ ÇÊ¿äÇÑ ¸ðµç ÆÑŰÁö¿Í ÆÐÄ¡µéÀ» ´Ù¿î ·Îµå ÇÒ °ÍÀ̰í, »õ·Î¿î ÆÄÀÏ ½Ã½ºÅÛ¿¡ ÀúÀåÇÒ °ÍÀÔ´Ï´Ù. .

5Àå ¿¡¼­´Â 6Àå¿¡¼­ ½ÇÁúÀûÀ¸·Î »ç¿ëµÉ ±âº»ÀûÀÎ °³¹ß (¶Ç´Â ÅøÃ¼ÀÎ)µµ±¸µéÀ» ÄÄÆÄÀÏ ÇÒ ¼ö ÀÖµµ·Ï Àӽà ÄÄÆÄÀÏ µµ±¸(gcc, glibc, binutils, ETC..)µéÀ» ÀνºÅç ÇÏ´Â ¹æ¹ý¿¡ ´ëÇØ ¼³¸íÇÒ °ÍÀÔ´Ï´Ù. ÀÌ·¯ÇÑ ÆÑŰÁöµéÀº ¼­·Î°£¿¡ ÀÇÁ¸¼ºÀ» Áö´Ï°í ÀÖÀ¸¹Ç·Î, ¿Ã¹Ù¸¥ ¼ø¼­´ë·Î ÄÄÆÄÀÏ ÇØ¾ß ÇÕ´Ï´Ù. - (¿¹¸¦ µé¾î ´ç½ÅÀÌ »ç¿ëÇÒ ÄÄÆÄÀÏ·¯¸¦ ÄÄÆÄÀÏ Çϱâ À§Çؼ­´Â ´Ù¸¥ ÄÄÆÄÀÏ·¯°¡ ÇÊ¿äÇÑ °Íó·³.)

5Àå ¿¡¼­ ù¹øÂ°·Î ÅøÃ¼ÀÎÀ» Çü¼ºÇϱâ À§ÇØ Binutils¿Í GCC ¸¦ ÄÄÆÄÀÏ ÇÒ °ÍÀÔ´Ï´Ù. ÀÌ ÆÑŰÁöµéÀÇ °æ¿ì´Â, ±âÁ¸ ¹èÆ÷ÆÇ°ú µ¶¸³ÀûÀ¸·Î µ¿ÀÛÇÒ ¼ö ÀÖµµ·Ï Á¤ÀûÀ¸·Î ¸µÅ©µÇ¾î Áú °ÍÀÔ´Ï´Ù. µÎ¹øÂ°·Î ÇÒ ÀÏÀº C ¶óÀ̺귯¸®ÀÎ Glibc¸¦ ±¸ÃàÇÏ´Â °ÍÀÔ´Ï´Ù. Glibc´Â ¾Õ¿¡¼­ ¸¸µç ÅøÃ¼ÀÎ ÇÁ·Î±×·¥µé¿¡ ÀÇÇØ ÄÄÆÄÀÏ µÉ °ÍÀÔ´Ï´Ù.(¿©±â±îÁö°¡ Åø üÀÎ ±¸ÃàÀÇ Ã¹ ´Ü°èÀÔ´Ï´Ù.) ¼¼¹øÂ°·Î ÇÒ ÀÏÀº ÅøÃ¼ÀÎÀÇ µÎ ¹øÂ° ´Ü°è¸¦ ÁøÇàÇÏ´Â °ÍÀÔ´Ï´Ù. ÀÌÁ¦ ÅøÃ¼ÀÎÀº »õ·Ó°Ô ±¸ÃàµÈ Glibc¿¡ ´ÙÀ̳ª¹ÍÇÏ°Ô ¸µÅ©µÉ °ÍÀÔ´Ï´Ù. ³²°ÜÁø 5Àå ÀÇ ÆÐŰÁöµéÀº µÎ¹øÂ° ÅøÃ¼ÀÎÀ» »ç¿ëÇØ¼­ ¸ðµÎ ±¸ÃàµÉ °ÍÀÔ´Ï´Ù. ÀÌ·¯ÇÑ °ÍµéÀÌ ¸ðµÎ ³¡³ª¸é LFS ÀνºÅçÀÇ ÁøÇàÀº Ä¿³Î ÄÄÆÄÀÏÀ» Á¦¿Ü ÇÏ¸é ±×¸® ¿À·£ ½Ã°£À» ÇÊ¿ä·Î ÇÏÁö ¾Ê½À´Ï´Ù.

ÀÌ·± »ý°¢ÀÌ µé ¼ö µµ ÀÖ½À´Ï´Ù. "³Ê¹« ¸¹Àº ÀÏÀ̱º, ±×³É ³» ¿ø·¡ÀÇ ¸®´ª½º¿¡¼­ °¡Áö°í ¿À¸é µÇ´Âµ¥.." StaticÀ̳ª Dynamic À¸·Î ¸µÅ©µÇ´Â ÇÁ·Î±×·¥µé »çÀÌÀÇ Â÷ÀÌÁ¡À» Æ÷ÇÔÇÑ ¸ðµç ±â¼úÀû ¼³¸íÀº 5Àå, ÀÇ Ã³À½ ºÎºÐ¿¡¼­ Á¦°øÇÒ °ÍÀÔ´Ï´Ù.

ÀÌÁ¦ 6Àå ¿¡¼­ ÁøÁ¤ÇÑ LFS ½Ã½ºÅÛÀ» ±¸ÃàÇÒ °ÍÀÔ´Ï´Ù. chroot(change root) ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© ÀÚ½ÅÀÇ LFS ÆÄƼ¼ÇÀ» / ÆÄƼ¼ÇÀ¸·Î º¯°æÇÒ °ÍÀÔ´Ï´Ù. º¯°æÇÑ ÈÄ¿¡´Â, »õ·Î¿î ½©ÀÇ ·çÆ®µð·ºÅ丮¸¦ LFS ÆÄƼ¼Ç¿¡ ¸¸µé °ÍÀÔ´Ï´Ù. ±»ÀÌ chroot¸¦ ÀÌ¿ëÇÏ´Â ÀÌÀ¯´Â »õ·Î¿î ½Ã½ºÅÛÀ» ±¸ÃàÇØ ³ª°¡´Â µ¿¾È, ±âÁ¸ È£½ºÆ®ÀÇ ÀÚ¿øÀ» ÀÌ¿ëÇÏ´Â °ÍÀÌ ÁÁ±â ¶§¹®ÀÔ´Ï´Ù. ¿Ö³ÄÇϸé, ÀÏ´Ü LFS¿ë Ä¿³ÎÀÌ ¾ø´Â »óÅÂÀÌ´Ï, LFS·Î ºÎÆÃÀ» ÇØ¼­ ¸ðµç ÆÑŰÁö¸¦ ÄÄÆÄÀÏÇÒ ¼ö ¾ø±â ¶§¹®ÀÔ´Ï´Ù. ±×·¯¹Ç·Î ÀçºÎÆÃÇϱ⠺¸´Ù´Â chroot ¸í·ÉÀ» ÀÌ¿ëÇÏ´Â °ÍÀÔ´Ï´Ù.

7Àå¿¡¼­´Â ºÎÆ® ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÒ °ÍÀ̰í,, Ä¿³Î°ú ºÎÆ®·Î´õ´Â 8Àå ¿¡¼­ ¼³Á¤ÇÒ °ÍÀÔ´Ï´Ù. 9Àå ºÎ·ÏÀ¸·Î½á °¢Á¾ µµ¿òÀÌ µÉ ³»¿ëµéÀÌ µé¾î ÀÖ½À´Ï´Ù.

¿©±â±îÁö ³¡³ª¸é ¿Ïº®ÇÏ°Ô ±¸ÃàµÈ LFS½Ã½ºÅÛÀ¸·Î ÀçºÎÆÃÇÒ ¼ö ÀÖ°Ô µË´Ï´Ù.

Áö±Ý±îÁö ¼³¸íÇÑ ³»¿ëÀº ÀÌ Ã¥ÀÇ ÁøÇà ¼ø¼­¸¦ °£·«ÇÏ°Ô ³ª¿­ÇÑ °ÍÀÔ´Ï´Ù. Áö±Ý±îÁö ¼³¸íÇÑ ³»¿ëµéÀÌ ¿Ïº®ÇÏ°Ô ÀÌÇØµÇÁö ¾Ê´õ¶óµµ ³Ê¹« °ÆÁ¤ÇÏÁö ¸¶¼¼¿ä. °¢ ÀåÀ» ÁøÇàÇØ ³ª°¥ ¶§¸¶´Ù ÇÊ¿äÇÑ ¼¼ºÎÀûÀÎ Á¤º¸´Â °¢ Àå¿¡¼­ Á¦°øÇÒ °ÍÀÔ´Ï´Ù.

¼³Ä¡¸¦ ½ÃÀÛÇϱâ Àü¿¡ 2Àå ¸¦ ÀÚ¼¼È÷ Àоî ÁÖ¼¼¿ä. Áß¿äÇÑ ³»¿ëµéÀÌ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.


1.1.2 ChangLog


5.1-pre1 - February 1st, 2004

1.1.2.1 ¾÷±×·¹ÀÌµå µÈ°Í


autoconf-2.59

automake-1.8.2

dejagnu-1.4.4

expect-5.40.0

file-4.07

gcc-3.3.2

gettext-0.14.1

glibc-2.3.3

grub-0.94

kbd-1.12

man-pages-1.64

lfs-utils-0.4.2

libtool-1.5.2

linux-2.4.24

man-pages-1.65

modutils-2.4.26

perl-5.8.3

procps-3.1.15

psmisc-21.4

sed-4.0.9

shadow-4.0.4.1

tcl-8.4.5

zlib-1.2.1

1.1.2.2 ´õÇØÁø°Í


coreutils-5.0-posixver-2.patch

gcc-3.3.2-no_fixincludes-1.patch

inetutils-1.4.2-no_server_man_pages-1.patch

kbd-1.12-more-programs-1.patch

1.1.2.3 »èÁ¦µÈ°Í


gawk-3.1.3-libexecdir.patch

gcc-3.3.1-no_fixincludes-2.patch

gcc-3.3.1-suppress-libiberty.patch

glibc-2.3.2-sscanf-1.patch

grub-0.93-gcc33-1.patch

kbd-1.08-more-programs.patch

man-1.5m2-manpath.patch

man-1.5m2-pager.patch

ncurses-5.3-vsscanf.patch

procps-3.1.11-locale-fix.patch

shadow-4.0.3-newgrp-fix.patch

zlib-1.1.4-vsnprintf.patch

February 1st, 2004 gerard: LFS-5.1-PRE1 release.

February 1st, 2004 gerard: Applied Anderson's patch fixing: wrong official download location for file, fix TCLs tcl-package entity, remove redundant download locations for e2fsprogs and psmisc, and fix incorrect extensions for gcc, groff, kbd, libtool, man and man-pages. Closed bugs #750, #751 and #754.

February 1st, 2004 matt: Upgraded to expect-5.40.0

February 1st, 2004 gerard: Added two additional mirror sites for the Glibc tarball: mirror.averse.net (http & ftp) and ftp.lfs-matrix.de (ftp only).

February 1st, 2004 gerard: Applied Matthew's patch to upgrade to dejagnu-1.4.4, gettext-0.14.1, grub-0.94, libtool-1.5.2 and man-pages-1.65.

January 27th, 2004 alex: Chapters 5 + 6 - Replaced 'build time' and 'disk space' texts with entities for esy change.

January 26th, 2004 alex: Chapter 1 - Resources: Added links to the Wiki and the LFS-References page.

January 25th, 2004 greg: Chapter 5 - Adding the user lfs: Added "-k /dev/null" to the useradd command to prevent /etc/skel files from coming across.

January 21st, 2004 alex: Chapters 2 and 6 - Making a few extra cross references.

January 19th, 2004 greg: Upgraded to Glibc-2.3.3, Kbd-1.12, Perl-5.8.3 and Shadow-4.0.4.1.

January 19th, 2004 alex: Chapter 2 - Added a reference to Bruce's pages on build times and SBUs.

January 17th, 2004 greg: Chapter 7 - Creating the /etc/hosts file: Amended example domain names to comply with RFC 2606. Closes 742.

January 16th, 2004 greg: Expanded the Locking in Glibc and Re-adjusting the toolchain sanity checks to also catch missing cc->gcc symlink and provide more help for when things go wrong.

January 16th, 2004 greg: Implemented changes to make the running of the Chapter 5 test suites strictly optional i.e. the default action for the average reader is to not run them. Closes 719.

January 14th, 2004 alex: Cleaned up stale files and entities after the big move.

January 13th, 2004 greg: Chapter 8 - Installation of the kernel: Added command to keep a copy of the kernel .config file.

January 13th, 2004 greg: Moved log file creation from Shadow to "Creating the passwd and group files" and renamed that section accordingly. Closes 741.

January 13th, 2004 greg: Upgraded to Automake-1.8.2, Kbd-1.11 and Sed-4.0.9.

January 12th, 2004 alex: Moved all the information in appendix A (the program descriptions and download locations) to chapter 6, dividing each package page in roughly three sections: Statistics, Instructions, and Short descriptions.

January 9th, 2004 greg: Chapter 7 - Configuring the network script: Added instructions to create /etc/resolv.conf. Closes 733.

January 9th, 2004 greg: Chapter 8 - Making the LFS system bootable: Added --no-mem-option to Grub command line in menu.lst to disable Grub's insistence on passing mem= to the kernel. Closes 737.

January 7th, 2004 greg: Chapter 5 - Util-linux: Added command to install the arch program which is needed by Perl for consistency. Upgraded to Kbd-1.10.

January 6th, 2004 greg: Chapter 6 - Gawk: Removed the Gawk Libexecdir Patch. Closes Bug 303.

January 6th, 2004 greg: Upgraded to File-4.07, Linux-2.4.24 and Procps-3.1.15.

December 17th, 2003 greg: Chapter 6 - Vim: Added commands to run the Vim test suite. Closes Bug 722.

December 17th, 2003 greg: Upgraded to Autoconf-2.59, Automake-1.8 and Gettext-0.13.1.

December 17th, 2003 greg: Chapter 6 - Kbd: Updated to new patch that also installs the man pages for the additional programs. Closes Bug 726.

December 17th, 2003 greg: Chapter 6 - Zlib: Added chmod command to fix static library permissions. Closes Bug 728.

December 12th, 2003 greg: Glibc: Moved ld.so.conf creation to immediately before make install in both chapters.

December 11th, 2003 greg: Chapter 6 - Inetutils: Added patch to prevent unnecessary man pages from being installed. Closes Bug 723.

December 11th, 2003 greg: Chapter 6 - Creating directories: Stopped creation of /usr/share/{dict,nls}. Closes Bug 721.

December 11th, 2003 greg: Chapter 5 - Setting up the environment: Fixed Bash startup files to handle HOME and PS1.

December 3rd, 2003 greg: Upgraded to Gettext-0.13, Man-pages-1.64, Linux-2.4.23 and Psmisc-21.4.

November 26th, 2003 greg: Upgraded to Lfs-Utils-0.4.2, Tcl-8.4.5 and Zlib-1.2.1. Obsoletes the Zlib Vsnprintf patch.

November 23rd, 2003 greg: Upgraded to Lfs-Utils-0.4.1 and improved its build commands.

November 20th, 2003 greg: Rolled back the following patches to sed substitutions: GCC Suppress-Libiberty Patch, Grub Gcc33 Patch, Man Manpath Patch and Man Pager Patch. Closes Bug 461.

November 19th, 2003 greg: Chapter 5 - Setting up the environment: Reworked the Bash startup files to enforce a clean environment. Closes Bug 714.

November 17th, 2003 jeremy: Upgraded Man-pages to 1.63.

November 16th, 2003 greg: Chapter 6 - Sysvinit: Simplified the sed to demonstrate yet another sed variation.

November 17th, 2003 jeremy: Chapter 6 - Perl: Added fix for perldoc less invocation problem. Closes bug 716.

November 16th, 2003 greg: Chapter 6 - Texinfo: Added note about how to recreate the /usr/share/info/dir file if needed. Closes Bug 485.

November 14th, 2003 greg: Removed unnecessary Ncurses Vsscanf Patch. Closes Bug 704.

November 14th, 2003 gerard: Adjusted libexecdir location for these packages: Glibc - /usr/bin to /usr/lib, Findutils - /usr/bin to /usr/lib/locate, Gawk - /usr/bin to /usr/lib/gawk, Tar - /usr/bin to /usr/sbin. Closes Bug #678.

November 14th, 2003 greg: Chapter 6 - Coreutils: Stopped moving these binaries into /bin: dir, dircolors, du, mkfifo, shred, vdir. Closes Bug 679.

November 14th, 2003 greg: Chapter 6 - Shadow: Added command to create /etc/default directory to allow the -D option of useradd to work properly.

November 14th, 2003 greg: Chapter 6 - Coreutils and Util-linux: Pruned the number of "kill" binaries installed. Use the one from Procps. Partially addresses Bug 307.

November 13th, 2003 greg: Chapter 6 - Ed: Streamlined build commands. Closes Bug 693.

November 13th, 2003 greg: Upgraded to Perl-5.8.2 and streamlined build commands for Perl's Chapter 5 static extensions. Closes Bug 690.

November 13th, 2003 gerard: Upgraded to Lfs-Utils-0.4 and Man-pages-1.62

November 13th, 2003 gerard: Renamed GCC no_fixincludes-2.patch to no_fixincludes-1.patch which was the name it is supposed to be.

November 13th, 2003 alex: Chapter 6 - Vim: Changed from creating a local /root/.vimrc to a system-wide /etc/vimrc file .

November 12th, 2003 greg: Removed unnecessary Automake symlink.

November 12th, 2003 greg: Removed unnecessary Procps Locale Patch. Closes Bug 705.

November 12th, 2003 greg: Upgraded to Autoconf-2.58, Automake-1.7.9, File-4.06, Modutils-2.4.26, Procps-3.1.14 and Sed-4.0.8.

November 12th, 2003 greg: Upgraded to GCC-3.3.2.

Release of version 5.0 on November 5th, 2003.




1.1.3 °ø±Þ¿ø



1.1.3.1 FAQ

ÀڽŸ¸ÀÇ LFS ½Ã½ºÅÛÀ» ¸¸µé¾î ³ª°¡´Â µ¿¾È ¾î¶² ¿¡·¯³ª ±Ã±ÝÇÑ Á¡, ¶Ç´Â ÀÌ Ã¥¿¡¼­ ¿ÀŸ¶ó°í »ý°¢ÇÏ´Â ºÎºÐÀÌ ÀÖ´Ù¸é http://www.linuxfromscratch.org/faq/ÀÇ FAQ(Frequently Asked Questions)¸¦ ¸ÕÀú »ìÆìº¸¼¼¿ä. ±×·¡µµ ÇØ°áÀÌ ¾ÈµÇ¸é MSN Sixline13_1@hotmail.com À̳ª, poplinux@yahoo.co.kr·Î ¹®ÀÇÇØ Áֽñ⠹ٶø´Ï´Ù.

1.1.3.2 IRC

LFS °øµ¿Ã¼ÀÇ ¿©·¯ Àü¹®°¡´Â IRC ¼­¹ö¸¦ ÀÌ¿ëÇØ µµ¿òÀ» Á¦°øÇÕ´Ï´Ù. ÀÌ·¯ÇÑ µµ¿òµéÀ» ÀÌ¿ëÇϱâ Àü¿¡ Áú¹®¿¡ ´ëÇÑ ´ë´äÀÌ LFS FAQ¿Í ¸ÞÀÏ ¸®½ºÆ®¿¡ ÀÖ´ÂÁöºÎÅÍ Ã¼Å©Çϱ⸦ ¹Ù¶ø´Ï´Ù. IRC ¼­¹ö´Â irc.linuxfromscratch.org Æ÷Æ® 6667¿¡¼­ ãÀ» ¼ö ÀÖ½À´Ï´Ù.

1.1.3.3 ¸ÞÀϸµ ¸®½ºÆ®

linuxfromscratch.org ¼­¹ö´Â LFS ÇÁ·ÎÁ§Æ®ÀÇ °³¹ßÀ» À§ÇØ »ç¿ëµÈ ¸ÞÀϸµ ¸®½ºÆ®ÀÇ ÁÖ¼ÒÀÔ´Ï´Ù. ÀÌ ¸®½ºÆ®´Â °³¹ß°ú Áö¿ø ¸®½ºÆ®µéÀ» Æ÷ÇÔÇÕ´Ï´Ù.

¾î¶² ¸®½ºÆ®µéÀÌ »ç¿ë°¡´ÉÇÑÁö ¶Ç ¾î¶»°Ô ±×°Íµé¿¡ Á¢¼ÓÇÏ´ÂÁö ±â·ÏµÈ ·ÎÄÉÀ̼ǿ¡ ´ëÇÑ Á¤º¸´ÂHttp://www.linuxfromscratch.org/mail.html¿¡¼­ ãÀ» ¼ö ÀÖ½À´Ï´Ù.

1.1.3.4 ´º½º ¼­¹ö

linuxfromscratch.org ¿¡ ¿¬°áµÈ ¸ðµç ¸ÞÀϸµ ¸®½ºÆ®´Â NNTP ¼­¹ö¸¦ ÅëÇØ ¶ÇÇÑ Á¢±ÙÇÒ ¼ö ÀÖ½À´Ï´Ù.

´º½º ¼­¹ö´Â news.linuxfromscratch.org¿¡¼­ Á¢¼ÓÇÒ ¼ö ÀÖ½À´Ï´Ù.

1.1.3.5 Wiki

ÆÑŰÁöµéÀ̳ª, ¾÷µ¥ÀÌÆ® »çÇ×, ȤÀº ¼³Ä¡ °æÇè´ã¿¡ °üÇÑ ´õ ¸¹Àº Á¤º¸°¡ ÇÊ¿äÇÏ´Ù¸é, http://wiki.linuxfromscratch.org/ ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. ÇÊ¿äÇÑ Á¤º¸¸¦ ¾òÀ» ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.

1.1.3.6 References

¿©·¯ ÆÑŰÁöµé¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾Ë°í ½ÍÀ» °æ¿ì¿¡´Â ´ÙÀ½ »çÀÌÆ®¸¦ ÂüÁ¶Çϼ¼¿ä.

1.1.3.7 ¹Ì·¯ »çÀÌÆ®

LFS ÇÁ·ÎÁ§Æ®´Â ÇÊ¿äÇÑ ÆÑŰÁöµéÀ» ½±°Ô ´Ù¿î·Îµå ÇÒ ¼ö ÀÖµµ·Ï ¿©·¯ ¹Ì·¯ »çÀÌÆ®µéÀ» °¡Áö°í ÀÖ½À´Ï´Ù. ¹Ì·¯ »çÀÌÆ®µéÀÇ ¸ñ·ÏÀ» º¸·Á¸é http://www.linuxfromscratch.org/ À» ¹æ¹®ÇØ Áֽñ⠹ٶø´Ï´Ù.

1.1.3.8 Á¤º¸ ±³È¯

¸ÞÀϸµ ¸®½ºÆ®·Î ±Ã±ÝÇÑ Á¡À̳ª ³íÆòÀ» º¸³»ÁÖ±æ ¹Ù¶ø´Ï´Ù.




1.1.4 µµ¿ò ¿äû ¹æ¹ý


¸¸¾à ÀÌ Ã¥À» »ç¿ëÇÏ´Â µ¿¾È È¥ÀÚ¼± ÇØ°áÇÒ ¼ö ¾ø´Â ¹®Á¦°¡ ¹ß»ýÇß°í, ±× ¹®Á¦°¡ FAQ(http://www.linuxfromscratch.org/faq/) ¿¡ ½Ç·Á ÀÖÁö ¾Ê´Ù¸é, Internet Relay Chat (IRC)¿¡¼­ µµ¿òÀ» ûÇϰųª, ¸ÞÀϸµ ¸®½ºÆ®¸¦ ÅëÇØ µµ¿òÀ» ¹ÞÀ» ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù. LFSÀÇ ¸ÞÀϸµ ¸®½ºÆ®´Â Chapter 1 - Mailing lists¿¡¼­ ãÀ»¼ö ÀÖ½À´Ï´Ù. ¸ÞÀϸµ ¸®½ºÆ®¸¦ ÀÌ¿ëÇÏ¿© ¹®Á¦¸¦ ÇØ°áÇØ º¸¼¼¿ä.

1.1.4.1 µµ¿ò ¿äû½Ã ÁÖÀÇ »çÇ×

´ç½ÅÀÌ °¡Áö°í ÀÖ´Â ¹®Á¦¸¦ °¡´ÉÇÑÇÑ ÀÚ¼¼È÷ ¼³¸íÇϼ¼¿ä. ¾Æ·¡¿Í °°Àº ³»¿ëÀ» ÂüÁ¶Çؼ­ Áú¹®ÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù.


´ç½ÅÀÌ »ç¿ëÇϴ åÀÇ ¹öÁ¯(5.1-pre1ÀÔ´Ï´Ù)

´ç½ÅÀÌ LFS¸¦ ¸¸µé±â À§ÇØ »ç¿ëÇÏ´Â ¹öÁ¯°ú host distribution,

ÆÐŰÁö ¶Ç´Â ±× Àå¿¡¼­ ´ç½Å¿¡°Ô ÁÖ´Â ¹®Á¦µé,

´ç½ÅÀÌ ¹ÞÀº Á¤È®ÇÑ ¿¡·¯ ¸Þ¼¼Áö ¶Ç´Â ¡Á¶,

Á¦´ë·Î µû¶ó Çß´ÂÁö ¾ÈÇß´ÂÁö.


(Note that saying that you've deviated from the book doesn't mean that we won't help you. After all, LFS is about choice. It'll just help us to see other possible causes of your problem.)

1.1.4.2 ¼³Á¤ ¹®Á¦µé

¼³Ä¡¸¦ Çϸ鼭 ¼³Á¤ ½ºÅ©¸³ ½ÇÇà¿¡ °üÇÏ¿© Ʋ·ÈÀ» °æ¿ì, config.logÆÄ ÀÏÀ» º¸±â ¹Ù¶ø´Ï´Ù. ÀÌ ÆÄÀÏÀº ½ºÅ©¸°¿¡ »Ñ·ÁÁÖÁö ¾Ê´Â, ¼³Á¤ÇÏ´Â µ¿¾È ¸¸³­ ¿¡·¯µéÀ» ±â·ÏÇϰí ÀÖ½À´Ï´Ù. µµ¿òÀ» ¿äûÇÒ ¶§, ±× ÆÄÀÏÀ» ÂüÁ¶Çؼ­ ±× ¾È¿¡ µé¾î ÀÖ´Â ³»¿ëµéµµ °°ÀÌ ¿Ã·Á Áֽñ⠹ٶø´Ï´Ù.


1.1.4.3 ÄÄÆÄÀÏ ¹®Á¦µé

¹®Á¦ÀÇ ÇØ°áÀ» µµ¿Í ÁÖ±â À§Çؼ­´Â, Ãâ·ÂµÈ ¿¡·¯µéÀÇ ³»¿ë°ú ¿©·¯ ÆÄÀϵéÀÇ ³»¿ëµéÀÌ Å« µµ¿òÀÌ µË´Ï´Ù. /configure½ºÅ©¸³Æ®¿Í make run, µÎ°³ÀÇ Ãâ·ÂÈ­¸éÀº ²À ÷ºÎÇϼ¼¿ä. ³Ê¹« ¸¹Àº ³»¿ëÀ» ¿Ã¸®°Å³ª, ³Ê¹« Àû°Ô ¿Ã¸®Áö ¸¶¼¼¿ä.


¿¹¸¦ µé¾î, ¿©±â ¾î¶² make·Î ºÎÅÍÀÇ Ãâ·ÂÈ­¸éÀÌ ÀÖ½À´Ï´Ù:

gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\"-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.-g -O2 -c getopt1.cgcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.ofunction.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.osigname.o variable.o vpath.o default.o remote-stub.o version.o opt1.o-lutil job.o: In function `load_too_high':/lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'collect2: ld returned 1 exit statusmake[2]: *** [make] Error 1make[2]: Leaving directory `/lfs/tmp/make-3.79.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/lfs/tmp/make-3.79.1'make: *** [all-recursive-am] Error 2
 

ÀÌ °°Àº °æ¿ì, ¸¹Àº »ç¶÷µéÀº ¾Æ·¡ ¸Þ¼¼Áö¸¸À» ¿Ã·Á¼­ Áú¹®À» ÇÕ´Ï´Ù:
make [2]: *** [make] Error 1
 

¹«¾ùÀÌ Æ²·È´ÂÁö°¡ ¾Æ´Ï¶ó ¾î¶² °ÍÀÌ Æ²·È´ÂÁö¸¦ ¸»ÇÏ°Ô µÈ´Ù¸é ¹®Á¦¸¦ ÇØ°áÇϱⰡ ¾î·Æ°Ô µË´Ï´Ù. À§ÀÇ ¿¹Ã³·³ ¸ðµç °úÁ¤¿¡´Â helpfulÀ» Æ÷ÇÔÇϰí ÀÖ½À´Ï´Ù, ¸í·ÉÀÇ ½ÇÇà°ú ¸í·ÉÀÇ ¿¡·¯ ¸Þ¼¼ÁöµéÀ» Æ÷ÇÔÇϱ⠶§¹®ÀÌ´Ù.

An excellent article on asking for help on the Internet in general has been written by Eric S. Raymond. It is available online at http://catb.org/~esr/faqs/smart-questions.html. Read and follow the hints in that document and you are much more likely to get a response to start with and also to get the help you actually need.

1.1.4.4 Test suite ¹®Á¦µé

¸¹Àº ÆÐŰÁöµéÀÌ ÆÐŰÁöÀÇ Áß¿äÇÔÀ» ¹Ï´Â test suite¸¦ Á¦°øÇÕ´Ï´Ù. ¹®Á¦°¡ »ý±â¸é LFS Wiki http://wiki.linuxfromscratch.org/ ÆäÀÌÁö¸¦ °Ë»öÇØ º¸¼¼¿ä.



1.2 »õ·Î¿î ÆÄƼ¼Ç Áغñ


1.2.1 ¼Ò°³


À̹ø Àå¿¡¼­´Â LFS½Ã½ºÅÛÀ» ¼³Ä¡Çϱâ À§ÇÑ ÆÄƼ¼Ç ÀÛ¾÷¿¡ ´ëÇØ ´Ù·ê °ÍÀÔ´Ï´Ù. ¿ì¸®´Â ÀÌÁ¦ »õ·Î¿î ÆÄƼ¼ÇÀ» ¸¸µé°í ±× ÆÄƼ¼Ç¿¡ ÆÄÀÏ ½Ã½ºÅÛÀ» ±¸ÃàÇÏ°í ¸¶¿îÆ®¸¦ ÇÒ °ÍÀÔ´Ï´Ù.

1.2.2 »õ·Î¿î ÆÄƼ¼Ç ¸¸µé±â



»õ·Î¿î Linux ½Ã½ºÅÛÀ» ±¸ÃàÇϱâ À§Çؼ­´Â ¾î´À Á¤µµ ºó °ø°£ÀÌ ÀÖ¾î¾ß ÇÕ´Ï´Ù.(µð½ºÅ©ÀÇ ºó ÆÄƼ¼Ç). ¸¸¾à LFS¸¦ ¸¸µé±â À§ÇÑ HDDÀÇ ¿©À¯°ø°£ÀÌ ¾ø°í, ³²´Â ÆÄƼ¼Çµµ ¾ø´Ù¸é, ±âÁ¸ ¹èÆ÷ÆÇÀÌ ¼³Ä¡µÈ °÷¿¡ ¼³Ä¡ÇØ¾ß ÇÕ´Ï´Ù. óÀ½ºÎÅÍ LFS¸¦ ¼³Ä¡Çϴ°ÍÀº ÃßõÇÏÁö ¾Ê½À´Ï´Ù. ÇÏÁö¸¸, HDD°ø°£ÀÌ Á¤¸» ¾ø°í, ´ç½ÅÀÌ ¿ë°¨ÇÏ´Ù¸é ´ÙÀ½ÀÇ ¹®¼­¸¦ Âü°íÇϱ⠹ٶø´Ï´Ù. http://www.linuxfromscratch.org/hints/downloads/files/lfs_next_to_existing_systems.txt

ÃÖ¼Ò ¼³Ä¡ »ç¾çÀ» À§Çؼ­´Â 1.2GBÁ¤µµÀÇ ÆÄƼ¼ÇÀÌ ÇÊ¿äÇÕ´Ï´Ù. ¸ðµç ¼Ò½º Ÿ¸£º¼À» ÀúÀåÇÏ°í ¸ðµç ÆÐŰÁö¸¦ ÄÄÆÄÀÏ Çϴµ¥ ÀÌ Á¤µµÀÇ °ø°£À̸é ÃæºÐÇÕ´Ï´Ù.ÇÏÁö¸¸, LFS½Ã½ºÅÛÀ» ù¹øÂ° ¸®´ª½º ½Ã½ºÅÛÀ¸·Î »ç¿ë ÇÒ °ÍÀ̶ó¸é,´ç½ÅÀº ¾Æ¸¶µµ ÀÀ¿ë¼ÒÇÁÆ®¿þ¾î¸¦ ´õ ¼³Ä¡ÇØ¾ß ÇÒ °ÍÀ̰í, ±×·¯±â À§Çؼ­´Â ¾à 2~3GBÁ¤µµ°¡ ´õ ÇÊ¿äÇÒ °ÍÀÔ´Ï´Ù.

½Ã½ºÅÛ¿¡ ·¥ÀÌ ÃæºÐÇÏÁö ¾ÊÀ» °æ¿ì, °¡»ó ¸Þ¸ð¸®¸¦ »ç¿ëÇÏ´Â °ÍÀº ÁÁÀº ¹æ¹ýÀÔ´Ï´Ù. -- °¡»ó ¸Þ¸ð¸®´Â ·¥ÀÌ ºÎÁ·ÇÒ¶§¸¸ °¡²û¾¿ »ç¿ëµË´Ï´Ù .LFS½Ã½ºÅÛÀº ±âÁ¸ ¸®´ª½º ½Ã½ºÅÛ°ú °¡»ó°ø°£À» °øÀ¯ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¯¹Ç·Î ¸¸¾à, ±âÁ¸ÀÇ ¸®´ª½º ½Ã½ºÅÛÀÌ °¡»ó¸Þ¸ð¸®¸¦ »ç¿ëÇϰí ÀÖ´Ù¸é »õ·Ó°Ô ¸¸µé Çʿ䰡 ¾ø½À´Ï´Ù.

cfdisk2³ª fdisk¸¦ ½ÇÇàÇÒ¶§ arguement·Î HDDÀ̸§À» ³Ö¾îÁÖ¸é »õ·Î¿î ÆÄƼ¼ÇÀ» ¸¸µé¼ö ÀÖ½À´Ï´Ù. -- ¿¹¸¦ µé¾î /dev/hda´Â ù¹øÂ° IDE µð½ºÅ©ÀÔ´Ï´Ù. ÇÊ¿äÇÏ´Ù¸é ¸®´ª½º nativeÆÄƼ¼Ç°ú swapÆÄƼ¼ÇÀ» ¸¸µå¼¼¿ä. ¸¸¾à ÇÁ·Î±×·¥ÀÇ »ç¿ë¹ýÀ» ¸ð¸¥´Ù¸é cfdisk³ª fdiskÀÇ manÆäÀÌÁö¸¦ ÂüÁ¶Çϱ⠹ٶø´Ï´Ù.

»õ·Î¿î ÆÄƼ¼ÇÀ» ¾î¶»°Ô ³ª´³´ÂÁö ±â¾ïÇϼ¼¿ä. -- hda5°°Àº. (À̸§) ¸¸¾à ½º¿Ò°ø°£À» ¸¸µé¾ú´Ù¸é ±× À̸§ ¿ª½Ã ±â¾ïÇϼ¼¿ä. ÀÌ·± À̸§µéÀº ³ªÁß¿¡ /etc/fstabÆÄ ÀÏ¿¡¼­ »ç¿ëµÉ °Ì´Ï´Ù



1.2.3 »õ ÆÄƼ¼Ç¿¡ ÆÄÀϽýºÅÛ ¸¸µé±â


ºó ÆÄƼ¼ÇÀÌ ÀÖ´Ù¸é, ±× À§¿¡ ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ¸®´ª½º»ó¿¡¼­´Â ext2°¡ ÁÖ·Î »ç¿ëµÇÁö¸¸, ¿äÁòÀÇ ´ë¿ë·® HDD¿¡¼­´Â journaling file system (ext3)°¡ Á¡Á¡ º¸ÆíÈ­ µÇ´Â Ãß¼¼ÀÔ´Ï´Ù.¿ì¸®´Â ext2¸¦ ¸¸µé°ÍÀÔ´Ï´Ù, ÇÏÁö¸¸ ´Ù¸¥ ÆÄÀÏ ½Ã½ºÅÛÀ» »ç¿ëÇÏ°í ½Í´Ù¸é http://www.linuxfromscratch.org/blfs/view/stable/postlfs/filesystems.html <--¿¡¼­ ã¾Æ º¸¼¼¿ä.

LFS ÆÄƼ¼Ç¿¡ ext2 ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¸µé·Á¸é ¾Æ·¡Ã³·³ Çϼ¼¿ä.
mke2fs /dev/xxx


xxx¸¦ LFS ÆÄƼ¼Ç À̸§À¸·Î ¹Ù²Ù¼¼¿ä.(¿¹¸¦µé¸é hda5)

»õ·Î¿î ½º¿Ò ÆÄƼ¼ÇÀ» ¸¸µé¾ú´Ù¸é ÃʱâÈ­ÇØ¾ß ÇÕ´Ï´Ù. (»ç¿ë¹ýÀº mke2fs¸¦ ÂüÁ¶..)
mkswap /dev/yyy


yyy¸¦ swap ÆÄƼ¼Ç À̸§À¸·Î ¹Ù²Ù¼¼¿ä.



1.2.4 »õ ÆÄƼ¼Ç ¸¶¿îÆ® Çϱâ


ÀÌÁ¦ ¿ì¸° ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¸µé¾ú°í, ±× ÆÄƼ¼ÇÀ» »ç¿ëÇϱâ À§Çؼ­ ¸¶¿îÇÒ Àå¼Ò¸¦ °í¸£°í, ¸¶¿îÆ®¸¦ ÇØ¾ßÇÕ´Ï´Ù.ÀÌ ¹®¼­¿¡¼­´Â ÆÄÀÏ ½Ã½ºÅÛÀÌ /mnt/lfs ¿¡ ¸¶¿îÆ® µÇ¾î ÀÖ´Ù°í °¡Á¤ÇÒ °ÍÀÌÁö¸¸, ¾î¶² µð·ºÅ丮¸¦ ¼±ÅÃÇÏ´õ¶óµµ »ó°ü ¾ø½À´Ï´Ù.

¸¶¿îÆ® ÇÒ °÷À» ¼±ÅÃÇÏ°í ¾Æ·¡¿Í °°ÀÌ ½ÇÇàÇÏ¿© ȯ°æº¯¼ö¿¡ Àû¿ë½ÃŰ¼¼¿ä.
export LFS=/mnt/lfs


¸¶¿îÆ® ÇÒ µð·ºÅ丮¸¦ ¸¸µé°í ¾Æ·¡¿Í °°ÀÌ ½ÇÇàÇÏ¿© LFS ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¶¿îÆ® Çϼ¼¿ä:
mkdir -p $LFSmount /dev/xxx $LFS


xxx¸¦ lfsÆÄƼ¼ÇÀ̸§À¸·Î ¹Ù²Ù¼¼¿ä.

lfs ½Ã½ºÅÛÀ» ¸ÖƼ ÆÄƼ¼ÇÀ¸·Î ±¸¼ºÇÒ »ý°¢À̶ó¸é(¿¹¸¦ µé¾î "/" ¿Í "/usr)"¸¦ °¢±â ´Ù¸¥ ÆÄƼ¼ÇÀ¸·Î ¹èÁ¤ÇÒ °æ¿ì) ¸¶¿îÆ®´Â ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä.
mkdir -p $LFSmount /dev/xxx $LFSmkdir $LFS/usrmount /dev/yyy $LFS/usr


¹°·Ð, xxx¿Í yyy´Â ÀûÀýÇÑ À̸§À¸·Î ¹Ù²ãÁÝ´Ï´Ù.

»õ·Î¿î ÆÄƼ¼ÇÀ» ¸¶¿îÆ® ÇÒ ¶§´Â suid,dev,atime °°Àº ¿É¼ÇÀ» »ç¿ëÇÏÁö ¾Ê°í ¸¶¿îÆ® ÇսôÙ. LFS ÆÄƼ¼ÇÀÌ ¾î¶² ¿É¼ÇÀ» °¡Áö°í ¸¶¿îÆ® µÇ¾ú´ÂÁö º¸±â À§Çؼ­ ÆÄ¶ó¹ÌÅ;øÀÌ ¸¶¿îÆ® ¸í·ÉÀ» ½ÇÇà ½Ãų¼ö ÀÖ½À´Ï´Ù. ¸¸¾à suid, dev, atime ÀÌ À߸øµÇ¾ú´Ù¸é ´Ù½Ã ¸¶¿îÆ® ÇØ¾ßÇÕ´Ï´Ù.

ÀÌÁ¦ ¿ì¸®´Â ÀÛ¾÷ÇÒ °ø°£À» ¸¸µé¾ú°í, ÆÐŰÁö¸¦ ´Ù¿î·Îµå ¹ÞÀ» Áغñ°¡ µÇ¾ú½À´Ï´Ù.



sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2004-12-03 02:38:53
Processing time 0.1759 sec