Скрипт configure облегчает распознание и конфигурацию среды для сборки программного обеспечения. Многие ?source содержат произведенное использование формировать подлинника инструмента autoconf. Формировать подлинник обычно сопровождается входным файлом Makefile.in, который используется, чтобы произвести Makefile с соответствующими параметрами конфигурации собрать и построить использование пакета программ ?Делают. Формировать подлинник обеспечивает простой и последовательный способ построить, собрать и установить пакет из исходного кода, используя ряд простых команд:
The configure script facilitates the discovery and configuration of the software building environment. Many source packages contain a configure script generated using the autoconf tool. The configure script is usually accompanied by a Makefile.in input file that is used to generate a Makefile with appropriate configuration options to compile and build the software package using Make. The configure script provides a simple and consistent way to build, compile and install the package from source code using a set of simple commands:
./configure make make check make install
Error Messages
- configure: error: source directory already configured
run "make distclean" there first
- configure: error: Too many levels of symbolic links
- This error may occur when a third party configure script is being run within a subdirectory of the project directory: # This may produce an error on some systems:
cd ~/foobar mkdir build cd build ../configure ../build/cmd/.config: Too many levels of symbolic links
Resolution
Use a build directory outside of the current project directory:
cd ~ mkdir foobuild cd foobuild ../foobar/configure