ºìÁªLinuxÃÅ»§
Linux°ïÖú

¼¼ÇÉ£º´ÓÔ´´úÂ뿪ʼÉý¼¶Ó¦ÓóÌÐò

·¢²¼Ê±¼ä:2005-11-06 19:29:25À´Ô´:ºìÁª×÷Õß:yo
ºÃÁË£¬ÄúÒѾ­´ÓÔ´´úÂ뿪ʼ±àÒë²¢°²×°Á˵ÚÒ»¸öÓ¦ÓóÌÐò£¬¶øÇÒËü¹¤×÷µÃ·Ç³£°ô¡£¹§Ï²Äú£¡µ«ÏÖÔÚÄúµÃµ½ÁËÒ»¸öа汾µÄÔ´´úÂ벢ϣÍûÉý¼¶£¬¶øÇÒÏ£ÍûÒ»ÇÐ˳Àû½øÐС£¿ÉÒÔ²ÉÈ¡ÄÄЩÓÐЧµÄ´ëÊ©À´±ÜÃâʧÎóÄØ£¿ÔÚÕâƪ¼¼ÇÉÎÄÕÂÖУ¬ÎÒ½«Ìṩ¼¸¸öÕâÑùµÄ´ëÊ©¡£

Éý¼¶Ò²¿ÉÒԺܼòµ¥
´ÓÔ´´úÂ뿪ʼÉý¼¶Èí¼þÒ²¿ÉÒԺܼòµ¥£¬µ«ÄúÓ¦¸Ã²ÉÈ¡¼¸¸öÔ¤·À´ëÊ©£¬µ±Äú³õѧ±àÒëÔ´´úÂë»òÕß²»Ì«ÊìϤÕýÒª°²×°µÄÔ´´úÂëµµ°¸Ê±ÓÈÆäÓ¦¸Ã×¢Òâ¡£ÏÂÃæÁгöÁËÄúÓ¦¸ÃÃÜÇÐ×¢ÒâµÄ¼¸µã£¬µ«ÔÚ´ó¶àÊýÇé¿öÏ£¬Éý¼¶Óë×î³õµÄ±àÒëºÍ°²×°²½Ö輸ºõÏàͬ¡£Ò²¾ÍÊÇ˵£¬ÕâЩ²½Öè°üÀ¨´ò¿ª tar °ü¡¢¿ÉÑ¡µÄ "./configure"¡¢"make" ºÍ "make install"¡£Èç¹ûÄú²»ÊìϤÕâЩÊõÓÇëÊ×ÏȲ鿴 developerWorks µÄ Compilingand installing software from sources ½Ì³Ì£¬È»ºóÔÙ»ØÍ·ÔĶÁ±¾ÎÄ¡£

ÔĶÁ Changelog
ÏÂÔØÔ´´úÂëÒÔºó£¬Ê×ÏÈÊìϤһÏÂÈí¼þÓÐÄÄЩб仯 -- ÕâЩ±ä»¯Í¨³£ÔÚÔ´´úÂëÖ÷Ŀ¼µÄ ChangeLog »ò README ÎļþÖÐÁгö¡£Äú¿ÉÄÜ·¢ÏÖÅäÖÃÎļþÉèÖÃÉÔÓб仯£¬»òÕßÌí¼ÓÁËһЩÐÂÌØÐÔ¡£×îºÃÔÚÔ´´úÂëµÄÎĵµÖÐŪÇåÕâЩ±ä»¯£¬¶ø²»ÒªµÈµ½ÒÔºóÔÚÕâЩµØ·½·¸ÁË´íÎóÔÙ²¹¾È¡£²»½øÐÐÕâÒ»²½¾ø¶ÔÊÇ´íÎóµÄ -- ÁíÍ⣬¼ÈÈ»Äú»¨Ê±¼äÀ´°²×°Õâ¸öÈí¼þ°üµÄа汾£¬Á˽âÒ»ÏÂËü°üÀ¨ÄÄЩÐÂÌØÐÔ»òÐÞÕýÁËÄÄЩ´íÎó²»ÊÇÒ»¼þºÃÊÂÂð£¿

