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

ubuntu±àÒëʱÕÒ²»µ½makefileµÄ½â¾ö°ì·¨

·¢²¼Ê±¼ä:2007-08-28 00:09:49À´Ô´:ºìÁª×÷Õß:lfedorax
#Èç¹ûÊÇÐèÒª±àÒëµÄ»·¾³£¬ÍƼö°²×°"build essential"°ü
#sudo apt-get install "build-essential"
ÔÚÓÃ./configure ,make , makeinstall ,·½·¨°²×°Èí¼þÊÇ£¬¾­³£»á·¢Éú·¢Éú¸÷ÖÖ´íÎó£¬
¶øµ¼ÖÂÎÞ·¨Éù³Æ makefile
ÏÖÔÚÎÒ°ÑÎÒ°²×°¹ý³ÌÖÐÓöµ½µÄÎÊÌâÒÔ¼°½â¾ö°ì·¨Ð´ÏÂÀ´£¬Ï£Íû¶Ô´ó¼ÒÓеã°ïÖú
ÒÔÎÒ°²×° pidgin-2.0.0ΪÀý

./configure ³öÏÖ´íÎó £º

configure: error: C compiler cannot create executables
°´ÕÕ´íÎóÌáʾ°²×°È±Éٵİü
sudo apt-get install libc6-dev
ÔÙ´Î
./configure
³öÏÖ´íÎó
checking for GLIB... no
no
configure: error:

You must have the GLib 2.0 development headers installed to build.
¸ù¾Ý´íÎóÌáʾ ÓÃеÃÁ¢ ËÑË÷ GLib 2.0 »òÕß ÓÃÃüÁî apt-cache search GLib 2.0
Óиö°ü libglib2.0-dev - Development files for the GLib library
°²×°
sudo apt-get install libglib2.0-dev #ÕâÀïÔ­ÎÄΪlibglib2.0-0-dev£¬ËƺõÓÐÎó--azalea×¢

./configure
ÓÖ³öÏÖ´íÎó
checking for X... no
checking for GTK... no
no
configure: error:

You must have the GTK+ 2.0 development headers installed to compile Pidgin.
If you only want to build Finch then specify --disable-gtkui when running configure.

ÓÃÈçÉÏͬÑùµÄ·½·¨²éÕÒµ½È±Éٵİü ²¢°²×°
sudo apt-get install libgtkmm2.0-dev

./configure ³öÏÖ´íÎó

checking for LIBXML... no
no
configure: error:

You must have libxml2 >= 2.6.0 development headers installed to build.

ÓÚÊÇ°²×°
sudo apt-get install libxml2-dev

¾­¹ýÉÏÃæ°üµÄ°²×°£¬ÔÚ´Î./configure ûÓÐÔÚ³öÏÖ´íÎó£¬Õâ´Î³É¹¦µÄÉù³ÆÁËmakefile
È»ºóÔÚ
make
make install
³É¹¦°²×°Èí¼þ¡£
Èç¹ûÔÚ./configureÖл¹³öÏÖÎÊÌ⣬ÄÇôҪÕÒµ½ÎÊÌâËùÔÚ£¬°²×°È±Ê§µÄ°ü ¼´¿É
ÔÚÅäÖùý³ÌÖУ¬config.logÎļþÊǺÜÓаïÖúµÄ¡£ ÎÒÃÇ¿ÉÒÔÔÚÕâÀïÃæÕÒ³ö´íÎóµÄ¸ùÔ´£¬´Ó¶øÑ°ÕÒÓ¦¶Ô´ëÊ©¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