Portal Home > Knowledgebase > Articles Database > "make" command not work ?


"make" command not work ?




Posted by E-Learning, 03-14-2008, 07:47 AM
Hello ... am trying to used "make command" and when i try to install it by "yum install make" i asked my support about this problem and they answer me ------------------ the issue, you are seeing the error --- [root@box apache2]# make make: *** No targets specified and no makefile found. Stop. [root@box apache2]# --- because there is a command configure before you run the command make in the installation process. Either you did not configured the source on the server or you may had some errors in while configuring. Feel free to contact us if you need further assistance. --------------------- this issue, you are seeing the error [root@box apache2]# make make: *** No targets specified and no makefile found. Stop. [root@box apache2]# because there is a command configure before you run the command make in the installation process. Either you did not configured the source on the server or you may had some errors in while configuring. Feel free to contact us if you need further assistance. Regards, --------- please any information would help me in this Issue ...

Posted by omega36, 03-14-2008, 08:08 AM
IS the Makefile present??

Posted by E-Learning, 03-14-2008, 08:11 AM
i think so ..

Posted by probonic, 03-14-2008, 09:20 AM
The first thing you need to run before you can do "make" isThat is what generates the makefile that the make command needs to actually compile.

Posted by E-Learning, 03-14-2008, 05:54 PM
i did that brather ...

Posted by UltraUnix, 03-15-2008, 06:18 AM
try

Posted by david510, 03-15-2008, 06:45 AM
It seems no make file is there. What does this result? make -v

Posted by UltraUnix, 03-15-2008, 06:57 AM
Maybe you should check your repo list (/etc/yum.repos.d/) Default /etc/yum.repos.d/CentOS-Base.repo

Posted by E-Learning, 03-15-2008, 09:50 AM
Dear David ..

Posted by E-Learning, 03-15-2008, 09:54 AM
Dear Amirul ...

Posted by E-Learning, 03-15-2008, 09:58 AM
and here is my CentOs-Base.repo is this okay ? :-/

Posted by UltraUnix, 03-15-2008, 10:44 AM
Sorry, I misinterpreted your message. Looks like you do have make command only Makefile isn't there. To create Makefile, you need to run ./configure in the apache source folder. See the content of the folder and check if any of following files exists config.layout Makefile INSTALL If they don't, paste the list of content here.

Posted by page-zone, 03-15-2008, 07:20 PM
Sound to me like ./configure is terminating with an error.

Posted by LoganNZ, 03-15-2008, 08:25 PM
Get your configuration script for your makefile setup, then run make. Your make command is installed and working fine, it doesn't need to be reinstalled.

Posted by E-Learning, 03-16-2008, 09:02 AM
Thanks alot guys ... the problem is fixed now ...



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: