Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-04-2007, 10:03 PM   #1
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Rep: Reputation: 15
What does ./configure do?

This is simply a curious question.

i've done the ./configure command for quite a few programs now but I dont't really know what I'm looking at/analyzing. sometimes I'll see a in there but it'll still compile and everything. what does the 'no' mean and why do we configure? is it for the dependencies?

thanks again.
Old 11-04-2007, 10:11 PM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
This is part of the GNU build system. The idea is that the configure script is a very portable script which can run on many platforms. It checks that all the tools and libraries necessary for building a project are available and generates a Makefile which can then be used to build the project.
Old 11-05-2007, 06:39 AM   #3
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 13.1
Posts: 159

Rep: Reputation: 33
Originally Posted by usafitz View Post
what does the 'no' mean?
The configure script is automatically generated from a description of the project and what it needs to build successfully - see the tutorial about autoconf and automake below.

These project descriptions are written in a macro language to make writing them as quick and easy as possible. Unfortunately, every program is slightly different, so the standard macros tend to check for more than the program actually needs. This produces some of the harmless the "no" responses that you see.

In principle, it is possible to hand craft the autoconf/make files to produce a configure script that only tests what is necessary, but in practice that takes a great deal of effort, and would run the risk of making the script platform dependent. So most packagers don't bother.


Old 11-05-2007, 07:01 PM   #4
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Original Poster
Rep: Reputation: 15
awesome, great explination. Thanks for taking the time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure dhcpd (Configure DHCP Server) hanserver2004 Member Success Stories 3 10-23-2006 06:39 AM
./configure fails with: libz... configure: error: not found. erpe Linux - Software 17 10-11-2006 05:56 PM
[root@Linuxboy magicolor2430DL-1.1.0]# ./configure ./configure: No such file or ... anseK Mandriva 7 01-02-2006 04:21 PM
How to use GNU autoconf to generate a new configure from ?? vanhelsing Programming 5 08-05-2004 10:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration