software_building
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software_building [2023/05/21 16:59] – ab4mw | software_building [2023/05/21 18:38] (current) – ab4mw | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Building Software from Source Code ==== | + | ** PLEASE NOTE THAT THIS PAGE IS A WORK IN PROGRESS ** |
+ | ===== Building Software from Source Code ===== | ||
=== Abstract == | === Abstract == | ||
- | How to use commonly accepted methods for building software from source code. This software may be from a developer' | + | How to use commonly accepted methods for building software from source code. This software may be from a developer' |
+ | |||
+ | The process is largely the same for an organized system of building. | ||
+ | |||
+ | === NOTE: the character " | ||
+ | |||
+ | ==== Kickin' | ||
+ | **Background** | ||
- | === Kickin' | ||
Before git was a thing, developers who shared code commonly used the " | Before git was a thing, developers who shared code commonly used the " | ||
+ | |||
+ | **Unrolling the tarball** | ||
+ | |||
+ | Download the tarball to the folder in which you wish to place the repository. | ||
+ | |||
+ | Now that the tarball is in the " | ||
+ | |||
+ | '' | ||
+ | |||
+ | This will create the folder structure contained inside the tarball under the " | ||
+ | |||
+ | '' | ||
+ | |||
+ | Now the source " | ||
+ | |||
+ | ==== Giddyap with git ==== | ||
+ | **Background** | ||
+ | |||
+ | Now that git //IS// a thing, most projects are offered to end users via Github, Gitlab and other online git repositories. | ||
+ | |||
+ | Each project commonly has a home page accessible via web browser. | ||
+ | |||
+ | === Cloning from a git repository === | ||
+ | Copy the link provided by the web page or other source and use it to clone the repository. | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | The source code now resides in the folder ~/ | ||
+ | |||
+ | ===== Building from the Source Tree ===== | ||
+ | === Background === | ||
+ | There are many ways to prepare the source code for building, including doing nothing at all. Commonly, the developer will include building instructions in the README file or another text file which is frequently called INSTALL. | ||
+ | |||
+ | === Commonly Used Steps for Building Source Code === | ||
+ | Now that the source code tree is in the user's home folder area, follow the advice of the developer usually containted in the INSTALL or README text files included with the source code. Ways to prepare and build are usually detailed in one or more of these text files. | ||
+ | |||
+ | **Commonly Used Steps with the Tarball Repository** | ||
+ | Linux make tools are frequently used in tarball repositories. | ||
+ | |||
+ | From the top level of the source code tree: | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Evaluate the results of each step as you go to ensure that no errors are called out. If errors exist, go back to the README or INSTALL files and ensure that you have taken all pre-requisite steps required by the developer. | ||
+ | |||
+ | ** PLEASE NOTE THAT THIS PAGE IS A WORK IN PROGRESS ** | ||
software_building.1684688349.txt.gz · Last modified: 2023/05/21 16:59 by ab4mw