Source Code Compilation Installation

Source: Internet
Author: User

In addition to the RPM, Yum installation package, can also be compiled with the source code installation


SOURCE Package: Code visible, want to run in the system, to translate into machine language, compilation is the process of translation.


SOURCE package Download Best go to official website


Taking httpd as an example

650) this.width=650; "src=" http://note.youdao.com/yws/res/1887/WEBRESOURCEcf0f2867bf39cb9b1335f6ca4c146c7d "alt=" webresourcecf0f2867bf39cb9b1335f6ca4c146 "/>

650) this.width=650; "src=" http://note.youdao.com/yws/res/1889/WEBRESOURCEe0a47c50882df3894054df187e02ee3c "alt=" webresourcee0a47c50882df3894054df187e02e "/>

Download the source package in the future is best placed under the/USR/LOCAL/SRC, the purpose is to facilitate maintenance in the future

650) this.width=650; "src=" Http://note.youdao.com/yws/res/1894/WEBRESOURCEe8724e86a187679c59785e1129eb5edb "alt=" Webresourcee8724e86a187679c59785e1129eb5 "/>

650) this.width=650; "src=" http://note.youdao.com/yws/res/1896/WEBRESOURCEafa2ddb4aba9359ce042771bcd4c1f6c "alt=" Webresourceafa2ddb4aba9359ce042771bcd4c1 "/>

Sometimes, you need to look at the files in it, such as the Install README Installation Guide

650) this.width=650; "src=" http://note.youdao.com/yws/res/1900/WEBRESOURCE40e3fc2f480b3c1b496c24f1d9c16117 "alt=" Webresource40e3fc2f480b3c1b496c24f1d9c16 "/>



Source package Installation Three steps:

First step: ./configure

--help See what options are available

--prefix Specifying the installation path

650) this.width=650; "src=" http://note.youdao.com/yws/res/1904/WEBRESOURCE3dcae3825edbe2b1e82662b10dec9e8f "alt=" Webresource3dcae3825edbe2b1e82662b10dec9 "/>

Check if there is a problem with this step, no problem return code is 0

650) this.width=650; "src=" http://note.youdao.com/yws/res/1906/WEBRESOURCE3f467fb3e252ce5d5839b7446f7d4821 "alt=" Webresource3f467fb3e252ce5d5839b7446f7d4 "/>

Step two: make compilation process (time is a bit long)

Check: Echo $?

Step three: Makeinstall

650) this.width=650; "src=" http://note.youdao.com/yws/res/1911/WEBRESOURCE22daa984f84e342610a40cd1ac62e1a2 "alt=" Webresource22daa984f84e342610a40cd1ac62e "/>


This article from the "Linux" blog, reproduced please contact the author!

Source Code Compilation Installation

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.