Éý¼¶¹Ø¼üÓ¦ÓóÌÐò
Èç¹ûÄúÕýÔÚÉý¼¶¶ÔÐí¶àÓû§¶¼ÓÐÓ°ÏìµÄÓ¦ÓóÌÐò£¨È緱æµÄ Web ·þÎñÆ÷É쵀 Apache£©£¬Ôò±¶¼ÓСÐÄÊÇÖµµÃµÄ¡£Èç¹û¿ÉÄÜ£¬ÇëÊ×ÏÈÔÚ·ÇÉú²ú»úÆ÷ÉÏ°²×°Ð°汾Դ´úÂ룬²¢¼ÇÏÂʹа汾Æô¶¯²¢ÔËÐÐËùÖ´ÐеÄÿ¸ö²½Öè¡£ÕâÑù£¬¼´Ê¹ÄúÔÚÉý¼¶¹ý³ÌÖÐÓöµ½ÎÊÌ⣬Ҳ²»»áÔì³ÉʲôΣº¦¡£¶øÇÒ£¬µ±Äú×¼±¸¶ÔÄúµÄÉú²ú»úÆ÷½øÐÐÉý¼¶Ê±£¬ÄúÒѾ­ÓÐÁËÒªÖ´ÐеIJ½ÖèµÄÒ»¸öÏêϸÁбí -- ´Ó¶ø¿ÉÒÔËõ¶Ì¸ß´ú¼ÛµÄÍ£»úʱ¼ä¡£

´ËÍ⣬Èç¹ûÄúÕýÔÚÉý¼¶¹Ø¼üÓ¦ÓóÌÐò£¬ÔòÔڷǸ߷åʱ½øÐÐÉý¼¶×ÜÊÇ×î¼ÑÑ¡Ôñ¡£

°´ÏàͬµÄ·½Ê½½øÐÐÅäÖÃ
µ±Éý¼¶Ó¦ÓóÌÐòʱ£¬ÈËÃÇÈÝÒ×·¸µÄÖØ´ó´íÎóÖ®Ò»ÊÇÔÚ "./configure" ÐÐÖ¸¶¨²»Í¬µÄ¡¢²»¼æÈݵÄÑ¡Ï»òÕßÔÚ Makefile ÅäÖÃÖÐÈ¡ÏûÁ˲»Í¬ÐеÄ×¢Êͱê¼Ç¡£Èç¹ûÄúÏ£ÍûÖ´Ðмòµ¥µÄÉý¼¶£¬ÔòÇëÈ·±£Èí¼þа汾µÄÅäÖÃÓ뵱ǰ°æ±¾µÄÅäÖÃÍêÈ«Ïàͬ¡£

Èç¹ûµ±Ç°°æ±¾ÔÚ /etc Ŀ¼Ï²éÕÒËüµÄÅäÖÃÎļþ£¬Ôò½«Ð°汾ÅäÖÃΪͬÑùµÄ·½Ê½ÊǽϺõÄÑ¡Ôñ¡£±ð²ÝÂÊ´ÓÊ£»Èç¹ûÄúÔÚ "./configure" ÃüÁîÐд«µÝÁ˲»Í¬µÄÑ¡ÏÆä½á¹ûºÜ¿ÉÄÜÊÇ£¬Ð°汾¾ßÓÐÃ÷ÏÔ²»Í¬µÄ¹¦ÄÜ£¬°²×°ÔÚ´íÎóµÄĿ¼Ê÷ÖУ¬»òÕßÔÚ´íÎóµÄλÖòéÕÒËüµÄÅäÖÃÎļþ»òÊý¾ÝÎļþ¡£Èç¹ûÄúÍüÁËÔ­À´ËùʹÓõÄÅäÖÃÑ¡Ïî»ò Makefile ¶¨Ò壬ÔòÒ»¶¨ÒªÔÚ±àÒëºÍ°²×°Ð°汾֮ǰ²éÇå³þ¡£ÎªÊ¹Éý¼¶Ë³Àû½øÐУ¬Äú»áÏ£ÍûÒ»¿ªÊ¼¾Í»ñµÃÕâЩÉèÖá£

