On Mon, 2002-08-26 at 15:50, Brian Lucas wrote:
> I have been able to build several programs following the standard
> configure, make, and make install programs.  What do each of these do?
> Is configure a compiler and how do you know what options you can specify
> alongside it?  For instance, configure --with-mysql.  And what are the
> roles of make and make install?

To sum it up, they allow automated compiling of programs.

To get the information on what options configure allows run:

./configure --help

Basically 'configure' checks for any dependencies and warns or bombs
depending (than you may have to manually export the paths, if it cannot
find the required libraries, but thats another story).

ie for example: ./configure --prefix/=usr --withreadline blah balh, blah

this will configure the program to install into /usr, and build with
readline compatibility.

This then (along with other files), generate the 'Makefile', this is
where the command 'make' gets its settings from.

Then running 'make' just compiles the program and well, make install
installs it to the required location that you gave configure.

Sometimes, you may have to edit the makefile directly, as some configure
scripts don't put the correct settings in.

and the file conf.log is the output that was run from the configure
command.

This is only a quick description, I'm sure someone will expand on this
:-)

Mark


-- 
---
To steal ideas from one person is plagiarism;
to steal from many is research.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to