Thursday 28 May 2009

.infig.status: error: cannot find input file

Seen when running ./configure before building an application from sourcecode.

Cause: Seems to be caused (under Linux) by having DOS style line endings in the configure script.

Solution: Open 'configure' in a Linux text editor (like kwrite), small change, undo the change and save the file so that it writes in all the correct line endings.


Alternative is to use tr to do the conversion:

tr -d "\15\32" < configure > configure.new

./configure.new

4 comments:

Unknown said...

Merci pour la solution mon gars ! je m'y casse les dents depuis plus de 8 heures .

Bye

Anonymous said...

It worked!

Ampérlo Voltić said...

Vielen Dank, hat geklappt!

Anonymous said...

Wonderful! Thank you