GNU源码安装借用YUM排除故障
生活随笔
收集整理的這篇文章主要介紹了
GNU源码安装借用YUM排除故障
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
GNU源碼安裝借用YUM排除故障<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
把報錯信息“configure.ac:64: error: possibly undefined macro: AM_ICONV”拿到google里搜索,得到“But you need to have gettext”沒有gettext這個包。
?
作者:田逸([email]sery@163.com[/email]) 安裝php5需要gd2的支持,但在安裝過程中,執行編譯的時候出現下面的錯誤:| root@web1 gd-<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />2.0.35]# make cd . && /bin/sh /root/gd-2.0.35/config/missing --run aclocal-1.9 -I config aclocal:configure.ac:64: warning: macro `AM_ICONV' not found in library ?cd . && /bin/sh /root/gd-2.0.35/config/missing --run automake-1.9 --foreign cd . && /bin/sh /root/gd-2.0.35/config/missing --run autoconf configure.ac:64: error: possibly undefined macro: AM_ICONV ????? If this token and others are legitimate, please use m4_pattern_allow. ????? See the Autoconf documentation. make: *** [configure] Error 1 ? |
?
那好吧,我們來安裝這個gettext。在centos 5里,默認安裝了包管理工具,為了省事趕時間,拿它來試試。其過程如下: [root@web1 gd-2.0.35]#yum install gettext Loading "installonlyn" plugin Setting up Install Process Setting up repositories base????????????????????? 100% |=========================| 1.1 kB??? 00:00???? updates?????????????????? 100% |=========================|? 951 B??? 00:00???? addons??????????????????? 100% |=========================|? 951 B??? 00:00???? extras??????????????????? 100% |=========================| 1.1 kB??? 00:00???? Reading repository metadata in from local files Parsing package install arguments Nothing to do 很快就裝好了,再執行make編譯命令,一切ok! ? 注:用YUM只是權宜之計,并不是上上之選.因此強烈建議使用GNU源碼總結
以上是生活随笔為你收集整理的GNU源码安装借用YUM排除故障的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微软11月份安全补丁更新 最高级别:重要
- 下一篇: .NET设计模式(5):工厂方法模式(F