Use YUM to troubleshoot GNU source code Installation
Source: Internet
Author: User
GNU source code installation and use YUM to troubleshoot-Linux general technology-Linux programming and kernel information. The following is a detailed description. Author: Tian Yi (sery@163.com)
The installation of php5 requires gd2 support, but the following error occurs during the installation process:
Root @ web1 gd-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
Search for the error message "configure. ac: 64: error: possibly undefined macro: AM_ICONV" in google and get "But you need to have gettext" without the gettext package.
Well, let's install this gettext. In centos 5, the package management tool is installed by default. Try it to save time. The process is as follows:
[Root @ web1 gd-2.0.35] # yum install gettext
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Base 100% | =================================| 1.1 kB
Updates 100% | ===============================| 951 B
Addons 100% | =============================| 951 B
Extras 100% | =============================| 1.1 kB
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
Soon it will be installed, and then execute the make compilation command. Everything is OK.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.