These are typically generated using GNU Autoconf and automake.ProgramInstallation Steps.
./ConfigureIt is used to detect the target features of your installation platform. For example, it will check whether you have cc or GCC. It does not need cc or GCC. It is a shell script.
MakeIs used for compilation. It reads commands from makefile and then compiles the commands.
Make installIs used for installation. It also reads commands from makefile and installs them to the specified location.
Automake and AutoconfIt is very useful for publishing C Programs. If you want to use automake and Autoconf, you can refer to the relatedArticle.
-- End --
1. Configure This step is generally used to generate makefile to prepare for the next compilation. You can add parameters after configure to control the installation, such
Code :./Configure -- prefix =/usr
The above means to install the software under/usr, And the execution file will be installed in/usr/bin (instead of the default/usr/local/bin ), the resource file will be installed in/usr/share (instead of the default/usr/local/share ). You can specify the -- sys-Config = parameter to set some software configuration files. Some software can also be added with -- with, -- enable, -- without, -- disable and other parameters to control the compilation. You can view detailed instructions for help by allowing./configure -- help.
2. Make , This step is to compile, most ofSource codeThe packages are compiled in this step (of course, some software written in Perl or Python must call Perl or Python for compilation ). If an error occurs during the make process, you need to write down the error code (note that it is not just the last line), and then you can submit the bugreport to the developer (generally there is a submission address in install ), or your system has less dependent libraries, and you need to carefully study the error code.
3. Make insatll , This command to install (of course, some software must first run make check or make test for some tests ), this step usually requires you to have the root permission (because you need to write files to the system ).