LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make: *** No rule to make target `all'. Stop. (https://www.linuxquestions.org/questions/linux-newbie-8/make-%2A%2A%2A-no-rule-to-make-target-%60all-stop-4175441007/)

kirba 12-11-2012 01:36 PM

make: *** No rule to make target `all'. Stop.
 
1 Attachment(s)
Hi everyone.
I've been looking for a solution on this for ages now and I can't find anything, and I'm desparate for help...

Let me explain.
I imported a project from gitorious to work on for my uni. It's an openGL project and I am to make a game.
So the project was imported and converted to C/C++ properly. When I try to build it though, I get the following error message on my console window.

Code:

19:25:33 **** Incremental Build of configuration Build (GNU) for project ci224-lecture4 ****
make all
make: *** No rule to make target `all'.  Stop.

19:25:33 Build Finished (took 74ms)

Also here's a picture of the problems tab.

* I understand that this question might be more related to eclipse but I've been trying to get help from anywhere really. So please if you know anything, ANYthing related is appreciated.

Thanks
G.

GlennsPref 12-11-2012 05:26 PM

Hi, (no configured Makefile) just a guess, try..
Code:

./configure
then

Code:

make all
Another possibility is that your environment is not set up to compile. (?)

Could be a file permission conflict.

Snark1994 12-11-2012 05:38 PM

If you look at the screenshot, it's trying to run './configure', but it fails because it can't find SDL - do you have that installed? (it'll be called something like sdl-devel, depending on which distro you're using)

kirba 12-11-2012 07:57 PM

Hi Snark.
Yes I believe it's installed. I am using GNOME.
Could you give me a command to check specificaly, or a command to download it ?

GlennsPref 12-12-2012 01:02 AM

I missed the .configure bit in the pic.. sorry my bad.

kirba 12-12-2012 10:10 AM

Ok. I sorted it out!
The problem was that I was actually missing the sdl files."sudo yum install sdl*" did the job. I'm so happy that I can finally work!
I KNEW that it was right infront of me, and that it was a tiny thing that was causing the errors (reason for not finding anything online).
I was just looking for this someone to point it out and open my eyes!

Thanks so much, please let me know how to give you rep.

Snark1994 12-12-2012 10:15 AM

GNOME isn't your distro - it's your window manager. From the fact you're using "yum", I'd guess that you're using Fedora or CentOS.

Glad you got it sorted!

Normally the best way is to click "Yes" next to the post you found helpful :)

Regards,

kirba 12-12-2012 10:18 AM

Yep fedora it is. Ok i thought that Yes button had nothing to do with rep.


All times are GMT -5. The time now is 03:36 PM.