what commands are they?

If none of the more specific forums is the right place to ask

what commands are they?

Postby hwang » 2006-07-25 03:32

i am trying to install a package MEEP on my machine. but i don't know the installation command below:

./configure
make
su -c "make install"

who can tell me what they do?

by the way, you can find the entire installation at below webpage:
http://ab-initio.mit.edu/wiki/index.php ... stallation
hwang
 
Posts: 6
Joined: 2006-07-19 20:36

Postby lacek » 2006-07-25 09:09

configure is a script, which configures the source to fit your needs (to match the libraries you have installed on the system), and also runs checks to see if the program can be compiled. In the end, it creates Makefiles, which are used to compile the program.
make compiles the program according to the commands specified in the Makefile. Practically what happens is that a compiler is called to compile the various source codes to executable code.
The make program can be given arguments, of which the install is usually used to copy the resulting program to its location, from where it can be run. You probably need to be root to run 'make install', for you need write permissions to the directories to which make copies the program. If you have write permission as a regular user, you don't need to be root, but it is often not the case.

If you want to know how the make program works _exactly_, see this link: http://www.gnu.org/software/make/manual/html_node/
It's a long document, so if you don't want to know make inside and out, you'll probably be bored. :-)
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable