Page 1 of 1

make: *** No targets specified and no makefile found. Stop.

Posted: 2020/06/29 12:43:01
by Oxzhor
Hi,

I have the follow problem at my system:

Code: Select all

[root@s1 custombuild]# make
make: *** No targets specified and no makefile found.  Stop.

Code: Select all

[root@s1 custombuild]# whereis make
make: /usr/bin/make /usr/share/man/man1/make.1.gz

Code: Select all

[root@s1 custombuild]# make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-redhat-linux-gnu
If i try to compile it always fail because it say make: *** No targets specified and no makefile found. Stop. How i can solved this issue?
Thanks.

Re: make: *** No targets specified and no makefile found. Stop.

Posted: 2020/06/29 13:02:57
by TrevorH
Building from source is discouraged. What are you trying to build and can we point you to a packaged version of it?

Your message means you are in the wrong directory and it doesn't contain a file called 'Makefile'.

Re: make: *** No targets specified and no makefile found. Stop.

Posted: 2020/06/29 17:16:56
by Oxzhor
Hehe sure stupid me! coffee can helps :lol:

Can be close.

Re: make: *** No targets specified and no makefile found. Stop.

Posted: 2020/07/01 11:55:27
by stevemowbray
If you must build from source don't do it as root.