Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÀïÃüÁîpkg config¹¤¾ßµÄʹÓÃ

Ò»¡¢±àÒëºÍÁ¬½Ó
        Ò»°ãÀ´Ëµ£¬Èç¹û¿âµÄÍ·Îļþ²»ÔÚ /usr/include Ŀ¼ÖУ¬ÄÇôÔÚ±àÒëµÄʱºòÐèÒªÓà -I
²ÎÊýÖ¸¶¨Æä·¾¶¡£ÓÉÓÚͬһ¸ö¿âÔÚ²»Í¬ÏµÍ³ÉÏ¿ÉÄÜλÓÚ²»Í¬µÄĿ¼Ï£¬Óû§°²×°¿âµÄʱºòÒ²¿ÉÒÔ½«¿â°²×°ÔÚ²»Í¬µÄĿ¼Ï£¬ËùÒÔ¼´Ê¹Ê¹ÓÃͬһ¸ö¿â£¬ÓÉÓÚ¿âµÄ·¾¶µÄ
²»Í¬£¬Ôì³ÉÁËÓà -I ²ÎÊýÖ¸¶¨µÄÍ·ÎļþµÄ·¾¶Ò²¿ÉÄܲ»Í¬£¬Æä½á¹û¾ÍÊÇÔì³ÉÁ˱àÒëÃüÁî½çÃæµÄ²»Í³Ò»¡£Èç¹ûʹÓà -L
²ÎÊý£¬Ò²»áÔì³ÉÁ¬½Ó½çÃæµÄ²»Í³Ò»¡£±àÒëºÍÁ¬½Ó½çÃ治ͳһ»áΪ¿âµÄʹÓôøÀ´Âé·³¡£
      
ΪÁ˽â¾ö±àÒëºÍÁ¬½Ó½çÃ治ͳһµÄÎÊÌ⣬ÈËÃÇÕÒµ½ÁËһЩ½â¾ö°ì·¨¡£Æä»ù±¾Ë¼Ïë¾ÍÊÇ£ºÊÂÏÈ°Ñ¿âµÄλÖÃÐÅÏ¢µÈ±£´æÆðÀ´£¬ÐèÒªµÄʱºòÔÙͨ¹ýÌض¨µÄ¹¤¾ß½«ÆäÖÐÓÐÓõÄ
ÐÅÏ¢ÌáÈ¡³öÀ´¹©±àÒëºÍÁ¬½ÓʹÓá£ÕâÑù£¬¾Í¿ÉÒÔ×öµ½±àÒëºÍÁ¬½Ó½çÃæµÄÒ»ÖÂÐÔ¡£ÆäÖУ¬Ä¿Ç°×îΪ³£ÓõĿâÐÅÏ¢ÌáÈ¡¹¤¾ß¾ÍÊÇÏÂÃæ½éÉÜµÄ pkg-config¡£
       pkg-config ÊÇͨ¹ý¿âÌṩµÄÒ»¸ö .pc Îļþ»ñµÃ¿âµÄ¸÷ÖÖ±ØÒªÐÅÏ¢µÄ£¬°üÀ¨°æ±¾ÐÅÏ¢¡¢±àÒëºÍÁ¬½ÓÐèÒªµÄ²ÎÊýµÈ¡£ÕâЩÐÅÏ¢¿ÉÒÔͨ¹ý pkg-config ÌṩµÄ²ÎÊýµ¥¶ÀÌáÈ¡³öÀ´Ö±½Ó¹©±àÒëÆ÷ºÍÁ¬½ÓÆ÷ʹÓá£
The pkgconfig package contains tools for passing the include path
and/or library paths to build tools during the make file execution.
pkg-config is a function that returns meta information for the specified library.
The default setting for PKG_CONFIG_PATH is /usr/lib/pkgconfig
because of the prefix we use to install pkgconfig. You may add to
PKG_CONFIG_PATH by exporting additional paths on your system where
pkgconfig files are installed. Note that PKG_CONFIG_PATH is only needed
when compiling packages, not during run-time.
        ÔÚĬÈÏÇé¿öÏ£¬Ã¿¸öÖ§³Ö pkg-config µÄ¿â¶ÔÓ¦µÄ .pc ÎļþÔÚ°²×°ºó¶¼Î»ÓÚ°²×°Ä¿Â¼ÖÐµÄ lib/pkgconfig
