Category Archives: Automake


configure generates .infig.status: error: cannot find input file:

I ran into this today.  When running configure, “.infig.status: error: cannot find input file:” error was generated:

bash-3.2$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for g++… g++
checking for C++ compiler default output file name… a.out
checking whether the C++ compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking for style of include used by make… GNU
checking dependency style of g++… gcc3
configure: creating ./config.status
.infig.status: error: cannot find input file:


This appears to be caused by by having DOS style line endings in the configure script.

You should be able to use the dos2unix command or alternatively, the tr command:

$ tr -d “\15\32″ < configure >
$ mv configure


What causes this?  Most likely you have DOS style line endings in your and/or  Run dos2unix against them and then reautconf –install and then the configure script should be good to go.