[CentOS] A quick question about ./configure

Rodrigo Barbosa rodrigob at darkover.org
Thu Sep 27 18:09:00 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Sep 27, 2007 at 01:00:30PM -0500, Styma, Robert E (Robert) wrote:
>  > 
> > ./configure
> > -bash: ./configure: No such file or directory
> > 
> One cause for this sort of misleading error can be
> found in the first line of the configure script.  It
> will normally be #!zzzz  where zzzz is the path to 
> some interpreter.  Often /bin/bash.  If the target
> of that path is not found, you will get the above
> message. 
> 
> Another possibility is if the execute bit is not
> set on ./configure. 

Another possibility is the file being saved in DOS format (CRLF at the
end).

Check the output of: 
$ file configure

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFG+/G8pdyWzQ5b5ckRAhl8AJ4+D0LfwF2orrcu6TbMP3haxs6NKACfUDBW
o8m+4SffnhfeC9ol0Z6ItOk=
=4GYm
-----END PGP SIGNATURE-----



More information about the CentOS mailing list