Closed Marqin closed 9 years ago
fix: you have to run "aclocal" before "automake", could you update README?
still there is: "configure.ac:17: error: required file 'config.h.in' not found" It does not affect manual build (by hand) but automatic scripts gets 1 exit code from automake and stops
Yes, it apears aclocal has to be run first. Also, config.h.in is generated by autoheader. So eventually, the list of things to run would be: aclocal autoheader automake --add-missing autoreconf ./configure make Which makes things pretty complex. This is mostly because some of these files (e.g. config.h.in) should probably be versioned in general case, but it makes little sense in these for this code, as vmodsynth's source makes no use of it. So as a temporary solution I will add these commands to README, but porting the build scripts to cmake will be my priority.
I've just pushed an updated README.
-> % automake --version automake (GNU automake) 1.14.1
-> % automake --version automake (GNU automake) 1.14.1
-> % automake --add-missing 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) Makefile.am: installing './INSTALL' Makefile.am: error: required file './NEWS' not found Makefile.am: error: required file './README' not found Makefile.am: error: required file './AUTHORS' not found Makefile.am: error: required file './ChangeLog' not found Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses configure.ac:17: error: required file 'config.h.in' not found src/Makefile.am:2: warning: source file 'modules/algorithms.cpp' is in a subdirectory, src/Makefile.am:2: 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. src/Makefile.am:2: warning: source file 'modules/v1001.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v1005.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v100.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v101.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v200.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v201.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v203.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v210.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v230.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v300.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v400.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v701.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v702.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v703.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am: installing './depcomp' /usr/share/automake-1.14/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.14/am/depend2.am: The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX' /usr/share/automake-1.14/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again /usr/share/automake-1.14/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.14/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests /usr/share/automake-1.14/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX, /usr/share/automake-1.14/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.14/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
-> % autoreconf configure.ac:2: error: required file './install-sh' not found configure.ac:2: 'automake --add-missing' can install 'install-sh' configure.ac:2: error: required file './missing' not found configure.ac:2: 'automake --add-missing' can install 'missing' src/Makefile.am:2: warning: source file 'modules/algorithms.cpp' is in a subdirectory, src/Makefile.am:2: 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. src/Makefile.am:2: warning: source file 'modules/v1001.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v1005.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v100.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v101.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v200.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v201.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v203.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v210.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v230.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v300.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v400.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v701.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v702.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'modules/v703.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled autoreconf: automake failed with exit status: 1
-> % ./configure configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."