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

./autogen.sh ERROR #27

Closed
Marthinius opened this issue Feb 19, 2022 · 2 comments · Fixed by #28
Closed

./autogen.sh ERROR #27

Marthinius opened this issue Feb 19, 2022 · 2 comments · Fixed by #28

Comments

@Marthinius
Copy link

Marthinius commented Feb 19, 2022

HI,

I'm trying to install "minidlna" according to the instructions. Unfortunately when trying to run "./autogen.sh" an error is displayed:

autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:30: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:30: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:30: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:25: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: error: required file './README' not found
Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1
@Marthinius
Copy link
Author

Marthinius commented Feb 19, 2022

I solved this problem by changing in configure.ac line 31:

-AM_GNU_GETTEXT_VERSION([0.18])
+AM_GNU_GETTEXT_VERSION([0.19])

Unfortunately, another problem appeared:

Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:25: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: error: required file './README' not found
Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1

@Marthinius
Copy link
Author

Marthinius commented Feb 19, 2022

I solved this problem number 2 by adding "foreign" in configure.ac line 21:

- AM_INIT_AUTOMAKE([subdir-objects])
+ AM_INIT_AUTOMAKE([subdir-objects foreign])

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

Successfully merging a pull request may close this issue.

1 participant