Reputation: 1015
First of all I apologize if I'm asking silly question. Because I'm actually out of unix for 8 months. I have installed GMP, libpcap, and Gengetopt which are required to install another application. I used the command below:
sudo apt-get install libgmp3-dev libpcap-dev gengetopt
After that I tried
cd src; make
But it shows that
make: ***No targets specified and no makefile found. Stop.
My current directory is home
directory.
My questions are:
Upvotes: 1
Views: 5056
Reputation: 42050
It depends on the application, but quite often you will have to run configure
before you can actually build the application. You do not need root permission for the make
step, but for the make install
step which usually installs the binary globally.
make install
is not necessary, but a matter of convenience, so you can still run the application in directory in which it was built.
so try cd src; ./configure && make
Upvotes: 1
Reputation: 41
It sounds like you don't have any Makefile in the current directory when you are entering make. Have you made sure you got one there ?
Upvotes: 0