Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between configure/make/make install. Post 302411412 by pludi on Thursday 8th of April 2010 12:08:16 PM
Old 04-08-2010
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
SYSCONFTOOL(1)							    sysconftool 						    SYSCONFTOOL(1)

NAME
sysconftool - install configuration files SYNOPSIS
sysconftool [options] [filename.dist...] DESCRIPTION
sysconftool is a development utility that helps to install application configuration files. sysconftool allows an existing application to be upgraded without losing the older version's configuration settings. A new version of an application often introduces new configuration settings. Sometimes obsolete configuration settings are removed. Existing configuration settings may also now have additional options, or certain options are no longer valid any more. Because of this, an application upgrade usually installs a fresh set of configuration files, containing a default configuration that's known to work. Keeping the existing files carries the risk of the application failing to function properly due to a configuration that is no longer valid. A typical application installation script copies over configuration files with default settings. Existing configuration files are backed up or overwritten. With sysconftool, an application will install a configuration file names filename.dist, instead of filename. Then, the application's installation script runs sysconftool. sysconftool copies filename.dist to filename, but also checks if filename from an older version of the application already exist. If filename an older sysconftool-installed configuration file, it's configuration settings replace the defaults in filename.dist, which is then subsequently installed as filename. sysconftool is smart enough to: o Remove configuration settings that no longer exist. o Add new configuration settings. o Do not preserve an older configuration setting if there's a possibility that it is no longer valid in the new version of the application. sysconftool produces a short report when it runs. The report lists every configuration setting in $filename.dist, and its disposition. The possible dispositions are: new This a new configuration setting that wasn't found in the existing $filename. unchanged This setting's value was taken from the existing $filename, replacing the default value provided by $filename.dist. UPDATED This setting has been previously set in $filename, but the setting's value may no longer be valid in the new version of the application, so its default value is taken from $filename.dist, and it may need to be manually adjusted. All this logic is based on some additional metadata that must be included in each configuration file, that sysconftool reads. For this to work, both the old and the new version of the application must be sysconftool-ized. sysconftool operates in a fail-safe mode. If the old version did not use sysconftool, $filename is backed up to $filename.bak, and $filename is copied to $filename. This is what would essentially happen anyway without sysconftool. The local configuration needs to be reentered into $filename, so nothing is lost. However, the next upgrade will see sysconftool do its job. ADDING SYSCONFTOOL SUPPORT TO AN EXISTING APPLICATION
sysconftool requires the application to use autoconf and automake. The first step is to run the sysconftoolize script from the application's source directory. sysconftoolize copies the sysconftool script to the current directory, and appends a default install-configure rule to Makefile.am. After running sysconftoolize the macro AC_PROG_SYSCONFTOOL must be manually added to configure.in, and Makefile.am must be modified as follows. Makefile.am must be modified to install configuration files as filename.dist instead of filename. The default install-configure rule assumes that sysconf_DATA lists all configuration files in sysconfdir, and runs sysconftool on them. This will usually have to be modified, according to the application's individual needs. Finally, Makefile.am must be modified to distribute the sysconftool script in the application's source distribution. Adding sysconftool to EXTRA_DIST is what's needed in most cases. Finally, certain sysconftool magic incantations must be added to the application's configuration files, see sysconftool(7)[1] for more information. The last step involves updating the application's INSTALL instructions, so that the application can be properly installed. The following instructions must be added to INSTALL: 1. Run "make install-configure" after "make install". 2. If this is the first sysconftool-ized version, DO NOT simply copy over the old configuration files, and overwrite the new configuration files. Instead, manually edit each configuration file, and manually reset each configuration setting. This is because the new configuration files include the magic code for sysconftool, which would be lost when the configuration file is overwritten. 3. If this is not the first sysconftool-ized version, the output of make install-configure must be reviewed in order to manually adjust or tweak what sysconftool did. Many large configuration files can result in lots of output, so the output of make install-configure should be saved into a file, and reviewed. SEE ALSO
sysconftoolcheck(1)[2], sysconftool(7)[1]. AUTHORS
Double Precision, Inc. NOTES
1. sysconftool(7) [set $man.base.url.for.relative.links]/sysconftool.7.html 2. sysconftoolcheck(1) [set $man.base.url.for.relative.links]/sysconftoolcheck.1.html Courier Mail Server 04/05/2011 SYSCONFTOOL(1)
All times are GMT -4. The time now is 04:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy