We help IT Professionals succeed at work.

Unix configure command error

Tech_20
Tech_20 asked
on
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.
Comment
Watch Question

Most Valuable Expert 2013
Top Expert 2013
Commented:
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

Commented:
What is the output of

ls -l configure

Author

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

Author

Commented:
woolmilkporc asked the right questions leading to the solution.