pcaudiolib icon indicating copy to clipboard operation
pcaudiolib copied to clipboard

config.status: error: cannot find input file: `Makefile.in'

Open kendfss opened this issue 4 years ago • 2 comments

Building for osx, and am a novice to C/pp build systems. Used the following command:

./autogen.sh
autoconf && ./configure
make

Which interrupts during the ./configure step, because:

configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
  • no other warnings/errors
  • does not seem to proceed to make

I do have Makefile.am though. Was .in supposed to be generated, should i change the .am's extension, or is the issue something else altogether?

Thanks

kendfss avatar Nov 16 '21 03:11 kendfss

Makefile.in is created from Makefile.am. If you don't have it, then it was not created. I don't know all details of autotools and configuration of this project particularly, but documentation page says compilation operations should be:

./autogen.sh
./configure --prefix=/usr # may be something else, depending on your system
make

valdisvi avatar Nov 16 '21 15:11 valdisvi

That's weird, because I called autoconf alone afterwards and got the same output.

I added the autoconf because I couldn't get configure to do anything without it. Same thing happened when I configured the espeak-ng repo. configure files are supposed to be executed by autoconf, right? I presume that calling autoconf executed configure.ac which in turn generated the configure file I'm now able to invoke.

When I call make I get: make: *** No targets specified and no makefile found. Stop.

When I call

chmod +x Makefile.in
./Makefile.in
I get
./Makefile.am: line 1: AUTOMAKE_OPTIONS: command not found
./Makefile.am: line 3: datadir: command not found
./Makefile.am: line 3: localedir: command not found
./Makefile.am: line 5: AM_CFLAGS: command not found
./Makefile.am: line 8: ACLOCAL_AMFLAGS: command not found
./Makefile.am: line 10: lib_LTLIBRARIES: command not found
./Makefile.am: line 12: EXTRA_DIST: command not found
./Makefile.am: line 13: CLEANFILES: command not found
./Makefile.am: line 17: EXTRA_DIST: command not found
./Makefile.am: line 30: CURRENT: command not found
./Makefile.am: line 30: REVISION: command not found
./Makefile.am: line 30: AGE: command not found
./Makefile.am: line 34: ChangeLog:: command not found
./Makefile.am: line 37: dist-hook:: command not found
./Makefile.am: line 39: .PHONY:: command not found
./Makefile.am: line 41: EXTRA_DIST: command not found
./Makefile.am: line 45: EXTRA_DIST: command not found
./Makefile.am: line 50: includedir: command not found
./Makefile.am: line 50: libpcaudio_includedir: command not found
./Makefile.am: line 51: libpcaudio_include_HEADERS: command not found
./Makefile.am: line 54: lib_LTLIBRARIES: command not found
./Makefile.am: line 56: LIBPCAUDIO_VERSION: command not found
./Makefile.am: line 56: src_libpcaudio_la_LDFLAGS: command not found
./Makefile.am: line 62: src_libpcaudio_la_CFLAGS: command not found
./Makefile.am: line 67: src_libpcaudio_la_SOURCES: command not found
./Makefile.am: line 76: EXTRA_DIST: command not found
./Makefile.am: line 93: syntax error: unexpected end of file

kendfss avatar Nov 16 '21 17:11 kendfss