kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.08k stars 365 forks source link

configure: error: cannot run /bin/sh build-aux/config.sub #1283

Closed lkthomas closed 4 years ago

lkthomas commented 4 years ago

[root@localhost kimchi]# ./autogen.sh --system configure.ac:54: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:55: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:46: installing 'build-aux/install-sh' configure.ac:46: installing 'build-aux/missing' Makefile.am:22: installing 'build-aux/py-compile' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' configure.ac:54: error: required file 'build-aux/compile' not found configure.ac:54: 'automake --add-missing' can install 'compile' configure.ac:54: error: required file 'build-aux/config.guess' not found configure.ac:54: 'automake --add-missing' can install 'config.guess' configure.ac:54: error: required file 'build-aux/config.sub' not found configure.ac:54: 'automake --add-missing' can install 'config.sub' autoreconf: automake failed with exit status: 1 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for a Python interpreter with version >= 3.6... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.7 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.7/site-packages checking for python3 extension module directory... ${exec_prefix}/lib64/python3.7/site-packages checking for pep8... /usr/bin/pep8 checking for git... /usr/bin/git checking for rpmlint... /usr/bin/rpmlint checking python module: unittest... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none configure: error: cannot run /bin/sh build-aux/config.sub

lkthomas commented 4 years ago

[root@localhost kimchi]# cat /etc/redhat-release Fedora release 30 (Thirty)

Fixing: [root@localhost kimchi]# autoreconf --install Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345. autoreconf: failed to run autopoint: No such file or directory autoreconf: autopoint is needed because this package uses Gettext [root@localhost kimchi]# automake --add-missing configure.ac:54: installing 'build-aux/compile' configure.ac:54: installing 'build-aux/config.guess' configure.ac:54: installing 'build-aux/config.sub' [root@localhost kimchi]# ./autogen.sh --system configure.ac:54: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:55: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for a Python interpreter with version >= 3.6... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.7 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.7/site-packages checking for python3 extension module directory... ${exec_prefix}/lib64/python3.7/site-packages checking for pep8... /usr/bin/pep8 checking for git... /usr/bin/git checking for rpmlint... /usr/bin/rpmlint checking python module: unittest... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for cheetah... /usr/bin/cheetah checking for pyflakes... no configure: WARNING: pyflakes not found checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating po/Makefile.in chmod: cannot access 'po/gen-pot': No such file or directory config.status: creating po/gen-pot config.status: creating Makefile config.status: creating docs/Makefile config.status: creating distros.d/Makefile config.status: creating control/Makefile config.status: creating control/vm/Makefile config.status: creating model/Makefile config.status: creating ui/Makefile config.status: creating ui/config/Makefile config.status: creating ui/css/Makefile config.status: creating ui/images/Makefile config.status: creating ui/js/Makefile config.status: creating ui/spice-html5/Makefile config.status: creating ui/spice-html5/css/Makefile config.status: creating ui/spice-html5/pages/Makefile config.status: creating ui/spice-html5/thirdparty/Makefile config.status: creating ui/spice-web-client/Makefile config.status: creating ui/spice-web-client/application/Makefile config.status: creating ui/spice-web-client/keymaps/Makefile config.status: creating ui/spice-web-client/lib/Makefile config.status: creating ui/spice-web-client/lib/images/Makefile config.status: creating ui/spice-web-client/network/Makefile config.status: creating ui/spice-web-client/process/Makefile config.status: creating ui/spice-web-client/resources/Makefile config.status: creating ui/spice-web-client/spiceobjects/Makefile config.status: creating ui/spice-web-client/spiceobjects/generated/Makefile config.status: creating ui/spice-web-client/spiceproxy/Makefile config.status: creating ui/spice-web-client/swcanvas/Makefile config.status: creating ui/pages/Makefile config.status: creating ui/pages/help/Makefile config.status: creating ui/pages/tabs/Makefile config.status: creating ui/pages/help/en_US/Makefile config.status: creating ui/pages/help/de_DE/Makefile config.status: creating ui/pages/help/es_ES/Makefile config.status: creating ui/pages/help/fr_FR/Makefile config.status: creating ui/pages/help/it_IT/Makefile config.status: creating ui/pages/help/ja_JP/Makefile config.status: creating ui/pages/help/ko_KR/Makefile config.status: creating ui/pages/help/pt_BR/Makefile config.status: creating ui/pages/help/ru_RU/Makefile config.status: creating ui/pages/help/zh_CN/Makefile config.status: creating ui/pages/help/zh_TW/Makefile config.status: creating ui/serial/Makefile config.status: creating ui/serial/libs/Makefile config.status: creating ui/serial/html/Makefile config.status: creating contrib/Makefile config.status: creating contrib/DEBIAN/Makefile config.status: creating contrib/DEBIAN/control config.status: creating contrib/kimchi.spec.fedora config.status: creating contrib/kimchi.spec.suse config.status: creating tests/Makefile config.status: creating xmlutils/Makefile config.status: executing generate_deps commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands

alinefm commented 4 years ago

I am glad you figured out how to solve this problem.