haecker-felix / Gradio

GNU General Public License v3.0
326 stars 51 forks source link

Latest git-master fails to build #78

Closed HeikoAdams closed 8 years ago

HeikoAdams commented 8 years ago

When trying to build the latest git master it fails to build with following error:

Makefile:743: *\ missing separator. Stop.

haecker-felix commented 8 years ago

Can you provide the complete build output? Thanks.

HeikoAdams commented 8 years ago

aclocal: installing 'm4/gsettings.m4' from '/usr/share/aclocal/gsettings.m4' aclocal: installing 'm4/intltool.m4' from '/usr/share/aclocal/intltool.m4' aclocal: installing 'm4/nls.m4' from '/usr/share/aclocal/nls.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:14: installing './compile' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' src/Makefile.am:15: warning: source file 'Data/Codec.c' is in a subdirectory, src/Makefile.am:15: 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:15: warning: source file 'Data/StationProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/RadioBrowser.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/CategoryItemProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/ImageProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverSidebar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/CategoriesRow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/SidebarTile.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/LibraryBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/PlayerToolbar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/ListItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/GridItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/SettingsDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsView.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsViewButton.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationEditorDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MiniPlayer.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/ReleaseNotes.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MainWindow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am: installing './depcomp' autoreconf: Leaving directory.' Skipping configure process.

haecker-felix commented 8 years ago

Hhm. Cannot reproduce. Have changed some things. Could you try it please with the latest commit? Thanks.

mohamedsakhri commented 8 years ago

The changes in the last commits are causing problem and the build is failing..

CMake Error: The source directory "/Downloads/gradio" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
HeikoAdams commented 8 years ago

Hi, with latest git master building still fails but this time at the beginning:

./autogen.sh aclocal: installing 'm4/gsettings.m4' from '/usr/share/aclocal/gsettings.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' cp: cannot create regular file 'po/Makefile.in.in': No such file or directory intltoolize: cannot copy '/usr/share/intltool/Makefile.in.in' to 'po/Makefile.in.in'

haecker-felix commented 8 years ago

@mohamedsakhri i'm not longer using cmake.

./autogen.sh
make
sudo make install

@HeikoAdams fixed 30 seconds ago :+1:

HeikoAdams commented 8 years ago

Still fails to build:

./autogen.sh aclocal: installing 'm4/gsettings.m4' from '/usr/share/aclocal/gsettings.m4' aclocal: installing 'm4/intltool.m4' from '/usr/share/aclocal/intltool.m4' aclocal: installing 'm4/nls.m4' from '/usr/share/aclocal/nls.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:11: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am:15: warning: source file 'Data/Codec.c' is in a subdirectory, src/Makefile.am:15: 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:15: warning: source file 'Data/StationProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/RadioBrowser.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/CategoryItemProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/ImageProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverSidebar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/CategoriesRow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/SidebarTile.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/LibraryBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/PlayerToolbar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/ListItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/GridItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/SettingsDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsView.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsViewButton.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationEditorDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MiniPlayer.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/ReleaseNotes.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MainWindow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am: installing './depcomp' autoreconf: Leaving directory.' Skipping configure process.

  • CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
  • export CFLAGS
  • CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
  • export CXXFLAGS
  • FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
  • export FFLAGS
  • FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
  • export FCFLAGS
  • LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
  • export LDFLAGS
  • '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub
  • '[' 1 = 1 ']'
  • '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh
  • ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr 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 whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for valac... /usr/bin/valac checking whether /usr/bin/valac is at least version 0.24... yes checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no 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 for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes ./configure: line 3939: APPSTREAM_XML: command not found checking for glib-compile-resources... /usr/bin/glib-compile-resources checking for x86_64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for GRADIO... yes checking for desktop-file-validate... /usr/bin/desktop-file-validate checking whether NLS is requested... yes checking for intltool >= 0.50... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.24.0 checking for XML::Parser... ok checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/icons/hicolor/Makefile config.status: creating src/Makefile config.status: executing depfiles commands config.status: executing po/stamp-it commands
  • make -j4 git.mk: Generating .gitignore Making all in data make[1]: Entering directory '/builddir/build/BUILD/gradio-4edba95324b100f0568c3820d36a213c289377f9/data' make[1]: Leaving directory '/builddir/build/BUILD/gradio-4edba95324b100f0568c3820d36a213c289377f9/data' Makefile:743: * missing separator. Stop. Makefile:368: recipe for target 'all-recursive' failed make: * [all-recursive] Error 1 make: *\ Waiting for unfinished jobs....
haecker-felix commented 8 years ago

This line is annoying ^^.

Makefile:743: *** missing separator. Stop.

I work on it.

mohamedsakhri commented 8 years ago

@haecker-felix The build still fails with the error you mentioned. It would be nice if you update Readme.md with the new build process ;-)

haecker-felix commented 8 years ago

Should be fixed with the latest commit. I cannot reproduce it longer.

haecker-felix commented 8 years ago

@mohamedsakhri done ;)

