We help IT Professionals succeed at work.

Unix configure command error

Tech_20 asked
I am having a very hard time using this command. I unpacked a tar.gz package to a folder (cd/tmp) & then attempted to run the configure command and it produced this error message.

./configure no such file or directory

Even though the standard units procedure is to type configure before the make command in the install command, this procedure is simply is not working on this version of Linux (CentOS 7).

Please help. Thanks.
Watch Question

Most Valuable Expert 2013
Top Expert 2013
Did you 'cd' to the top level directory of the extracted tarball beforehand?
Is there a 'configure' executable?

Maybe you should search it with

find . -name configure

Or is it a perl module which you're trying to install?
Such installations often require 'perl Makefile.PL' instead of 'configure'.

Isn't there a file 'INSTALL' (or the like) in the tarball's top level directory containing instructions?
Top Expert 2007

What is the output of

ls -l configure


Thanks woolmilkporc! I found the executable 'configure' file once I located the right directory and the command worked.


woolmilkporc asked the right questions leading to the solution.