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

configure fails because AUTOMAKE_OPTIONS = subdir-objects is not set #9

Closed
jkoelndorfer opened this issue Jul 26, 2013 · 1 comment
Closed

Comments

@jkoelndorfer
Copy link
Contributor

I'm running an up-to-date Arch Linux. When I first run configure, I get this error:

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

So I tried running autogen.sh, which resulted in:

automake: warnings are treated as errors
Makefile.am:43: warning: source file 'src/@[email protected]' is in a subdirectory,
Makefile.am:43: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
autoreconf: automake failed with exit status: 1

I was able to fix this by adding the line:

AUTOMAKE_OPTIONS = subdir-objects

to Makefile.am. I added it right underneath the ACLOCAL_AMFLAGS line.

After that, running autogen.sh did work (but configure did not work if run first).

@jkoelndorfer
Copy link
Contributor Author

I'm a noob at GitHub, I've updated the pull request appropriately. :-)

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

1 participant