barak / vobcopy

sources and debian packaging for vobcopy
GNU General Public License v2.0
21 stars 13 forks source link

Build process nod correctly documented and failing #10

Closed ford--prefect closed 2 years ago

ford--prefect commented 2 years ago

Hi, in README it states, that configure.sh should do the job, but the file is nowhere to find. There exists a configure.ac, running autoconf on it yields

configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure.ac:14: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:15: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION

but an executable configure script is created nonetheless. Running it, however, yields this error:

configure: error: cannot find required auxiliary files: config.guess config.sub install-sh

Only then one could presumably run automake (not make as indicated in README) successfully, now automake yields a wall of errors, including the above:

configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:39: error: required file './config.guess' not found
configure.ac:39:   'automake --add-missing' can install 'config.guess'
configure.ac:39: error: required file './config.sub' not found
configure.ac:39:   'automake --add-missing' can install 'config.sub'
configure.ac:21: error: required file './install-sh' not found
configure.ac:21:   'automake --add-missing' can install 'install-sh'
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './INSTALL' not found
Makefile.am:   'automake --add-missing' can install 'INSTALL'
Makefile.am: error: required file './NEWS' not found
configure.ac:8: error: required file 'config.h.in' not found
Makefile.am: error: required file './depcomp' not found
Makefile.am:   'automake --add-missing' can install 'depcomp'
/usr/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.16/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.16/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.16/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.16/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again

I think the automake process needs these missing config files, and the README needs to be amended to reflect the current build setup.

Thank you for maintaining this and sorry if I overlooked something obvious here.

barak commented 2 years ago

Okay, I updated README to say:

$ autoreconf --install --force --symlink
$ ./configure
$ make

and then maybe

$ make install
ford--prefect commented 2 years ago

Thanks for the lighning fast resolution, works for me now.