Linux no targets specified and no makefile found error resolution

Source: Internet
Author: User
Tags curl openldap

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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.