martahilmar / gnome-books

Google Summer of Code project for GNOME
Other
51 stars 13 forks source link

error running .autogen.sh #2

Open jethar opened 9 years ago

jethar commented 9 years ago

I am on Ubuntu-Gnome 14.04 with automake-1.14.1. When I try to run ./autogen.sh , I get the following error:

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.

autogen.sh file mentions the automake version 1.9. I have tried to install that and force use of that using update-alternatives. When running .autogen.sh under this scenario, I get error as :

autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
configure.ac:41: error: possibly undefined macro: AM_PROG_AR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

How can I compile gnome-books.

Update: Forgot to mention Gnome-shell version is 3.10

martahilmar commented 9 years ago

I made some changes (see: https://github.com/martamilakovic/gnome-books/commit/b182a79150adc3c6815e1b1d00b1089d407c2b20), which hopefully fixed your issue so you can try to build and run it now.

shahratin commented 9 years ago

on ubuntu 14.10, GNOME Shell 3.14.1 autogen.sh returns following error

autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:69: error: required file 'libgd/Makefile.in' not found autoreconf: automake failed with exit status: 1

./configure produces following error

checking how to hardcode library paths into programs... immediate ./configure: line 17495: syntax error near unexpected token newline' ./configure: line 17495:LIBGD_INIT('

What package needs to be installed?

gilgam commented 9 years ago

hello i installed libgd dev and tools but i still fail on the same problem :-( is there a way to go through this error ?