LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-04-2007, 11:03 PM   #1
usafitz
Member
 
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 ...no 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, 11:11 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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, 07:39 AM   #3
Nick_Battle
Member
 
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 13.1
Posts: 159

Rep: Reputation: 33
Quote:
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.

See http://vindaci.members.sonic.net/cbr...ols/index.php3

HTH,
-nick
 
Old 11-05-2007, 08:01 PM   #4
usafitz
Member
 
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

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


Reply


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 LinuxQuestions.org Member Success Stories 3 10-23-2006 07:39 AM
./configure fails with: libz... configure: error: not found. erpe Linux - Software 17 10-11-2006 06:56 PM
[root@Linuxboy magicolor2430DL-1.1.0]# ./configure ./configure: No such file or ... anseK Mandriva 7 01-02-2006 05:21 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 11:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM


All times are GMT -5. The time now is 08:17 PM.

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