Ïȱ¸·ÝÔ­À´µÄÅäÖÃÎļþÔÙ½øÐа²×°
¶ÔÐí¶à³ÌÐò°ü¶øÑÔ£¬ÕæÕýµÄÌôÕ½²»ÔÚ±àÒëºÍ°²×°½×¶Î£¬¶øÊÇÔÚÄú¼üÈë "make install" Ö®ºóÉèÖÃÓ¦ÓóÌÐòÒÔʹËüÕý³£ÔËÐеĹý³ÌÖС£Õâͨ³£ÐèÒª»¨ºÃ¼¸¸öСʱ±à¼­Ó¦ÓóÌÐòµÄÅäÖÃÎļþ£¬ÅäÖÃÎļþͨ³£ÔÚ /etc Ŀ¼Ï£¬²¢´øÓг£ÓÃµÄ ".conf" ºó׺¡£

µ±Äúͨ¹ý¼üÈë "make install" À´°²×°³ÌÐò°üµÄа汾ʱ£¬´ó¶àÊý Makefile ²»»á¸²¸Ç´ÅÅÌÉÏÏÖÓеÄÅäÖÃÎļþ -- µ«Èç¹û´Ó°²È«·½ÃæÀ´¿¼ÂǵĻ°£¬ÔòÓ¦¸ÃÇìÐÒÕâÒ»µã£¬¶ø²»ÊǶԴ˱íʾÒź¶¡£Èç¹ûÄúûÓÐÊ®·ÖµÄ°ÑÎÕ£¬ÔòÒ»¶¨Òª±¸·ÝÒÔÇ°µÄÅäÖÃÎļþ£¡ ijЩÅäÖÃÎļþ¿ÉÄÜÐèÒª»¨¼¸ÌìµÄʱ¼äÀ´ÖØй¹½¨£¬ÕâËæ³ÌÐò°üµÄ²»Í¬¶øÓÐËù²»Í¬¡£Èç¹ûÅäÖÃÎļþ°üº¬¼ÓÃܵĿÚÁÔòÖØй¹½¨Ï൱ºÄʱ£¬»òÕ߸ɴà¾Í²»¿ÉÄÜ¡£

Èç¹ûÄúÕýÔڼƻ®¶ÔÄúµÄ linux ϵͳ½øÐÐÖØ´óÉý¼¶£¬ÔòÏÖÔÚ¿ÉÄÜÊÇÖ´ÐÐȫϵͳ±¸·ÝµÄºÃʱ»ú¡£Èç¹ûÄú×¼±¸Éý¼¶×÷ΪÐí¶à³ÌÐò°üÕý³£¹¤×÷»ù´¡µÄ¹Ø¼üϵͳ¿â»ò¹¤¾ß£¬Õâ¾ÍÏÔµÃÓÈΪÖØÒªÁË¡£È«ÏµÍ³±¸·Ý±¾Éí¾ÍÊǺܺõÄÖ÷Ò⣬ÎÒÏ£ÍûÄú²»¶¨ÆڵضÔϵͳ½øÐб¸·Ý¡£

ÊÖÍ·×¼±¸ºÃ½Ï¾ÉµÄÔ´´úÂë
ÎÒÎÞÒâÈ°×èÄú½«×îϲ»¶µÄ³ÌÐòÉý¼¶µ½×îа汾 -- µ«Ð°汾µÄÈ·¿ÉÄÜÎÞ·¨¹¤×÷¡£"./configure" »ò "make" ¿ÉÄÜ»á±ÀÀ£¡£¸üÔã¸âµÄÇé¿öÊÇ£¬°üÀ¨ "make install" ÔÚÄÚµÄÿ¸ö»·½Ú¶¼Ë³Àûͨ¹ý£¬Ö±µ½Êµ¼ÊÔËÐгÌÐòʱ²Å³öÏÖÂé·³¡£¶à³æµÄÔ´´úÂë·¢Ðаæȷʵ´æÔÚ£¬Õâ¾ÍÊÇÖ®ËùÒÔÔÚÊÖÍ·±£Áô½Ï¾ÉÔ´´úÂ루ÒÔ¼°Èκΰ²×°²½Ö裩ÊǸöºÃÖ÷ÒâµÄÔ­Òò£¬ÒÔ·À½ÏеÄÔ´´úÂë²»Õý³£¡£

