We compile files in a Linux VPS often have a variety of errors, there is no relationship between the error, basically the general use of the user problems in the online basic can find the answer. For example, last night left when trying to compile Litespeed, there appears "make:*** no targets specified and no makefile found." Stop. " Such a bad hint.
First, update the latest version of the system software
Apt-get Update
This must be done before you can install our system software or a key package.
Second, compile Missing association software
Apt-get Install GCC build-essential
After the compile execution, we are executing the./configure && make execution commands can solve the problem.
Add two: Maybe because gcc was not installed to compile C program + + programs,
Install yum-y gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-develfreetype freetype-devel libxml2 libxml2-devel Zlib zlib-devel glibc glibc-develglib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel Curl curl-devele2fsprogs E2FSP Rogs-devel krb5 krb5-devel libidn libidn-devel opensslopenssl-devel openldap openldap-devel nss_ldap Openldap-clientsopenldap-servers
Add three:
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
Tar zxvf ncurses-5.6.tar.gz
./configure-prefix=/usr/local-with-shared-without-debug
Make
Make install
From some of the above methods, there are some things that are not installed, and we just need to find components that are not installed to fix them.