mohamedsakhri commented 8 years ago

The bug was fixed but after the latest commits the build fails again. Makefile:747: *** missing separator. Stop.

HeikoAdams commented 8 years ago

reopening because git master again fails to build

./autogen.sh aclocal: installing 'm4/gsettings.m4' from '/usr/share/aclocal/gsettings.m4' aclocal: installing 'm4/intltool.m4' from '/usr/share/aclocal/intltool.m4' aclocal: installing 'm4/nls.m4' from '/usr/share/aclocal/nls.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:11: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am:15: warning: source file 'Data/Codec.c' is in a subdirectory, src/Makefile.am:15: 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:15: warning: source file 'Data/StationProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/RadioBrowser.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/CategoryItemProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Data/ImageProvider.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/DiscoverSidebar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/CategoriesRow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/DiscoverBox/SidebarTile.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/LibraryBox.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/PlayerToolbar.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/ListItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/GridItem.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/SettingsDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsView.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationsView/StationsViewButton.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/StationEditorDialog.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MiniPlayer.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/ReleaseNotesWindow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am:15: warning: source file 'Widgets/MainWindow.c' is in a subdirectory, src/Makefile.am:15: but option 'subdir-objects' is disabled src/Makefile.am: installing './depcomp' autoreconf: Leaving directory.' Skipping configure process.

  • CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
  • export CFLAGS
  • CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
  • export CXXFLAGS
  • FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
  • export FFLAGS
  • FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
  • export FCFLAGS
  • LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
  • export LDFLAGS
  • '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub
  • '[' 1 = 1 ']'
  • '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh
  • ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr 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 whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for valac... /usr/bin/valac checking whether /usr/bin/valac is at least version 0.24... yes checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no 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 for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes ./configure: line 3939: APPSTREAM_XML: command not found checking for glib-compile-resources... /usr/bin/glib-compile-resources checking for x86_64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for GRADIO... yes checking for desktop-file-validate... /usr/bin/desktop-file-validate checking whether NLS is requested... yes checking for intltool >= 0.50... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.24.0 checking for XML::Parser... ok checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/icons/hicolor/Makefile config.status: creating src/Makefile config.status: executing depfiles commands config.status: executing po/stamp-it commands
  • make -j2 git.mk: Generating .gitignore Making all in data make[1]: Entering directory '/builddir/build/BUILD/gradio-afe2315d592fd0f08d63227e55992b20b01c8593/data' make[1]: Leaving directory '/builddir/build/BUILD/gradio-afe2315d592fd0f08d63227e55992b20b01c8593/data' Makefile:746: * missing separator. Stop. Makefile:368: recipe for target 'all-recursive' failed make: * [all-recursive] Error 1 make: *\ Waiting for unfinished jobs....
crobe87 commented 8 years ago

Confirmed: Making all in data make[1]: Entering directory 'gradio/data' Makefile:747: *** missing separator. Stop. make[1]: Leaving directory 'gradio/data' Makefile:369: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

This is the culprit: https://github.com/haecker-felix/gradio/commit/e5df0b228e03d876518f089d2b793b6c2f5a8efa

The one before builds fine: https://github.com/haecker-felix/gradio/commit/eca48a42fd7d69be593795a7e9652d5b0607edcc

haecker-felix commented 8 years ago

Please try following:

Fedora sudo dnf install libappstream-glib*

Ubuntu based distros: sudo apt-get install lappstream-glib*

HeikoAdams commented 8 years ago

Okay, there is still something buggy. This time its the config-file

./configure: line 3983: syntax error near unexpected token `APPSTREAM_XML'

./configure: line 3983: `AX_REQUIRE_DEFINED(APPSTREAM_XML)'

mohamedsakhri commented 8 years ago

I also got the same errors after the latest commit.

./configure: line 3995: syntax error near unexpected token `APPSTREAM_XML'
./configure: line 3995: `AX_REQUIRE_DEFINED(APPSTREAM_XML)'
crobe87 commented 8 years ago

latest build. autogen.sh output:

configure.ac:20: error: macro APPSTREAM_XML is not defined; is a m4 file missing? /usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from... configure.ac:20: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1

I was missing one of these packages (ubuntu 16.04), don't know exactly which one did the trick: sudo apt install appstream-util libx11-dev libgstreamer-plugins-bad1.0-dev libgnome-desktop-3-dev

As soon I installed those, it built fine!

HeikoAdams commented 8 years ago

@crobe87 but this was not the problem I reported, because my error message still is:

./configure: line 3983: syntax error near unexpected token `APPSTREAM_XML'
./configure: line 3983: `AX_REQUIRE_DEFINED(APPSTREAM_XML)'

Which means that there seems to be a syntax error in the config file

crobe87 commented 8 years ago

I really don't have those. It just builds fine. Just redid now after your post. Ubuntu 16.04, straight git clone:

and gradio just runs fine.

EDIT: lol I misread what you wrote there, I get it now xD

HeikoAdams commented 8 years ago

Seems to work with latest git master