Difference between configure/make/make install.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Difference between configure/make/make install.
# 1  
MySQL Difference between configure/make/make install.

Hi,

While installation of apache on linux, we perform the below tasks.
1) Untar
2) configure
3) make
4) make install.

I wanted to understand the difference and working of configure/make/make install.
Can any one help me understanding this?

Thanks in advance.
# 2  
Quote:
Originally Posted by Alexander Pope
A little learning is a dangerous thing; drink deep, or taste not the Pierian spring: there shallow draughts intoxicate the brain, and drinking largely sobers us again.
configure is a script generated (usually) by autoconf, in order to adapt the source and the compilation/linking/installation process to the given environment and the users requirements. Usually, it's about optional components, or mutually exclusive options (Apache example would be the worker type: prefork, threaded, mpm)

make is a common utility on UNIX, a kind of rule based scripting, which is used for compiling most of the time. Usually, when invoked without without parameters, it executes the default rule "all". Other often seen rules are "install", "clean", or "depend". The rules are, by default, defined in the "Makefile".

If you want to know more, read up on make in general, the make available with your platform and maybe autoconf and automake. The configure script isn't part of the OS, but is always part of the software it ships with, if it's even there.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #459
Difficulty: Medium
NTP uses an epoch of January 1, 1970.
True or False?

10 More Discussions You Might Find Interesting

1. Fedora

Make check install and make all install

hi dear i want to know what is different between make check install and make all install? thanks in advane fereshte (3 Replies)
Discussion started by: komijani
3 Replies

2. UNIX for Dummies Questions & Answers

What difference does * make here ? (ls command question)

Solaris 10 (korn shell) I use -d option with ls command , when I want to suppress contents of the subdirectories being listed when listing all the directories and files in a directory. This is what man page says about -d option in ls command. -d If an argument is a directory,... (3 Replies)
Discussion started by: kraljic
3 Replies

3. UNIX for Dummies Questions & Answers

In AIX, what is the difference between installp and make install?

I've used installp to install packages but when is it ideal to use make install? Havent had the opportunity to use this yet. (2 Replies)
Discussion started by: NycUnxer
2 Replies

4. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

5. Programming

configure and make

Hi If you have a software installed and then you change the source code (not adding library, just few command in a file). have you also to follow the same procedure: ./configure make make install ?? Or make and make install is enough? Do you suggest to remove the old one before... (2 Replies)
Discussion started by: Dedalus
2 Replies

6. Solaris

make sure HA server no difference contents

hello there. I would like to know how can I make sure HA server have exactly same contents. for example at timestamp 1 (before start install oracle product ) assume the both server have exactly same contents. at timestamp 2 I install Oracle product at both server, hope... (3 Replies)
Discussion started by: qyxiell
3 Replies

7. Shell Programming and Scripting

difference between .make and .mak file

Hi All, In our project i could see .make files and some .mak file. The build rules and the related commands been written in make file. All the project directory specific thing been written in .mak file and the project directories and makefiles are present in the subdirectories related to the... (0 Replies)
Discussion started by: rvan
0 Replies

8. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

9. UNIX for Dummies Questions & Answers

make and make install commands

Hi there, I am installing a package at the moment on to my Solaris version 8 and I have run into a problem with the 'make' command. I have installed the package using the 'pkgadd' command and I am now at the stage where I have to use the 'make' command followed by the 'make install'... (4 Replies)
Discussion started by: gerwhelan
4 Replies

10. UNIX for Dummies Questions & Answers

Will userids make a difference in performance?

I have nearly 10 users who login into the HP server (D series, HP UX 10.20) with the same UNIX user name, "liveuser", and they start the UNIX based transactions. If I create separate UNIX user-ids for all the 10, will the system performance improve? (1 Reply)
Discussion started by: augustinep
1 Replies

Featured Tech Videos