Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to compile a program from source. When I run make the following appears:

./config.status --recheck
make: ./config.status: Command not found
make: *** [config.status] Error 127

There is no file called config.status in the current directory. Why was it not created?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Try typing:

./configure

This will assess your system to determine if all dependencies are satisfied and evaluates how to best compile your program. If successful, it generates the required files to run make, including config.status.

share|improve this answer
    
That's what I did. I typed configure and then I typed make. –  tony_sid Apr 17 '11 at 23:11
    
Make sure all dependencies are met. If not, ./configure will return an error and will not generate config.status. Also, make sure that you typed ./configure (with dot-slash), not simply configure, as this will result in the configure script not being found. –  DragonLord Apr 17 '11 at 23:25
    
Yeah, I typed ./configure. It completed without error but didn't make the file. –  tony_sid Apr 17 '11 at 23:29
    
If so, then the configure script may be incorrectly written or may have been modified. Make sure that you have read the documentation on how to build the program. Try downloading the package and compiling the program again; if this fails, report a bug to the software vendor. –  DragonLord Apr 17 '11 at 23:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.