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