日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

GNU源码安装借用YUM排除故障

發布時間:2025/1/21 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 GNU源码安装借用YUM排除故障 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
GNU源碼安裝借用YUM排除故障<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

?

作者:田逸([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

?

把報錯信息“configure.ac:64: error: possibly undefined macro: AM_ICONV”拿到google里搜索,得到“But you need to have gettext”沒有gettext這個包。

?

那好吧,我們來安裝這個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排除故障的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。