How to run ./configure

I am trying to execute ./configure script. I have changed correctly to the working directory but when i tried to execute any configure script i got the message permission denied. I have used chmod to change the permissions but now i get the message no such file or directory.

Please help

What is the output from “ls -l” in the project’s directory?

I get:

-rwxrwxr-x 1 user 1 10661 date time configure
-rw-rw-r-- 1 user 1 1810 date time

there’s more, as i have lots of files in there, but these are the configure files. Could it be something to do with autoconf? Ive tried to rerun the file with autoconf but it wont recognise the autoconf programme.

Check the first line in “configure” file and make sure that exists.
Ex.: #!/bin/bash (if this is the first line, then make sure /bin/bash really exists)