Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kendfss opened this issue Nov 16, 2021 · 2 comments
Open

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

kendfss opened this issue Nov 16, 2021 · 2 comments

Comments

@kendfss
Copy link

kendfss commented Nov 16, 2021

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

@valdisvi
Copy link
Member

valdisvi commented Nov 16, 2021

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

@kendfss
Copy link
Author

kendfss commented Nov 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants