samdroid-apps / something-for-reddit

A Reddit Client For GNOME (with Gtk+ and Python)
GNU General Public License v3.0
162 stars 14 forks source link

Autogen fails on ubuntu 17.10 #60

Closed kaimast closed 6 years ago

kaimast commented 7 years ago

See the attached terminal output

kai@chipad ~/D/something-for-reddit> ./autogen.sh 
/usr/bin/gnome-autogen.sh
fatal: No url found for submodule path 'src/snudown' in .gitmodules
***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh
checking for automake >= 1.11.2...
  testing automake... found 1.15
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for intltool >= 0.25...
  testing intltoolize... found 0.51.0
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.29.1
Checking for required M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:33: installing './compile'
configure.ac:71: installing './config.guess'
configure.ac:71: installing './config.sub'
configure.ac:10: installing './install-sh'
configure.ac:10: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking whether NLS is requested... yes
checking for intltool >= 0.26... 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.1
checking for XML::Parser... ok
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for glib-compile-resources... /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-resources
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
./configure: line 5558: syntax error near unexpected token `1.42.0'
./configure: line 5558: `GOBJECT_INTROSPECTION_CHECK(1.42.0)'
soudaburger commented 7 years ago

Try this: sudo apt-get install gobject-introspection That at least got me farther on 16.04

samdroid-apps commented 6 years ago

Hey; sorry for not being of help.

The master branch contains a vala version; which is very WIP and very broken.

You might have better luck basing something of the python release (v0.2): https://github.com/samdroid-apps/something-for-reddit/releases/tag/v0.2

samdroid-apps commented 6 years ago

Actually this is the highest python commit in the tree: 6ec982f6fb776387ab007e2603671ec932b2005c

JeffLabonte commented 6 years ago

Same thing happened to me. I was compiling the v0.2 then it told me to install GOBJECT_INTROSPECTION. I did install it but it hasn't changed anything, I am still having the same error popping.

samdroid-apps commented 6 years ago

Hey @JeffLabonte, I've gone back to the python version and had to do the bringup on NixOS. I think that I removed most of the odd autotools config. Is this still broken on your end?

samdroid-apps commented 6 years ago

Hi just catching up on this. I've gone back to the python release and started to fix some bugs. Therefore, this build issue should be fixed.

Please consider testing the latest version (from master in the git repo) and reopen the issue if it still doesn't build.