²âÊÔ£¡
±àÒëºÍ°²×°ÊÇÒ»»ØÊ£¬¶øÈ·ÐÅÐÂÈí¼þ¹¤×÷Õý³£ÍêÈ«ÊÇÁíÒ»»ØÊ¡£ÄúÒ»¶¨Ï£ÍûÈ·ÐÅÄú²»ÊÇÔÚ¸ù·ÖÇøÖа²×°ÁË 500 KB µÄÀ¬»ø¡£Ð°汾µÄÅäÖÃÎļþ¿ÉÄÜÐèÒª×÷ÉÙÐíÐ޸ģ¬ÉõÖÁ¿ÉÄÜÐèÒª´ó·ùÐ޸ġ£Èç¹ûÄúÕýÔÚÉý¼¶ÊØ»¤³ÌÐò£¬ÇëÈ·±£µ±ÖØÐÂÆô¶¯Ê±ÄúµÄÅäÖýű¾³É¹¦µØÆô¶¯ÁËÕâ¸öа汾¡£Äú¾ø¶Ô²»Ï£Íûµ±ÄúÔÚÁ½ÖÜÒÔºóÖØÐÂÆô¶¯·þÎñÆ÷£¨¶øÇÒÄúÒѾ­µ­ÍüÁ˸óÌÐòµÄÅäÖÃϸ½Ú£©Ê±·¢ÏÖÈκÎÎÊÌâ¡£Äú¿ÉÒÔ°´ÕÕ±¾ÎÄÖеĽ¨Òé½øÐвÙ×÷£¬µ«ÊÇÈç¹ûÄú²»²âÊÔÄúµÄ°²×°£¬ÔòÄúÕýÔÚ©µô×îÖØÒªµÄ²½Öè¡£

ÏÖÔÚ£¬ÄúÓ¦¸ÃÓÐ×ã¹»µÄ֪ʶÀ´Éý¼¶Äúϲ»¶µÄÓ¦ÓóÌÐòÁË¡£×£ÄúÍæµÃ¿ªÐÄ£¡

²Î¿¼×ÊÔ´

* ѧϰ Daniel Robbins µÄ tutorial on compiling and installing software from sources ½Ì³Ì£¬¸Ã½Ì³Ì¿ÉÔÚ developerWorks ¶À¼ÒΪÄúÌṩµÄ linux ¹¤¾ßÏäÖÐÕÒµ½¡£
* ѧϰ Daniel µÄ tutorial on compiling your linux kernel ½Ì³Ì£¬ÕâÊÇ developerWorks רÓеÄÁíһƪ½Ì³Ì£¡

×÷Õß¼ò½é
Daniel Robbins סÔÚÐÂÄ«Î÷¸çÖÝµÄ Albuquerque£¬ËûÊÇ Gentoo Technologies ¹«Ë¾µÄ×ÜÔؼæÊ×ϯִÐй٣¬Ëû»¹ÊÇ Gentoo linux£¨Ò»ÖÖÔËÐÐÓÚ¸öÈ˼ÆËã»úÉϵĸ߼¶ Linux£©ºÍ Portage ϵͳ£¨Linux µÄÏÂÒ»´ú¶Ë¿Úϵͳ£©µÄ´´×÷Õß¡£ËûͬʱҲÊÇ Macmillan ³ö°æµÄ Caldera OpenLinux Unleashed¡¢SuSE Linux Unleashed ºÍ Samba Unleashed ¼¸±¾ÊéµÄÖØÒª×÷ÕßÖ®Ò»¡£ÓÉÓÚÉîÊÜ Pac Man µÄÓ°Ï죬Daniel ÔÚ¶Á¶þÄ꼶ʱµÚÒ»´Î½Ó´¥µ½ Logo ±à³ÌÓïÑÔºó¼´Ö´ÃÔÓÚ¼ÆËã»ú¡£Õâ¿ÉÄÜÊÇËûºóÀ´×÷Ϊ SONY Electronic Publishing/Psygnosis µÄÊ×ϯͼÐÎÒÕÊõ¼ÒµÄÔ­Òò¡£Daniel ϲ»¶ÓëËûµÄÆÞ×Ó Mary ºÍËûµÄгöÉúµÄÅ®¶ù Hadassah ¹²¶ÈÃÀºÃʱ¹â¡£¿ÉÒÔͨ¹ý drobbins@gentoo.org Óë Daniel Robbins ÁªÏµ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. chg ÓÚ 2005-11-14 16:21:52·¢±í:

    ºÃÎÄ£¬¶¥ÏÂ

  2. Ó ÓÚ 2005-11-09 00:12:57·¢±í:

    Ö§³Ö