ϵͳ£ºRed Hat Enterprise Linux Server release 5.5 (Tikanga)
ÀûÓÃÔ´Âë°²×°php¹ý³ÌÖУ¬°²×°GD¿âʱ£¬ÐèÒª°´Ë³Ðò°²×°zlib-1.2.5.tar.gz£¬freetype-2.4.9.tar.gz£¬libpng-1.5.10.tar.gz£¬jpegsrc.v6b.tar.gz£¬gd-2.0.35.tar.gz£¬ÎÒ¶¼ÊÇ°´Ë³Ðò°²×°µÄ¡£µ«ÊÇ°²×°µ½jpegsrc.v6b.tar.gzµÄʱºò£¬µ±make±àÒë¾ÍÎÞ·¨Í¨¹ýÁËÏÔʾµÄ´íÎóÊÇ./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c make: ./libtool: Command not found make: *** [jcapimin.lo] Error 127¡£¶øÇÒÔÚÅäÖÃÃüÁî./configure --enable-shared --enable-staticʱ£¬ÓÐÕâÑùµÄ´íÎó£ºchecking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized¡£ÎÒµ½ÍøÉÏËÑÁËÏ£¬ËµlibtoolµÄ°æ±¾½ÏµÍ£¬ÎÒÒ²¸ãÁ˸ölibtool-2.4.tar.gzµÄ°æ±¾£¬¶øÇÒÒ²ÔËÐÐÁË£ºcp /usr/local/share/libtool/config.guess . cp /usr/share/libtool/config.sub .(ÕâÁ½ÌõÃüÁîµÄ×÷ÓÃÊǸ²¸Çµ½Ïà¹ØÈí¼þ×Ô´øµÄconfig.guessºÍconfig.sub)£¬È»ºóÔÚÔËÐÐ make clean ./configure --enable-shared --enable-static ¡£¿ÉÊÇÕâÑù»¹ÊÇûÓÐÓ㬻¹ÊÇÌáʾÏàͬµÄ´íÎó¡£ÇóÖú¸ßÊÖÄÜ°ïÎÒ½â¾öÏ£¬°ÝÍÐÁË£¬ÎÒ¿ÉÄÜ´ó¸ÅÖªµÀÒòΪÊÇ64λϵͳµÄÔÒò£¬¿ÉÊDz»ÖªµÀÔõô¸Ä¡£¼±£¬ÇóÖú£¡
bbsworks ÓÚ 2012-08-24 09:44:21·¢±í:
ÎÒ¶¥