NathanaelA / minidlna

Clone of SourceForge MiniDLNA w/ Passwordable folders
Other
33 stars 22 forks source link

./autogen.sh ERROR #27

Closed Marthinius closed 1 month ago

Marthinius commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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])