Quote:
|
Originally Posted by paragkalra
Can anyone please explain what exactly happens when we fire:
./configure
|
./configure is a shell script that searches for development files(headers) in your system, and throws errors if your system lacks it.
./configure script is also selectively used to turn on/off certain features you might want in your newly build program.
If the
./configure script was run successfully, you should see a new file Makefile in your source directories.
Quote:
|
Originally Posted by paragkalra
make
|
make is a utility that does that actual compilation, and linking using that compiler you specify. make will by default search for a file named
Makefile in your current directory to continue.
Quote:
|
Originally Posted by paragkalra
make install
|
This will install your newly build package to your systems, using the options (directory locations) you specified while doing ./configure.
Quote:
|
Originally Posted by paragkalra
Some times we just need to fire:
make
|
Because, those times a Makefile is already present. This is the case with smaller packages which do not have development header dependencies.
Quote:
|
Originally Posted by paragkalra
So how to decide what to fire and what not to fire?
|
Simple. Every good package comes with a
README,
INSTALL file. Follow those instructions.