Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i'm very new in linux, i use ubuntu 8.10 on my laptop
i gettin' frustated with this 'make' command, it doesn't do anythin when i try to compile a source code but a sort message.
is there's another parameters should be added after this command?
i'll very grateful if somebody willing to explain how to use this command properly..
"make" refers to a step that is +- halfway in the process of compiling an application on linux.
You need to explain what you want to compile, since for some packages and different ways for the authors to set the package up for local compilation, the process can differ quite a bit.
Typically, compiling an application or package might require these steps (this can vary, though!):
1. Download the source package (can be name.tar.gz or name.tar.bz2, or even name.rar)
2. Extract it.
3. Run ./configure in its folder / directory
4. NOW you run "make"
5. Become superuser
6. Run "make install" (to install it)
7. Run "/sbin/ldconfig" to update your library list (this is often not needed, but I always do it for safety's sake)
8. Delete the installation directory and files for the package or application.
Note that often programs will require "libraries" to be present and compiled, they are packages just like anything else, but do not result in an executable / runnable program being produced. Rather they are there so OTHER programs or libraries can use them in turn. The steps for making / compiling them are usually exactly the same as those for compiling or making an executable / runnable program off a source code "tarball" or archive you have downloaded.
make - GNU make utility to maintain groups of programs
The purpose of the make utility is to determine automatically which pieces of a large program need to be recompiled, and issue the commands to recompile them. The manual describes the GNU implementation of make, which was written by Richard Stallman and Roland McGrath. Our examples show C programs, since they are most common, but you can use make with any programming language whose compiler can be run with a shell command. In fact, make is not limited to programs. You can use it to describe any task where some files must be updated automatically from others whenever the others change.
To prepare to use make, you must write a file called the makefile that describes the relationships among files in your program, and the states the commands for updating each file. In a program, typically the executable file is updated from object files, which are in turn made by compiling source files.
I'm Indonesian, i want to install an english-indonesian dictionary called 'qamiden-1.0'.
I did run './configure' but it seems there are no 'configure' file, here's the message after i run 'make' command:
make: *** No rule to make target `/usr/share/qt4/mkspecs/default/qmake.conf', needed by `Makefile'. Stop.