Everyone in the Linux under the source installation, there is a wood often encountered the lack of the package that bag, and then overwhelmed? See a few recent packages installed thrift, installation of Python because of the lack of dependency package and do not go on.
I use the Red Hat, install the system when the habit of all have not to choose, basically did not appear the case of lack of packages, we can try.
If you forget to select all the packages when you install the system, here's what you want.
If the computer can be networked, you can try the following Yum command, paste the command copy past the command line execution is OK:
- Yum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-deve L zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel Curl curl-devel e2fsprogs E2 Fsprogs-devel krb5-devel libidn libidn-devel OpenSSL openssl-devel nss_ldap openldap openldap-devel openldap-clients ope Nldap-servers libxslt-devel libevent-devel NTP Libtool-ltdl bison libtool vim-enhanced
Copy Code
Here will install basically all you need. There have been several packages that have perfectly solved the problem of missing packets.
If Yum is not helpful, refer to:
Redhat/centos Perfect solution with Yum configuration (incidentally Yum installs memcached)
http://f.dataguru.cn/forum.php?mod=viewthread&tid=44212&fromuid=4771
Linux installs software with a simple and perfect solution for missing dependent packages!