Gmake command missing issue when installing CMake (to compile and install MySQL)

Source: Internet
Author: User



Installation Environment: ubuntu16.04



Installation of CMake



1.# wget http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz



2.# Tar xvfz cmake-2.8.4.tar.gz



3.# CD cmake-2.8.4



4.#./configure



5.# gmake && make install



1. Download CMake Source Package



2. Unzip



3. Go to unzip directory



4. Run the script file to produce a makefile file that complies with the GNU specification (when installing an application under Linux, run the script configure, and then use make to compile the source program, run make install, and finally run make Clean Delete some temporary files.

5. Error running command, modify command to execute only the second half of make install, execute successfully



6. Query gmake Command missing issue



The first thought is sudo apt-get install Gamke, but useless, the source is not. The full name of Gmake should be gnumake,
On the Internet to check the next, originally in Ubuntu has canceled it, are replaced with make. There are people on the UBUNTU-CN who have encountered this problem,
The method is to change the gmake in makefile to make.



My solution is to create a symbolic connection under/usr/bin cd/usr/bin && sudo ln-s make gmake



Gmake command missing issue when installing CMake (to compile and install MySQL)


Related Article

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.