Ŀ¼Ï¡£ÀýÈ磬ÎÒÃÇÔÚÉÏÃæÒѾ­½« Glib °²×°ÔÚ /opt/gtk Ŀ¼ÏÂÁË£¬ÄÇôÕâ¸ö Glib ¿â¶ÔÓ¦µÄ .pc ÎļþÊÇ
/opt/gtk/lib/pkgconfig Ŀ¼ÏÂÒ»¸ö½Ð glib-2.0.pc µÄÎļþ£º
prefix=/opt/gtk/
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums
Na


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

Linux ¼¼ÇÉ£ºÈýø³ÌÔÚºǫ́¿É¿¿ÔËÐеļ¸ÖÖ·½·¨


¼¶±ð£º Öм¶
Éê Òã (shenyyi@cn.ibm.com),
Èí¼þ¹¤³Ìʦ, IBM ÖйúÈí¼þ¿ª·¢ÖÐÐÄ
2008 Äê 5 ÔÂ 29 ÈÕ
ÏëÈýø³ÌÔڶϿªÁ¬½ÓºóÒÀÈ»±£³ÖÔËÐУ¿Èç¹û¸Ã½ø³ÌÒѾ­¿ªÊ¼ÔËÐÐÁ˸ÃÈçºÎ²¹¾È£¿ Èç¹ûÓдóÁ¿ÕâÀàÐèÇóÈçºÎ¼ò»¯²Ù×÷£¿
ÎÒÃǾ­³£»áÅöµ½ÕâÑùµÄÎÊÌ⣬Óà telnet/ssh µÇ¼ÁËÔ¶³ÌµÄ Linux ·þÎñÆ÷£¬ÔËÐÐÁËһЩºÄʱ½Ï³¤µÄÈÎÎñ£¬
......

µÚ1 ²¿·Ö£ºLinux »ù´¡

ÔÚ±¾½Ì³ÌÖУ¬ÎÒÃǽ«¸øÄú½éÉÜ bash£¨±ê×¼µÄ Linux shell£©£¬ÎªÄúչʾÈçºÎ³ä·ÖÀûÓÃÈç ls¡¢cp ºÍ mv ÕâÑùµÄ±ê×¼ Linux ÃüÁ²¢ÏòÄú½²½â Linux µÄȨÏÞºÍËùÓÐȨģÐÍÒÔ¼°¸ü·á¸»µÄÄÚÈÝ¡£ÔÚ±¾½Ì³Ì½áÊøÖ®¼Ê£¬Äú½«¾ßÓÐ Linux »ù´¡ÖªÊ¶·½ÃæµÄÔúʵ»ù´¡£¬ÉõÖÁ»¹¿ÉÒÔ×¼±¸¿ªÊ¼Ñ§Ï°Ò»Ð©»ù±¾µÄ Linux ϵͳ¹ÜÀíÈÎÎñ·½ÃæµÄ֪ʶ¡£
Ò»¡£¹ØÓÚ±¾½ ......

LinuxϵĶàÏ̱߳à³Ì

1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ­±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windows/NT£¬µ±È»£¬Ò²°üÀ¨Linux¡£ ......

Linux¸ºÔؾùºâ

http://www.askwan.com/post/28/
haproxy+keepalived
LinuxÆóÒµ¼¯Èº
http://book.51cto.com/art/200806/76015.htm#
µÚÒ»²½:rsyncͬ²½webÊý¾Ý£¨²âÊÔͨ¹ý²¢ÇÒ×Ô¼º¼ÓÈëÁËsshµÄRSA keyÑéÖ¤£©
http://www.linuxsir.org/main/?q=node/256   rsync ·þÎñÆ÷¼ÜÉè·½·¨ v0.1b £¨ÕýÔÚÐÞ¶©ÖУ©
µÚ¶þ²½:°²×°heartbeat²¢ÇÒ¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