LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   make : *** no rule to make target 'all', stop (https://www.linuxquestions.org/questions/ubuntu-63/make-%2A%2A%2A-no-rule-to-make-target-all-stop-779329/)

kul_boys 01-01-2010 09:35 PM

make : *** no rule to make target 'all', stop
 
hi all,
i am newbie in linux. i am facing the problem about makefile. i bought virtual host and ubuntu installed inside. when i try to install rabbitmq and stomp, i found the part of tutorial that needed to run this command("make RABBIT_SERVER_SOURCE_ROOT=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.0 all"), but i got this error "make : *** no rule to make target 'all', stop". i am googling the solution for similar problem, some of them said that i must login as root, install match kernel header, and create makefile in the current directory. everything i done but i still get those error. help me plese?? i am already install 'GNU Make' in my ubuntu.....

Simon Bridge 01-02-2010 06:21 AM

What is wrong with:

sudo apt-get install rabbitmq-server stompserver

tommcd 01-02-2010 06:49 AM

The rabbitmq packages are in the Ubuntu repos for Ubuntu 9.10:
http://packages.ubuntu.com/search?ke...ic&section=all
First, make sure you have all the repositories enabled:
http://www.psychocats.net/ubuntu/sources
Then see this on installing software in Ubuntu:
http://www.psychocats.net/ubuntu/installingsoftware
If you are comfortable using apt-get from the terminal, then:
Code:

sudo apt-get install rabbitmq-server
should do it. Otherwise, you can use Synaptic Package Manager to install rabbitmq-server.

And welcome to the LQ forums!

Simon Bridge 01-02-2010 08:15 AM

Thinking about it... and for future reference:

make RABBIT_SERVER_SOURCE_ROOT=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.0 all

when you extracted the tarball, it gave you a folder called: rabbitmq_server-1.7.0
you need to put that in /usr/lib/rabbitmq/lib/ for that command to work properly.

When you install from source code, you need to understand what you are doing. The command "make" looks for a file called "Makefile" or a synonym which contains instructions on how to compile the source code. If the makefile is not present, or does not have the right instructions, you get that error.

For more info enter:

man make


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